[kismac] Re: Never enough packets
- From: Stroller <MacMonster@xxxxxxxxxxxxx>
- To: kismac@xxxxxxxxxxxxx
- Date: Sun, 26 Sep 2004 16:45:02 +0100
It doesn't here. Can anyone tell me what I'm doing wrong, please..?
$ cd /Volumes/Stroller/Desktop/aircrack-2.0.2
915 ~/Desktop/aircrack-2.0.2 $ make
cc -W -Wall -O2 -D_GNU_SOURCE safe_io.c 802ether.c -o 802ether
cc -W -Wall -O2 -D_GNU_SOURCE safe_io.c airodump.c -o airodump
airodump.c:21:30: netpacket/packet.h: No such file or directory
In file included from airodump.c:24:
/usr/include/net/if.h:186: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:187: error: field `ifru_dstaddr' has incomplete
type
/usr/include/net/if.h:188: error: field `ifru_broadaddr' has incomplete
type
/usr/include/net/if.h:219: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:220: error: field `ifra_broadaddr' has incomplete
type
/usr/include/net/if.h:221: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:290: error: field `addr' has incomplete type
/usr/include/net/if.h:291: error: field `dstaddr' has incomplete type
airodump.c: In function `main':
airodump.c:112: error: storage size of `mr' isn't known
airodump.c:113: error: storage size of `sll' isn't known
airodump.c:123: warning: implicit declaration of function `socket'
airodump.c:123: error: `PF_PACKET' undeclared (first use in this
function)
airodump.c:123: error: (Each undeclared identifier is reported only once
airodump.c:123: error: for each function it appears in.)
airodump.c:123: error: `SOCK_RAW' undeclared (first use in this
function)
airodump.c:239: error: `SIOCGIFINDEX' undeclared (first use in this
function)
airodump.c:248: error: `AF_PACKET' undeclared (first use in this
function)
airodump.c:249: error: structure has no member named `ifr_ifindex'
airodump.c:252: warning: implicit declaration of function `bind'
airodump.c:261: error: `SIOCGIFHWADDR' undeclared (first use in this
function)
airodump.c:267: error: structure has no member named `ifr_hwaddr'
airodump.c:273: error: structure has no member named `ifr_hwaddr'
airodump.c:284: error: `PACKET_MR_PROMISC' undeclared (first use in
this function)
airodump.c:286: warning: implicit declaration of function `setsockopt'
airodump.c:286: error: `SOL_PACKET' undeclared (first use in this
function)
airodump.c:286: error: `PACKET_ADD_MEMBERSHIP' undeclared (first use in
this function)
airodump.c:112: warning: unused variable `mr'
airodump.c:113: warning: unused variable `sll'
make: *** [all] Error 1
916 ~/Desktop/aircrack-2.0.2 $
On Sep 21, 2004, at 7:48 am, Lasse Jespersen wrote:
It compiles nicely, thanks for bringing this to my attention.. Has
anyone tried this with kismac's pcap dumps yet?
On Sep 20, 2004, at 7:19 PM, Erik Winkler wrote:
Cracking via weak packets is broken on the current version of Kismac.
If you save your Kismac dump files you can use a tool like aircrack
(http://www.cr0.net:8040/code/network/) to crack the WEP key for a
specific BSSID. While the aircrack toolset was designed for Linux,
the aircrack and 802ether applications compile and work under MacOS X
just fine.
In my tests I was able to crack a 128-bit WEP key after capturing
about 500,000 encrypted packets. Notice I didn't say weak packets as
aircrack doesn't depend on "weak" packets, only packets with unique
IVs.
I've posted version 2.0 of Aircrack compiled for MacOSX at
http://www.macunix.net/Aircrack-2.0_MacOSX.zip
Other related posts: