Skip to content

Commit

Permalink
Added wash Support
Browse files Browse the repository at this point in the history
  • Loading branch information
esc0rtd3w committed Jan 24, 2017
1 parent ded68e5 commit 8254872
Showing 1 changed file with 37 additions and 15 deletions.
52 changes: 37 additions & 15 deletions wifi-hacker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
############################################################################

# v1.9
# - Added support for Wash. Currently used for dumping scan info out to text.
# - Added "Bruteforce Hidden SSID Options" To Extras Menu and updated bruteforceHiddenSSID() Function.
# - Updated Menu Navigation to restrict from entering Extras Menu until after a wireless adapter has been selected.
# - Configured updates with new coloring, and now will only update if remote version is higher than local version.
Expand Down Expand Up @@ -402,6 +403,7 @@ setDependencies(){
pathSed="/bin/sed"
pathSleep="/bin/sleep"
pathTail="/usr/bin/tail"
pathWash="/usr/bin/wash"
pathWget="/usr/bin/wget"

}
Expand Down Expand Up @@ -551,6 +553,13 @@ checkDependencies(){
statusPathTail="NA"
fi

if [ -f $pathWash ];
then
statusPathWash="OK"
else
statusPathWash="NA"
fi

if [ -f $pathWget ];
then
statusPathWget="OK"
Expand Down Expand Up @@ -593,6 +602,7 @@ showDependencies(){
echo "$pathSed - Status: $statusPathSed"
echo "$pathSleep - Status: $statusPathSleep"
echo "$pathTail - Status: $statusPathTail"
echo "$pathWash - Status: $statusPathWash"
echo "$pathWget - Status: $statusPathWget"
echo ""
echo ""
Expand Down Expand Up @@ -844,6 +854,15 @@ setDefaults(){

apListType=""

# Default Session Values
sessionID="0"

capturePath=$(echo "$PWD/sessions")
capturePathWEP=$(echo "$PWD/sessions/wep")
capturePathWPS=$(echo "$PWD/sessions/wps")
capturePathWPA=$(echo "$PWD/sessions/wpa")
capturePathWPA2=$(echo "$PWD/sessions/wpa2")

}


Expand All @@ -857,6 +876,8 @@ setDefaultsWEP(){
# aircrack-ng cracking mode WEP (WPA-PSK)
#acMode="2"

washFile="$initPath"

}


Expand Down Expand Up @@ -968,21 +989,6 @@ setDefaultsWPS(){
}


setDefaultSession(){

currentTask="setDefaultSession"

sessionID="0"

capturePath=$(echo "$PWD/sessions")
capturePathWEP=$(echo "$PWD/sessions/wep")
capturePathWPS=$(echo "$PWD/sessions/wps")
capturePathWPA=$(echo "$PWD/sessions/wpa")
capturePathWPA2=$(echo "$PWD/sessions/wpa2")

}


############################################################################
# DEFAULT VARIABLES END ################################################
############################################################################
Expand Down Expand Up @@ -6596,6 +6602,22 @@ fixKaliTwoMonError(){
############################################################################


# Reset Session Values Back To Default
setDefaultSession(){

currentTask="setDefaultSession"

sessionID="0"

capturePath=$(echo "$PWD/sessions")
capturePathWEP=$(echo "$PWD/sessions/wep")
capturePathWPS=$(echo "$PWD/sessions/wps")
capturePathWPA=$(echo "$PWD/sessions/wpa")
capturePathWPA2=$(echo "$PWD/sessions/wpa2")

}


getCustomList(){

banner
Expand Down

0 comments on commit 8254872

Please sign in to comment.