Lorcon is a bookshop specializing in frame insertion for 802.11 (Wi-Fi standard) and is on suite that supports the Airbase. The suite is created in C + + and is formed by applications, Airware-test, fuzz-e pcap2air,pcap-match, pcap-tac, pcap-wepcrypt, prism-strip simple-replay.
Currently, some programs use functions Airbase Lorcon bookstores that are considered obsolete (Deprecated).We'll see how to modify the code to fit the new libraries.
Download and install Lorcon (SVN):
$ svn co https://802.11ninja.net/svn/lorcon/trunk/
(If svn client is not isntalled on your machine just do #yum install subversion)
$ cd trunk/
$ ./configure
$ make
# make install
Download Airbase 2.40: http://www.802.11mercenary.net/downloads/Files to modify:
airbase-svn-223/80211fp/jc-CTS-printer/src/boring.cpp airbase-svn-223/80211fp/jc-CTS-printer/src/boring.cpp
airbase-svn-223/80211fp/jc-duration-printer/src/duration_pcap_preprocessor.cpp
airbase-svn-223/libs/lib802finger/src/station-lister.cpp: airbase-svn-223/libs/lib802finger/src/station-lister.cpp:
airbase-svn-223/tools/pcap2air/boring.cpp: airbase-svn-223/tools/pcap2air/boring.cpp:
airbase-svn-223/tools/simple-replay/boring.cpp airbase-svn-223/tools/simple-replay/boring.cpp
airbase-svn-223/tools/fuzz-e/boring.cpp airbase-svn-223/tools/fuzz-e/boring.cpp
We just replace these lines of code file containing:
tx80211_setmode
By:
tx80211_setfunctionalmode
Installing Airbase-release-2.40:
$ tar -zxvf airbase-release-2.40.tar.gz
$ cd airbase-svn-223
$ cd libs/libairware/
$ make
# make install
$ cd ../../tools/
$ ./build.sh
# ./install.sh
# ln -s /usr/local/bin/airbase/* /usr/sbin/
If any tools complain about missing shared library liborcon-1.0.0.so then
cp /usr/local/lib/liborcon-1.0.0.so /usr/lib
Now bellow airbase tools will be available
Airware-test
fuzz-e
pcap2air
pcap-match
pcap-tac
pcap-wepcrypt
prism-strip
simple-replay
2 comments:
Thanks a lot for these great instructions. They work fine for me, a new comer in Linux field.
Doesn't compile under BTr3:
./src/pcap-packet.cpp:249: error: ‘exit’ was not declared in this scope
./src/pcap-packet.cpp:266: error: ‘exit’ was not declared in this scope
./src/pcap-packet.cpp: In member function ‘pcap_pkthdr Pcap_Packet::get_pcap_hdr()’:
./src/pcap-packet.cpp:275: warning: deprecated conversion from string constant to ‘char*’
./src/pcap-packet.cpp: In member function ‘void Pcap_Packet::check_initialized(char*)’:
./src/pcap-packet.cpp:298: error: ‘exit’ was not declared in this scope
make: *** [pcap-packet.o] Error 1
Post a Comment