Fix bug when SSID contains spaces (#42)
Added quotes to $Host_SSID variable in handcheck file.
This commit is contained in:
parent
294b7ca3a8
commit
87a6142e78
4
fluxion
4
fluxion
|
@ -3594,7 +3594,7 @@ function handshakecheck {
|
||||||
|
|
||||||
if [ $authmode = "handshake" ]; then
|
if [ $authmode = "handshake" ]; then
|
||||||
echo "if [ -f $DUMP_PATH/pwattempt.txt ]; then
|
echo "if [ -f $DUMP_PATH/pwattempt.txt ]; then
|
||||||
cat $DUMP_PATH/pwattempt.txt >> $PASSLOG_PATH/$Host_SSID-$Host_MAC.log
|
cat $DUMP_PATH/pwattempt.txt >> \"$PASSLOG_PATH/$Host_SSID-$Host_MAC.log\"
|
||||||
rm -f $DUMP_PATH/pwattempt.txt
|
rm -f $DUMP_PATH/pwattempt.txt
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -3707,7 +3707,7 @@ function handshakecheck {
|
||||||
Security: $Host_ENC
|
Security: $Host_ENC
|
||||||
Time: \$ih\$horas:\$im\$minutos:\$is\$segundos
|
Time: \$ih\$horas:\$im\$minutos:\$is\$segundos
|
||||||
Password: \$(cat $DUMP_PATH/data.txt)
|
Password: \$(cat $DUMP_PATH/data.txt)
|
||||||
\" >$HOME/$Host_SSID-password.txt">>$DUMP_PATH/handcheck
|
\" >\"$HOME/$Host_SSID-password.txt\"">>$DUMP_PATH/handcheck
|
||||||
|
|
||||||
|
|
||||||
if [ $authmode = "handshake" ]; then
|
if [ $authmode = "handshake" ]; then
|
||||||
|
|
Loading…
Reference in New Issue