Skip to content

Commit

Permalink
Fixed bug caused by field offset after --ignore-negative-one.
Browse files Browse the repository at this point in the history
  • Loading branch information
MPX4132 committed Aug 18, 2017
1 parent ffd70e8 commit e3ef111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attacks/Handshake Snooper/attack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function handshake_start_captor() {
# Here, we'll wait for the airodump-ng PID, since we want to leave the xterm open.
# This is because we need to have a method of notifying the user the hash is captured.
# Once the hash is captured, we can terminate the captor and the xterm will freeze.
HANDSHAKECaptorPID=$(ps a | awk '$5~/^airodump-ng/ && $7~/'"$APTargetMAC"'/{print $1}')
HANDSHAKECaptorPID=$(ps a | awk '$5~/^airodump-ng/ && $8~/'"$APTargetMAC"'/{print $1}')
sleep 1
done
}
Expand Down

0 comments on commit e3ef111

Please sign in to comment.