Code: Show/Hide myname@Gentoo airpwn $ make
gcc -c -g airpwn.c airpwn.c:21:20: libnet.h: No such file or directory airpwn.c:22:18: pcap.h: No such file or directory airpwn.c:33: error: syntax error before "libnet_ptag_t" airpwn.c:33: warning: no semicolon at end of struct or union airpwn.c:34: warning: data definition has no type or storage class airpwn.c:35: error: syntax error before '*' token airpwn.c:35: warning: data definition has no type or storage class airpwn.c:38: error: syntax error before '}' token airpwn.c: In function `printlog': airpwn.c:49: error: dereferencing pointer to incomplete type airpwn.c: In function `channel_thread': airpwn.c:102: error: dereferencing pointer to incomplete type airpwn.c:111: error: dereferencing pointer to incomplete type airpwn.c: In function `create_injection_socket': airpwn.c:164: error: `ARPHRD_ETHER' undeclared (first use in this function) airpwn.c:164: error: (Each undeclared identifier is reported only once airpwn.c:164: error: for each function it appears in.) airpwn.c: In function `spoof_response': airpwn.c:211: error: `LIBNET_ERRBUF_SIZE' undeclared (first use in this function) airpwn.c:217: error: dereferencing pointer to incomplete type airpwn.c:222: error: `TH_PUSH' undeclared (first use in this function) airpwn.c:222: error: `TH_ACK' undeclared (first use in this function) airpwn.c:229: error: dereferencing pointer to incomplete type airpwn.c:230: error: dereferencing pointer to incomplete type airpwn.c:233: error: dereferencing pointer to incomplete type airpwn.c:234: error: dereferencing pointer to incomplete type airpwn.c:238: error: dereferencing pointer to incomplete type airpwn.c:250: error: dereferencing pointer to incomplete type airpwn.c:251: error: dereferencing pointer to incomplete type airpwn.c:254: error: dereferencing pointer to incomplete type airpwn.c:255: error: dereferencing pointer to incomplete type airpwn.c:281: error: dereferencing pointer to incomplete type airpwn.c:283: error: dereferencing pointer to incomplete type airpwn.c:289: error: dereferencing pointer to incomplete type airpwn.c:291: error: dereferencing pointer to incomplete type airpwn.c:302: error: dereferencing pointer to incomplete type airpwn.c:307: error: `TH_RST' undeclared (first use in this function) airpwn.c:314: error: dereferencing pointer to incomplete type airpwn.c:315: error: dereferencing pointer to incomplete type airpwn.c:318: error: dereferencing pointer to incomplete type airpwn.c:319: error: dereferencing pointer to incomplete type airpwn.c:323: error: dereferencing pointer to incomplete type airpwn.c:335: error: dereferencing pointer to incomplete type airpwn.c:336: error: dereferencing pointer to incomplete type airpwn.c:339: error: dereferencing pointer to incomplete type airpwn.c:341: error: dereferencing pointer to incomplete type airpwn.c:347: error: dereferencing pointer to incomplete type airpwn.c:349: error: dereferencing pointer to incomplete type airpwn.c: At top level: airpwn.c:360: warning: `struct pcap_pkthdr' declared inside parameter list airpwn.c:360: warning: its scope is only this definition or declaration, which is probably not what you want airpwn.c: In function `pckt_callback': airpwn.c:389: error: dereferencing pointer to incomplete type airpwn.c:395: error: dereferencing pointer to incomplete type airpwn.c:421: error: dereferencing pointer to incomplete type airpwn.c:426: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast airpwn.c:428: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast airpwn.c:435: error: dereferencing pointer to incomplete type airpwn.c:436: error: dereferencing pointer to incomplete type airpwn.c:437: error: dereferencing pointer to incomplete type airpwn.c: In function `pcap_monitor': airpwn.c:486: error: `pcap_t' undeclared (first use in this function) airpwn.c:486: error: `pctx' undeclared (first use in this function) airpwn.c:487: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this function) airpwn.c:488: error: storage size of `prog' isn't known airpwn.c: In function `main': airpwn.c:521: error: `LIBNET_ERRBUF_SIZE' undeclared (first use in this function) airpwn.c:529: error: invalid application of `sizeof' to an incomplete type airpwn.c:546: error: dereferencing pointer to incomplete type airpwn.c:549: error: dereferencing pointer to incomplete type airpwn.c:552: error: dereferencing pointer to incomplete type airpwn.c:561: error: dereferencing pointer to incomplete type airpwn.c:562: error: dereferencing pointer to incomplete type airpwn.c:573: error: dereferencing pointer to incomplete type airpwn.c:573: error: dereferencing pointer to incomplete type airpwn.c:580: error: dereferencing pointer to incomplete type airpwn.c:581: error: dereferencing pointer to incomplete type airpwn.c:588: error: dereferencing pointer to incomplete type airpwn.c:588: error: dereferencing pointer to incomplete type airpwn.c:590: error: dereferencing pointer to incomplete type airpwn.c:591: error: dereferencing pointer to incomplete type airpwn.c:595: error: dereferencing pointer to incomplete type airpwn.c:595: error: `LIBNET_LINK_ADV' undeclared (first use in this function) airpwn.c:595: error: dereferencing pointer to incomplete type airpwn.c:596: error: dereferencing pointer to incomplete type airpwn.c:610: error: dereferencing pointer to incomplete type make: *** [airpwn.o] Error 1 |
The author of the website wrote: |
How does it work?
airpwn requires two 802.11b interfaces, one for listening, and another for injecting. It uses a config file with multiple config sections to respond to specific data packets with arbitrary content. For example, in the HTML goatse example, we look for any TCP data packets starting with "GET" or "POST" and respond ... |