Unverified Commit e322b140 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #185454 from emilytrau/shellnoob

shellnoob: init at unstable-2022-03-16
parents cff945d9 f71d32da
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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;
  };