1. Install all the required dependencies on an Ubuntu 12.04
sudo apt-get install ruby1.8 ruby1.8-dev libruby1.8 libpcap0.8 libpcap0.8-dev libnet1 libnet1-dev
2. Check your Ruby version and take note of it
ls /usr/lib/ruby/1.8/ | grep linux
3. Download the Wireplay source file from the following URL
wget https://github.com/abhisek/wireplay/archive/master.zip
4. Go to the location where you save the zip file and unzip it
unzip master.zip
cd wireplay-master/libnids-123
6. Edit the killtcp.c file in libnids-1.23/src folder
vi src/killtcp.c
7. Change the last
#elif
to
#else
./configure --enable-shared --disable-libglib make
cd ..
10. Edit the Makefile
vi Makefile
and check if the Ruby version is the same as in Step 2. If it is not the same, edit it.
11. Run 'make'
make
1 comment:
Good explaining step by step
Post a Comment