blix

nixos-based pentesting iso
git clone https://xfnw.ttm.sh/git/blix.git
Log | Files | Refs | README

commit a13ad1a07840b37f63e366fb4bdbc8add13b5f68
parent b8320aa5235c26121f88c39a0d02cfb302d58460
Author: xfnw <xfnw@riseup.net>
Date:   Sat,  6 Mar 2021 23:53:02 +0000

routersploit

Diffstat:
M.gitignore | 2++
Mpkgs/routersploit.nix | 18++++++++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)

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