clientscan crash bug fix

also readme and screenshot changes
This commit is contained in:
Stefan Kremser
2017-02-24 14:14:33 +01:00
parent a791101d32
commit 725f0eb18c
6 changed files with 12 additions and 8 deletions

View File

@@ -134,9 +134,9 @@ Happy hacking :)
## FAQ ## FAQ
**Could it deauth multiple APs in the range?** **Could it auto-deauth all APs in the range?**
It definitely could! But I will not implement this 'feature' for ethical and legal reasons. Yes, but I will not implement this 'feature' for ethical and legal reasons.
**Can it sniff handshakes?** **Can it sniff handshakes?**

View File

@@ -14,11 +14,11 @@ void ClientScan::start(int _time){
selected[i] = false; selected[i] = false;
packets[i] = 0; packets[i] = 0;
} }
for(int i=0;i<13;i++) channels[i] = -1;
results = 0; results = 0;
timeout = _time; timeout = _time;
sniffing = true;
startTime = millis();
channelsNum = 0; channelsNum = 0;
curChannel = 0; curChannel = 0;
@@ -36,8 +36,12 @@ void ClientScan::start(int _time){
wifi_set_channel(channels[curChannel]); wifi_set_channel(channels[curChannel]);
wifi_promiscuous_enable(1); wifi_promiscuous_enable(1);
Serial.println("set channel to "+(String)channels[curChannel]); if(debug) Serial.println("set channel to "+(String)channels[curChannel]);
curChannel++; curChannel++;
startTime = millis();
sniffing = true;
} }
bool ClientScan::stop(){ bool ClientScan::stop(){
@@ -86,13 +90,13 @@ void ClientScan::packetSniffer(uint8_t *buf, uint16_t len){
results++; results++;
packets[clients.add(to)]++; packets[clients.add(to)]++;
}else packets[clientNum]++; }else packets[clientNum]++;
if(debug){ /*if(debug){
Serial.print("found: "); Serial.print("found: ");
from._print(); from._print();
Serial.print(" => "); Serial.print(" => ");
to._print(); to._print();
Serial.println(""); Serial.println("");
} }*/
} }
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 65 KiB