LORCON Examples and Patches by brad antoniewicz brad.antoniewicz@foundstone.com --------------------------------------------------- Various examples and patches for LORCON. These have all been tested on BT5R3. lorcon.patch - fixes a couple minor items in the lorcon install. Note: The lorcon2 instance on https://code.google.com/p/lorcon/ removes lcpa functionality.. idk wtf To use: root@bt:~# apt-get install libnl-dev root@bt:~# svn co http://802.11ninja.net/svn/lorcon/trunk lorcon2 root@bt:~# cd lorcon2 root@bt:~/lorcon2# patch -p1 < ../lorcon.patch root@bt:~/lorcon2# ./configure --prefix=/usr root@bt:~/lorcon2# make depend && make && make install beacon_flood_lcpa.c - Basic beacon flooder that uses LORCON's packet assembly functionality. To build: gcc -o beacon_flood_lcpa -lorcon2 beacon_flood_lcpa.c To run: ./beacon_flood_lcpa -i wlan1 -c 11 -s BRAD beacon_flood_raw.c - Basic beacon flooder that sends raw packet bytes. To build: gcc -o beacon_flood_raw -lorcon2 beacon_flood_raw.c To run: ./beacon_flood_raw -i wlan1 -c 11 beacon_flood_raw.py - Basic beacon flooder that sends raw packet bytes using PyLorcon2. To build: root@bt:~# apt-get install libnl-dev root@bt:~# wget http://pylorcon2.googlecode.com/files/PyLorcon2-0.1.tar.gz root@bt:~# tar -zxvf PyLorcon2-0.1.tar.gz root@bt:~# cd PyLorcon2-0.1 root@bt:~/PyLorcon2-0.1# python setup.py build root@bt:~/PyLorcon2-0.1# python setup.py install To run: python beacon_flood_raw.py -i wlan1 -c 11