Fixed an issue caused by killing airodump-ng.
The issue was caused by sending SIGTERM rather than SIGINT to airodump-ng. To fix the issue, we execute airodump-ng in the background & send SIGINT.
This commit is contained in:
parent
54b0165db4
commit
a50a95e18e
|
@ -113,7 +113,7 @@ function handshake_snooper_arbiter_daemon() {
|
||||||
|
|
||||||
function handshake_snooper_stop_captor() {
|
function handshake_snooper_stop_captor() {
|
||||||
if [ "$HANDSHAKECaptorPID" ]; then
|
if [ "$HANDSHAKECaptorPID" ]; then
|
||||||
kill $HANDSHAKECaptorPID &> $FLUXIONOutputDevice
|
kill -s SIGINT $HANDSHAKECaptorPID &> $FLUXIONOutputDevice
|
||||||
fi
|
fi
|
||||||
|
|
||||||
HANDSHAKECaptorPID=""
|
HANDSHAKECaptorPID=""
|
||||||
|
@ -125,9 +125,8 @@ function handshake_snooper_start_captor() {
|
||||||
|
|
||||||
handshake_snooper_stop_captor
|
handshake_snooper_stop_captor
|
||||||
|
|
||||||
xterm -hold -title "Handshake Captor (CH $APTargetChannel)" $TOPRIGHT -bg "#000000" -fg "#FFFFFF" -e \
|
airodump-ng --ignore-negative-one -d $APTargetMAC -w "$FLUXIONWorkspacePath/capture/dump" -c $APTargetChannel -a $WIMonitor < /dev/null 1> /dev/null 2> $FLUXIONOutputDevice &
|
||||||
airodump-ng --ignore-negative-one -d $APTargetMAC -w "$FLUXIONWorkspacePath/capture/dump" -c $APTargetChannel -a $WIMonitor &
|
HANDSHAKECaptorPID=$!
|
||||||
HANDSHAKECaptorPID=$! # Target the xterm, since we won't need to keep it around.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function handshake_snooper_stop_deauthenticator() {
|
function handshake_snooper_stop_deauthenticator() {
|
||||||
|
|
Loading…
Reference in New Issue