Implement configuration for update interval
Hi. I have a scenario when APs are sending beacons very slowly, something like once in 10-20 seconds. So I wish to catch them all but cannot because update interval is too fast. The update interval is 1 second now and I know that before it was 5 seconds. Could you make it configurable up to a few minutes? Because in my case APs just appear and disappear rapidly and I cannot catch them all. Thanks.
The relative line is
print GR + '\n [+] ' + G + 'scanning' + W + ' (' + G + iface + W + '), updates at 1 sec intervals, ' + G + 'CTRL+C' + W + ' when ready.\n'
Wifite uses whatever APs are listed by airodump-ng.
From https://www.aircrack-ng.org/doku.php?id=airodump-ng
--berlin <secs> : Time before removing the AP/client
from the screen when no more packets
are received (Default: 120 seconds)
Wifite doesn't set a --berlin option when running airodump-ng which means it should be 120 seconds.
What happens when you run a scan using airodump-ng? Do the targets "disappear rapidly"? Or do the targets disappear after 2 minutes (120 seconds)?
I could add an option to the new version "wifite2" to set --berlin and/or never remove targets once they are identified. But I'll want you to confirm that running airodump-ng with --berlin X works for large values of X (e.g. remove after 10 minutes: airodump-ng --berlin 600 wlan0mon).
But this might be due to the channel-hopping speed as well.
-f <msecs> : Time in ms between hopping channels
If you don't specify a channel, then airodump will hop between channels pretty frequently. But this would cause targets to never show up. That is not what you described (targets appear then disappear quickly).
You should play around with airodump switches until it gives the desired output. Then let me know and I'll take a look and see if I can incorporate it into the new Wifite.