blix

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

routersploit.nix (829B)


      1 {lib, stdenv, pkgs, fetchFromGitHub }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "routersploit";
      5   version = "3fd3946";
      6 
      7   src = fetchFromGitHub {
      8     owner = "threat9";
      9     repo = "routersploit";
     10     rev = version;
     11     sha256 = "0j1c6xl5nws8r81847a7jhwjc88aafkq9yby6rczym0mpnyg8i10";
     12   };
     13 
     14   propagatedBuildInputs = with pkgs.python3Packages; [
     15     pkgs.python3 bluepy future requests paramiko pysnmp pycryptodome setuptools
     16   ];
     17 
     18   buildPhase = ''
     19     true
     20   '';
     21 
     22   installPhase = ''
     23     chmod 755 rsf.py
     24     mkdir -p $out/bin
     25     cp -r routersploit rsf.py $out/bin
     26   '';
     27 
     28   meta = with lib; {
     29     homepage = "https://git.causal.agency/catgirl/about/";
     30     license = licenses.bsd3;
     31     description = "Exploitation framework for embedded devices";
     32     platforms = platforms.unix;
     33     maintainers = with maintainers; [ xfnw ];
     34   };
     35 }