voroojax / wireplay

Automatically exported from code.google.com/p/wireplay
0 stars 0 forks source link

Wireplay crashes everytime #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My wireplay crashes every time I run, whether it is in server or client mode 
from the machine that I am running.. and the logs is just empty.
 I tried checking ldd ./wireplay and it is not linked to system libnids library.I checked out the SVN source code yesterday. Please help me to resolve the issue.

I am running the wireplay against a pcap and using the below cmd : 
../wireplay -K --role client --port 80 --target <ip> -L -F 
./pcap/<pcapFileName>.pcap

Following is the o/p from ldd ./wireplay :

ldd ./wireplay
    linux-vdso.so.1 =>  (0x00007fff99bff000)
    libpcap.so.0.8 => /usr/lib/libpcap.so.0.8 (0x00007f8db038f000)
    libnet.so.1 => /usr/lib/libnet.so.1 (0x00007f8db0176000)
    libruby1.8.so.1.8 => /usr/lib/libruby1.8.so.1.8 (0x00007f8dafe75000)
    libc.so.6 => /lib/libc.so.6 (0x00007f8dafaf2000)
    libpthread.so.0 => /lib/libpthread.so.0 (0x00007f8daf8d5000)
    librt.so.1 => /lib/librt.so.1 (0x00007f8daf6cc000)
    libdl.so.2 => /lib/libdl.so.2 (0x00007f8daf4c8000)
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f8daf28f000)
    libm.so.6 => /lib/libm.so.6 (0x00007f8daf00b000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f8db05ce000)

Original issue reported on code.google.com by rak...@gmail.com on 19 Jan 2012 at 10:34

GoogleCodeExporter commented 9 years ago
Just add #include <arpa/inet.h> into the src/wireplay.c

Original comment by vadym.vi...@gmail.com on 7 Jul 2013 at 11:13

GoogleCodeExporter commented 9 years ago
Hi, 
I tried to use wireplay as well. Unfortunately, I got the same error as rak 
even after I added 
include <arpa/inet.h> to src/wireplay.c

In the moment when I try to run 
ldd ./wireplay
I get

ldd ./wireplay
    linux-gate.so.1 =>  (0xb7741000)
    libpcap.so.0.8 => /usr/lib/i386-linux-gnu/libpcap.so.0.8 (0xb76ec000)
    libnet.so.1 => /usr/lib/libnet.so.1 (0xb76d2000)
    libruby1.8.so.1.8 => /usr/lib/libruby1.8.so.1.8 (0xb75d6000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb742c000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb7411000)
    librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb7408000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7403000)
    libcrypt.so.1 => /lib/i386-linux-gnu/libcrypt.so.1 (0xb73d1000)
    libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb73a5000)
    /lib/ld-linux.so.2 (0xb7742000)

and when I try to replay a pcap-file I get the error message: [-] Failed to 
conncet

Enter session no. to replay: 1
[*] Initializing hooks
[*] Initializing Ruby hook (Hook File: (null))
[*] Registering hook: ruby
[*] Connecting to target host..
[-] Failed to connect

has anyone an idea what's wrong??
It would help a lot...

Original comment by nicob...@gmail.com on 11 Apr 2014 at 5:16