From 114fa549889eb35ec02fe0437c795702fb5f59c6 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sun, 3 Oct 2021 18:17:14 -0400 Subject: [PATCH] init webshells --- flake.nix | 1 + modules/security-tools.nix | 1 + pkgs/webshells/default.nix | 12 ++++++++++++ 3 files changed, 14 insertions(+) create mode 100644 pkgs/webshells/default.nix diff --git a/flake.nix b/flake.nix index b448121..053140f 100644 --- a/flake.nix +++ b/flake.nix @@ -10,6 +10,7 @@ commander-x16 = pkgs.callPackage ./pkgs/commander-x16 { }; gef = pkgs.callPackage ./pkgs/gef { }; stretchy-spaces = pkgs.callPackage ./pkgs/stretchy-spaces { }; + webshells = pkgs.callPackage ./pkgs/webshells { }; weevely = pkgs.callPackage ./pkgs/weevely { }; } // (if pkgs.system != "x86_64-linux" then { } else diff --git a/modules/security-tools.nix b/modules/security-tools.nix index 25d4b52..96f3107 100644 --- a/modules/security-tools.nix +++ b/modules/security-tools.nix @@ -46,6 +46,7 @@ in remmina socat thc-hydra + webshells weevely wfuzz diff --git a/pkgs/webshells/default.nix b/pkgs/webshells/default.nix new file mode 100644 index 0000000..a0015a1 --- /dev/null +++ b/pkgs/webshells/default.nix @@ -0,0 +1,12 @@ +{ fetchgit, runCommand }: +let + src = fetchgit { + "url" = "https://gitlab.com/kalilinux/packages/webshells.git"; + "rev" = "kali/1.1+kali7"; + "sha256" = "00hra95dg0f5a0bvdmb1dms15yzbxm39wrw768jd8s4maq6s9pmj"; + }; +in +runCommand "webshells" { } '' + mkdir -p $out/share + ln -s ${src} $out/share/webshells +''