projects
/
soho-sigint.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b49154
)
removed debug code i forgot existed
master
author
Russ Handorf
<rhandorf@handorf.org>
Fri, 3 Mar 2017 02:29:18 +0000
(21:29 -0500)
committer
Russ Handorf
<rhandorf@handorf.org>
Fri, 3 Mar 2017 02:29:18 +0000
(21:29 -0500)
client-wifi/sohosigint/sohosigint-wifi.c
patch
|
blob
|
history
diff --git
a/client-wifi/sohosigint/sohosigint-wifi.c
b/client-wifi/sohosigint/sohosigint-wifi.c
index b675f0d1528b604074014e54fbfc4f6217dd6148..3635dadc7054ce24c2feaded72293268fb545fb6 100644
(file)
--- a/
client-wifi/sohosigint/sohosigint-wifi.c
+++ b/
client-wifi/sohosigint/sohosigint-wifi.c
@@
-205,7
+205,7
@@
void my_callback(u_char *args,const struct pcap_pkthdr* pkthdr,const u_char* pac
//hlen=38;
switch (packet[hlen]) {
case 0x40: //probe request
//hlen=38;
switch (packet[hlen]) {
case 0x40: //probe request
- printf("probe request\n");
+
//
printf("probe request\n");
//while (counter<pkthdr->len) {
// printf("%02x",packet[counter]);
//while (counter<pkthdr->len) {
// printf("%02x",packet[counter]);
@@
-259,7
+259,7
@@
void my_callback(u_char *args,const struct pcap_pkthdr* pkthdr,const u_char* pac
}
break;
case 0x50: //probe response
}
break;
case 0x50: //probe response
- printf("probe response\n");
+
//
printf("probe response\n");
//while (counter<pkthdr->len) {
//printf("%02x",packet[counter]);
//while (counter<pkthdr->len) {
//printf("%02x",packet[counter]);
@@
-382,7
+382,7
@@
void my_callback(u_char *args,const struct pcap_pkthdr* pkthdr,const u_char* pac
diff = (t0 - start);
if ((diff >= 5) || (element == 25)) {
diff = (t0 - start);
if ((diff >= 5) || (element == 25)) {
- printf("time to barf!\n");
+
//
printf("time to barf!\n");
//printf("size: %d\n", element);
//change_chan(context);
int gchannel=0;
//printf("size: %d\n", element);
//change_chan(context);
int gchannel=0;