Reduce timeout, add some alternatives for activating monitor mode

This commit is contained in:
Jonathan Flueren 2023-08-16 22:04:41 +02:00
parent 7a3622e8ef
commit 5af65b5f31

View file

@ -15,13 +15,21 @@ then
fi
# Activate Monitor mode
trackerjacker --monitor-mode-on -i $adapter
#trackerjacker --monitor-mode-on -i $adapter
#ip link set $adapter down
#iw dev $adapter set monitor control
#ip link set $adapter up
# Run scan
timeout 60 trackerjacker -i $adapter --map
timeout 30 trackerjacker -i $adapter --map
# Deactivate Monitor mode
trackerjacker --monitor-mode-off -i $adapter
#trackerjacker --monitor-mode-off -i $adapter
#ip link set $adapter down
#iw dev $adapter set type managed
#ip link set $adapter up
# Test network & try to restart if it fails
for i in 1 2 3 4 5