2017-08-31 11:31:19 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, capstone}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ROPGadget";
|
2019-11-13 22:51:20 +00:00
|
|
|
version = "5.9";
|
2017-08-31 11:31:19 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-13 22:51:20 +00:00
|
|
|
sha256 = "0lggiqws4dzq6k6c20l515pmjajl19gymsxfggkv771dv5kr1gbs";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|