-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsec_pkg
More file actions
executable file
·90 lines (78 loc) · 1.67 KB
/
sec_pkg
File metadata and controls
executable file
·90 lines (78 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/bin/bash
# read comments and print pkg installing also hyprnoti
sec_pkgs=(
# reverse
gdb
radare2
ghidra
ida-free
ghex
pwndbg-git
python-pwntools
python-tabulate
python-pycryptodome
edb-debugger
binwalk
imhex
binsider
# network
nmap
netcat
wireshark-qt
bind
# exploitation
metasploit
### web ###
burpsuite-pro
ffuf-bin
sqlmap
# recon
theharvester-git
feroxbuster-bin
pdtm-bin
httprobe
gau
athena/gf
waybackurls
waymore
dalfox
amass
403jump-git
subjack
dirsearch
arjun
findomain
assetfinder
sublist3r
subbrute
# screenshot
aquatone
gowitness
# Add more packages here...
)
install() {
for pkg in "$@"; do
yay -S --noconfirm "$pkg"
if [ $? -ne 0 ]; then
echo "$pkg" >> failed_sec_pkgs.log
fi
done
}
write_burp(){
if [ -f /bin/burpsuite-pro ]; then
sudo tee /bin/burpsuite-pro << EOF
exec "$JAVA_HOME/bin/java" --add-opens=java.desktop/javax.swing=ALL-UNNAMED \\
--add-opens=java.base/java.lang=ALL-UNNAMED \\
--add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED \\
--add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED \\
--add-opens=java.base/jdk.internal.org.objectweb.asm.Opcodes=ALL-UNNAMED \\
-javaagent:/media/storage/assets/lostsec.jar \\
-noverify -jar /usr/share/burpsuite-pro/burpsuite-pro.jar
EOF
java -jar /media/storage/assets/lostsec.jar
burpsuite-pro
fi
}
echo "Installing Security testing packages"
install "${sec_pkgs[@]}"
write_burp