2017-08-31 13:31:19 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, capstone}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ROPGadget";
|
2020-01-30 08:26:46 +01:00
|
|
|
version = "6.0";
|
2017-08-31 13:31:19 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-01-30 08:26:46 +01:00
|
|
|
sha256 = "02wgrdrg0s0cr9yjsb4945244m8x8rr8jzxr8h8c6k2na4d17xf4";
|
2017-08-31 13:31:19 +02: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 ];
|
|
|
|
};
|
|
|
|
}
|