Merge pull request #185454 from emilytrau/shellnoob
shellnoob: init at unstable-2022-03-16
This commit is contained in:
commit
e322b14020
2 changed files with 35 additions and 0 deletions
33
pkgs/tools/security/shellnoob/default.nix
Normal file
33
pkgs/tools/security/shellnoob/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenvNoCC, fetchFromGitHub, python3 }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "shellnoob";
|
||||
version = "unstable-2022-03-16";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "reyammer";
|
||||
repo = pname;
|
||||
rev = "72cf49804d8ea3de1faa7fae5794449301987bff";
|
||||
sha256 = "xF9OTFFe8godW4+z9MFaFEkjE9FB42bKWwdl9xRcmEo=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
python3
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 shellnoob.py $out/bin/snoob
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A shellcode writing toolkit";
|
||||
homepage = "https://github.com/reyammer/shellnoob";
|
||||
mainProgram = "snoob";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ emilytrau ];
|
||||
};
|
||||
}
|
|
@ -4485,6 +4485,8 @@ with pkgs;
|
|||
|
||||
shellhub-agent = callPackage ../applications/networking/shellhub-agent { };
|
||||
|
||||
shellnoob = callPackage ../tools/security/shellnoob { };
|
||||
|
||||
sheesy-cli = callPackage ../tools/security/sheesy-cli {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue