Merge pull request #34 from tomasvanagas/master

Small changes
This commit is contained in:
deltax 2017-07-21 22:41:41 +02:00 committed by GitHub
commit 50057b1869
1 changed files with 2 additions and 6 deletions

View File

@ -2091,10 +2091,7 @@ function attack {
sleep 0.4 sleep 0.4
ifconfig $WIFI up ifconfig $WIFI up
sleep 0.4 sleep 0.4
fi
if [ $fakeapmode = "hostapd" ]; then
killall hostapd &> $flux_output_device killall hostapd &> $flux_output_device
xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FFFFFF" -title "AP" -e hostapd $DUMP_PATH/hostapd.conf & xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FFFFFF" -title "AP" -e hostapd $DUMP_PATH/hostapd.conf &
elif [ $fakeapmode = "airbase-ng" ]; then elif [ $fakeapmode = "airbase-ng" ]; then
@ -2148,8 +2145,7 @@ $general_case_error"; conditional_clear ;;
function Bruteforce { function Bruteforce {
echo "where is your Dictionary: _" read -e -p "where is your Dictionary: " Dictionary0
read Dictionary0
xterm -title "aircrack-ng $Host_MAC --by Princeofguilty" -e "aircrack-ng $DUMP_PATH/$Host_MAC-01.cap -w $Dictionary0" xterm -title "aircrack-ng $Host_MAC --by Princeofguilty" -e "aircrack-ng $DUMP_PATH/$Host_MAC-01.cap -w $Dictionary0"
} }
@ -2197,7 +2193,7 @@ function handshakecheck {
ih=\"0\" ih=\"0\"
else else
ih= ih=
fi">>$DUMP_PATH/handcheck fi">$DUMP_PATH/handcheck
if [ $authmode = "handshake" ]; then if [ $authmode = "handshake" ]; then
echo "if [ -f $DUMP_PATH/pwattempt.txt ]; then echo "if [ -f $DUMP_PATH/pwattempt.txt ]; then