2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2017-08-31 13:31:19 +02:00
|
|
|
, capstone}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ROPGadget";
|
2021-01-22 02:41:09 +01:00
|
|
|
version = "6.5";
|
2017-08-31 13:31:19 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-01-22 02:41:09 +01:00
|
|
|
sha256 = "4c0e56f2ba0aef13b2c8ca286aad663525b92020b11bacd16791f5236247905c";
|
2017-08-31 13:31:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ capstone ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-08-31 13:31:19 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|