routersploit

This commit is contained in:
xfnw 2021-03-06 23:53:02 +00:00
parent b8320aa523
commit a13ad1a078
2 changed files with 16 additions and 4 deletions

2
.gitignore vendored
View file

@ -1,4 +1,6 @@
*.iso *.iso
*.log
result result
result/* result/*

View file

@ -1,4 +1,4 @@
{lib, stdenv, pkgs, fetchFromGitHub }: {lib, stdenv, pkgs, fetchFromGitHub}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "routersploit"; pname = "routersploit";
@ -11,9 +11,19 @@ stdenv.mkDerivation rec {
sha256 = "0j1c6xl5nws8r81847a7jhwjc88aafkq9yby6rczym0mpnyg8i10"; sha256 = "0j1c6xl5nws8r81847a7jhwjc88aafkq9yby6rczym0mpnyg8i10";
}; };
#nativeBuildInputs = [ pkg-config ctags ]; propagatedBuildInputs = with pkgs.python3Packages; [
#buildInputs = [ ncurses libressl man ]; bluepy future requests paramiko pysnmp pycryptodome setuptools
strictDeps = true; ];
buildPhase = ''
true
'';
installPhase = ''
chmod 755 rsf.py
mkdir -p $out/bin
cp -r routersploit rsf.py $out/bin
'';
meta = with lib; { meta = with lib; {
homepage = "https://git.causal.agency/catgirl/about/"; homepage = "https://git.causal.agency/catgirl/about/";