-
Notifications
You must be signed in to change notification settings - Fork 0
/
p0st-w4sh_commented.sh
183 lines (170 loc) · 6.77 KB
/
p0st-w4sh_commented.sh
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
#!/bin/bash
hostname=$(hostname)
user=$(whoami)
clear
echo
echo
cat << "EOF"
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
__ ___ _ _ _ _ __
| _| _ __ / _ \ ___| |_ __ _| || | ___| |__ |_ |
| | | '_ \| | | / __| __| _____ \ \ /\ / / || |_/ __| '_ \ | |
| | | |_) | |_| \__ \ |_ |_____| \ V V /|__ _\__ \ | | | | |
| | | .__/ \___/|___/\__| \_/\_/ |_| |___/_| |_| | |
|__| |_| |__|
[p0st-w4sh]:[v]:[1.0.1]
[d3k@t3ss3r4]:[2024]
[hack.the.planet]
[all.your.nekworkz.are.belong.us]
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EOF
read -p $'\n[?]:['$user', Reset monitor link iface and network config?]:[y/n]\n' -r
echo
echo
echo
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
sleep .5
echo -e "\n[O]:[Resetting iface and networking.]"
echo -e "[.]:[...]"
sleep .5
echo -e "\n[x]:[airmon-ng]:[Disabling and resetting monitor link.]"
sudo airmon-ng stop "wlan1mon"
echo -e "[.]:[...]"
sleep 1.5
echo -e "[x]:[airmon-ng]:[Monitor link down.]\n"
sleep .5
echo -e "\n[x]:[Systemctl]:[Restarting dhcpcd.service.]" >&2
echo -e "[.]:[...]"
sudo systemctl restart dhcpcd.service
sleep .5
echo -e "[x]:[Systemctl]:[dhcpcd.service active.]\n" >&2
sleep .5
echo -e "\n[x]:[Systemctl]:[Restarting networking.service.]" >&2
echo -e "[.]:[...]"
sudo systemctl restart networking.service
sleep .5
echo -e "[x]:[Systemctl]:[networking.service active.]\n" >&2
sleep .5
echo -e "\n[x]:[Systemctl]:[Restarting NetworkManager.]" >&2
echo -e "[.]:[...]"
sudo systemctl restart NetworkManager
sleep .5
echo -e "[x]:[Systemctl]:[NetworkManager active.]\n" >&2
sleep 1
clear
echo -e "\n[+]:[cyb3rd3ck '$hostname' is ready to run, '$user'.]\n" >&2
read -p $'\n[?]:[Do you want to deploy another tool?]:\n[y/n]\n' -n 1 -r
echo
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
# For personal config, replace the below options with your preferred names for the tools you want.
read -p $'\n[?]:['$user'Choose your weapon wisely.]:\n[1]:[bettercap]\n[2]:[wifiphisher]\n[3]:[pyphisher]\n[4]:[wifipumpkin3]\n[5]:[routersploit]\n[6]:[BeEF]\n[X]:[Exit]\n' -n 1 -r
echo
case $REPLY in
[1])
# Insert name of tool 1 on next line.
echo -e "\n[+]:[Arming bettercap.]\n" >&2
sleep .5
echo -e "[.]:[...]"
# Insert command to launch desired tool. This would require different paths, depending on aliasing etc.
# PLease note this if you are not a super experienced linux user, using my commands will not work because they rely on MY aliasing in-system.
sudo bettercap
;;
[2])
echo -e "\n[+]:[Arming wifiphisher.]\n" >&2
sleep .5
echo -e "[.]:[...]"
sudo wifiphisher
;;
[3])
echo -e "\n[+]:[Arming pyphisher.]\n" >&2
sleep .5
echo -e "[.]:[...]"
sudo pyphisher
;;
[4])
echo -e "\n[+]:[Arming wifipumpkin3.]\n" >&2
sleep .5
echo -e "[.]:[...]"
sudo wifipumpkin3
;;
[5])
echo -e "\n[+]:[Arming routersploit.]\n" >&2
sleep .5
echo -e "[.]:[...]"
sudo rsf.py
;;
[6])
echo -e "\n[+]:[Arming BeEF]\n" >&2
sleep .5
echo -e "[.]:[...]"
sudo beef-xss
;;
*)
sleep .5
echo -e "\n[x]:[p0st-w4sh]:[Exiting.]\n"
sleep .5
cat << "EOF"
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
__ ___ _ _ _ _ __
| _| _ __ / _ \ ___| |_ __ _| || | ___| |__ |_ |
| | | '_ \| | | / __| __| _____ \ \ /\ / / || |_/ __| '_ \ | |
| | | |_) | |_| \__ \ |_ |_____| \ V V /|__ _\__ \ | | | | |
| | | .__/ \___/|___/\__| \_/\_/ |_| |___/_| |_| | |
|__| |_| |__|
[p0st-w4sh]:[v]:[1.0.1]
[d3k@t3ss3r4]:[2024]
[hack.the.planet]
[all.your.nekworkz.are.belong.us]
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EOF
sleep .5
echo -e "\n[!]:[Hack the Planet!]\n"
;;
esac
else
clear
sleep .5
echo -e "\n[x]:[p0st-w4sh]:[Exiting.]\n"
sleep .5
cat << "EOF"
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
__ ___ _ _ _ _ __
| _| _ __ / _ \ ___| |_ __ _| || | ___| |__ |_ |
| | | '_ \| | | / __| __| _____ \ \ /\ / / || |_/ __| '_ \ | |
| | | |_) | |_| \__ \ |_ |_____| \ V V /|__ _\__ \ | | | | |
| | | .__/ \___/|___/\__| \_/\_/ |_| |___/_| |_| | |
|__| |_| |__|
[p0st-w4sh]:[v]:[1.0.1]
[d3k@t3ss3r4]:[2024]
[hack.the.planet]
[all.your.nekworkz.are.belong.us]
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EOF
sleep .5
echo -e "\n[!]:[Hack the Planet!]\n"
fi
else
clear
echo -e "\n[!]:[stop slackin gonk]:[get back to work!]\n"
sleep .5
echo -e "\n[x]:[p0st-w4sh]:[Exiting.]\n"
sleep .5
cat << "EOF"
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
__ ___ _ _ _ _ __
| _| _ __ / _ \ ___| |_ __ _| || | ___| |__ |_ |
| | | '_ \| | | / __| __| _____ \ \ /\ / / || |_/ __| '_ \ | |
| | | |_) | |_| \__ \ |_ |_____| \ V V /|__ _\__ \ | | | | |
| | | .__/ \___/|___/\__| \_/\_/ |_| |___/_| |_| | |
|__| |_| |__|
[p0st-w4sh]:[v]:[1.0.1]
[d3k@t3ss3r4]:[2024]
[hack.the.planet]
[all.your.nekworkz.are.belong.us]
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
EOF
sleep .5
echo -e "\n[!]:[Hack the Planet!]\n"
fi