From: hackbard Date: Wed, 13 Nov 2002 02:45:25 +0000 (+0000) Subject: changed to monitor 3 again X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=3fa4b2b00e5e3149c7d3c7cc354f58770ff9260f;p=my-code%2Fhdw-sniff.git changed to monitor 3 again --- diff --git a/hdw-sniff.c b/hdw-sniff.c index 1773b99..f6da20f 100644 --- a/hdw-sniff.c +++ b/hdw-sniff.c @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) { if(atoi(argv[2])==1) { printf("setting to monitor mode\n"); if(strncmp(argv[1],"wlan",4)==0) - sprintf(sys_call,"iwpriv %s monitor 2",argv[1]); + sprintf(sys_call,"iwpriv %s monitor 3",argv[1]); if(strncmp(argv[1],"eth",3)==0) sprintf(sys_call,"ifconfig %s promisc",argv[1]); system(sys_call);