From 6c0cf83d81b5ae5192405e599497ab2748bce470 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 18 Aug 2023 19:23:43 +0200 Subject: [PATCH] add searchploit_rc to home-manager --- .searchsploit_rc | 26 -------------------------- home-surtur.nix | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 26 deletions(-) delete mode 100644 .searchsploit_rc diff --git a/.searchsploit_rc b/.searchsploit_rc deleted file mode 100644 index 5b3f55f..0000000 --- a/.searchsploit_rc +++ /dev/null @@ -1,26 +0,0 @@ -##-- Program Settings -progname="$( basename "$0" )" - - -##-- Exploits -files_array+=("files_exploits.csv") -path_array+=("/opt/exploitdb") -name_array+=("Exploit") -git_array+=("https://github.com/offensive-security/exploitdb.git") -package_array+=("exploitdb") - - -##-- Shellcodes -files_array+=("files_shellcodes.csv") -path_array+=("/opt/exploitdb") -name_array+=("Shellcode") -git_array+=("https://github.com/offensive-security/exploitdb.git") -package_array+=("exploitdb") - - -##-- Papers -files_array+=("files_papers.csv") -path_array+=("/opt/exploitdb") -name_array+=("Paper") -git_array+=("https://github.com/offensive-security/exploitdb-papers.git") -package_array+=("exploitdb-papers") diff --git a/home-surtur.nix b/home-surtur.nix index 19d10ed..868a85c 100644 --- a/home-surtur.nix +++ b/home-surtur.nix @@ -618,6 +618,37 @@ in { ''; }; + ".searchsploit_rc" = { + text = '' + ##-- Program Settings + progname="$( basename "$0" )" + + + ##-- Exploits + files_array+=("files_exploits.csv") + path_array+=("''${HOME}/utils/exploit-database") + name_array+=("Exploit") + git_array+=("https://gitlab.com/exploit-database/exploitdb.git") + package_array+=("exploitdb") + + + ##-- Shellcodes + files_array+=("files_shellcodes.csv") + path_array+=("''${HOME}/utils/exploit-database") + name_array+=("Shellcode") + git_array+=("https://gitlab.com/exploit-database/exploitdb.git") + package_array+=("exploitdb") + + + # ##-- Papers + # files_array+=("files_papers.csv") + # path_array+=("''${HOME}/utils/exploitdb-papers") + # name_array+=("Paper") + # git_array+=("https://gitlab.com/exploit-database/exploitdb-papers.git") + # package_array+=("exploitdb-papers") + ''; + }; + ".local/bin/fuzzypassage" = { executable = true; text = ''