Thanks to this post http://forum.aircrack-ng.org/index.php?topic=6091.new I was able to compile aircrack for Snow Leopard! I used svn r1623 and it workls like a charm!
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 32 33 34 35 | Index: src/Makefile ============================= — src/Makefile (revision 1623) +++ src/Makefile (working copy) @@ –4,7 +4,7 @@ TEST_DIR = $(AC_ROOT)/test –CFLAGS += –Iinclude +CFLAGS += –Iinclude –arch i386 –I/opt/local/include –L/opt/local/lib iCC = $(shell find /opt/intel/cc/*/bin/icc) iCFLAGS = –w –mcpu=pentiumpro –march=pentiumpro $(COMMON_CFLAGS) Index: common.mak ============================= — common.mak (revision 1623) +++ common.mak (working copy) @@ –57,7 +57,7 @@ ifeq ($(OSNAME), cygwin) CC = $(TOOL_PREFIX)gcc-4 else –CC = $(TOOL_PREFIX)gcc +CC = $(TOOL_PREFIX)gcc-4.0 endif RANLIB = $(TOOL_PREFIX)ranlib @@ –67,7 +67,7 @@ REVFLAGS = –D_REVISION=$(REVISION) OPTFLAGS = –D_FILE_OFFSET_BITS=64 –CFLAGS ?= –g –W –Wall –Werror –O3 –Wno-strict-aliasing +CFLAGS ?= –g –W –Wall –Werror –O3 –Wno-strict-aliasing –arch i386 –isysroot /Developer/SDKs/MacOSX10.5.sdk CFLAGS += $(OPTFLAGS) $(REVFLAGS) $(COMMON_CFLAGS) prefix = /usr/local |
Create a symlink for the airport command:
1 | sudo ln –s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport |
Spoof Mac Adress. Hint you need to be disassociated from the network (do *not* turn off airport!).
1 2 | #airport –z #sudo ifconfig en1 ether 00:e2:e3:e4:e5:e6 |
But I didn’t manage to run Airodump-ng, any hints?
One Comment
1 future wrote:
Airodump only runs on Linux, just like airmon.
If you symlink your hidden airport utility like so:
sudo ln –s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport
then you can dump a pcap file like so:
airport en1 sniff
Mac OS built in :)