msfpc: init

This commit is contained in:
Sean Buckley 2021-11-08 00:48:57 -05:00
parent dc329de80b
commit eb6dda4f44
3 changed files with 25 additions and 1 deletions

View file

@ -12,7 +12,8 @@ rec
binaryninja = pkg ./binary-ninja-personal { }; binaryninja = pkg ./binary-ninja-personal { };
commander-x16 = pkg ./commander-x16 { }; commander-x16 = pkg ./commander-x16 { };
gef = pkg ./gef { }; gef = pkg ./gef { };
security-toolbox = pkg ./security-toolbox { inherit gef webshells weevely; }; msfpc = pkg ./msfpc { };
security-toolbox = pkg ./security-toolbox { inherit gef msfpc webshells weevely; };
SpaceCadetPinball = pkg ./SpaceCadetPinball { }; SpaceCadetPinball = pkg ./SpaceCadetPinball { };
stretchy-spaces = pkg ./stretchy-spaces { }; stretchy-spaces = pkg ./stretchy-spaces { };
webshells = pkg ./webshells { }; webshells = pkg ./webshells { };

21
pkgs/msfpc/default.nix Normal file
View file

@ -0,0 +1,21 @@
{ stdenv
, fetchFromGitHub
, metasploit
}:
stdenv.mkDerivation rec {
pname = "msfpc";
version = "2021.01";
src = fetchFromGitHub {
owner = "g0tmi1k";
repo = "msfpc";
rev = "8007ef2142e43dc5e97edf84f40ac012f94a3e8f";
sha256 = "/FNhQcjIEIzB+wRKF2e3eYEnuVrl0egBZvjZidCwvHg=";
};
installPhase = ''
install -D ${src}/msfpc.sh $out/bin/msfpc
sed 's|## msfvenom installed?|PATH="$PATH:${metasploit}/bin"|' -i $out/bin/msfpc
'';
}

View file

@ -13,6 +13,7 @@
, macchanger , macchanger
, masscan , masscan
, metasploit , metasploit
, msfpc
, net-snmp , net-snmp
, nmap , nmap
, openvpn , openvpn
@ -64,6 +65,7 @@ symlinkJoin {
macchanger macchanger
masscan masscan
metasploit metasploit
msfpc
net-snmp net-snmp
nmap nmap
openvpn openvpn