2017-08-31 11:31:19 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, capstone}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ROPGadget";
|
2019-07-16 21:21:17 +00:00
|
|
|
version = "5.8";
|
2017-08-31 11:31:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-07-16 21:21:17 +00:00
|
|
|
sha256 = "184qncm2ss474prphw0xnf7ifkpgj955dzlb2vqq94z6xvf3xyd9";
|
2017-08-31 11:31:19 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|