Thursday, October 3, 2013

Wireplay on Ubuntu 12.04

Credit to those who found out how to solve the errors first. All I am doing here is to list out the steps for a successful installation.

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

5. Go to the libnids-123 folder

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

8. Run 'configure' and then 'make'


./configure --enable-shared --disable-libglib
make

9. Go to wireplay-master folder


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:

Anonymous said...

Good explaining step by step