2017-08-31 12:31:19 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, capstone}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ROPGadget";
|
2019-07-16 22:21:17 +01:00
|
|
|
version = "5.8";
|
2017-08-31 12:31:19 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-16 22:21:17 +01:00
|
|
|
sha256 = "184qncm2ss474prphw0xnf7ifkpgj955dzlb2vqq94z6xvf3xyd9";
|
2017-08-31 12:31:19 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ capstone ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tool to search for gadgets in binaries to facilitate ROP exploitation";
|
|
|
|
homepage = "http://shell-storm.org/project/ROPgadget/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ bennofs ];
|
|
|
|
};
|
|
|
|
}
|