add searchploit_rc to home-manager

This commit is contained in:
surtur 2023-08-18 19:23:43 +02:00
parent 73d7c50c2e
commit 6c0cf83d81
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI
2 changed files with 31 additions and 26 deletions

@ -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")

@ -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 = ''