blob: 6cb5a678aaeab96b6d6d6fb80eae83ee9b555dc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
diff -urN reaver-1.4/src/wpsmon.c reaver-wps-read-only/src/wpsmon.c
--- reaver-1.4/src/wpsmon.c 2012-01-18 17:02:39.000000000 +0800
+++ reaver-wps-read-only/src/wpsmon.c 2012-10-10 06:45:52.271329168 +0800
@@ -132,6 +132,11 @@
usage(argv[0]);
goto end;
}
+ else if(get_iface())
+ {
+ /* Get the MAC address of the specified interface */
+ read_iface_mac();
+ }
if(get_iface() && source == PCAP_FILE)
{
@@ -300,6 +305,7 @@
set_ssid(NULL);
bssid = (char *) mac2str(frame_header->addr3, ':');
+ set_bssid((unsigned char *) frame_header->addr3);
if(bssid)
{
@@ -383,6 +389,7 @@
end:
if(wps) free(wps);
+ set_bssid((unsigned char *) NULL_MAC);
return;
}
|