forked from mirrors/nixpkgs
Merge pull request #176458 from Scoder12/pwninit
pwninit: init at 3.2.0
This commit is contained in:
commit
6c2776e8f2
|
@ -11483,6 +11483,12 @@
|
|||
githubId = 59476;
|
||||
name = "Peter Schuller";
|
||||
};
|
||||
scoder12 = {
|
||||
name = "Spencer Pogorzelski";
|
||||
email = "34356756+Scoder12@users.noreply.github.com";
|
||||
github = "scoder12";
|
||||
githubId = 34356756;
|
||||
};
|
||||
scolobb = {
|
||||
email = "sivanov@colimite.fr";
|
||||
github = "scolobb";
|
||||
|
|
35
pkgs/development/tools/misc/pwninit/default.nix
Normal file
35
pkgs/development/tools/misc/pwninit/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, openssl
|
||||
, pkg-config
|
||||
, xz
|
||||
, Security
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "pwninit";
|
||||
version = "3.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "io12";
|
||||
repo = "pwninit";
|
||||
rev = version;
|
||||
sha256 = "sha256-XKDYJH2SG3TkwL+FN6rXDap8la07icR0GPFiYcnOHeI=";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl xz ] ++ lib.optionals stdenv.isDarwin [ Security ];
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
doCheck = false; # there are no tests to run
|
||||
|
||||
cargoSha256 = "sha256-2HCHiU309hbdwohUKVT3TEfGvOfxQWtEGj7FIS8OS7s=";
|
||||
|
||||
meta = {
|
||||
description = "Automate starting binary exploit challenges";
|
||||
homepage = "https://github.com/io12/pwninit";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.scoder12 ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
|
@ -9602,6 +9602,10 @@ with pkgs;
|
|||
|
||||
pwndbg = callPackage ../development/tools/misc/pwndbg { };
|
||||
|
||||
pwninit = callPackage ../development/tools/misc/pwninit {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
pycflow2dot = with python3.pkgs; toPythonApplication pycflow2dot;
|
||||
|
||||
pydf = callPackage ../applications/misc/pydf { };
|
||||
|
|
Loading…
Reference in a new issue