Created
February 18, 2017 03:23
-
-
Save francesco1119/17b564dab6bc29aa6066523e8137bfc9 to your computer and use it in GitHub Desktop.
strace netdiscover
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
execve("/usr/sbin/netdiscover", ["netdiscover"], [/* 14 vars */]) = 0 brk(NULL) = 0x7fffd98d3000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e73e30000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=36157, ...}) = 0 mmap(NULL, 36157, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5e73e27000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0755, st_size=138696, ...}) = 0 | |
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5e737e0000 | |
mprotect(0x7f5e737f8000, 2093056, PROT_NONE) = 0 | |
mmap(0x7f5e739f7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f5e739f7000 | |
mmap(0x7f5e739f9000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5e739f9000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
open("/usr/lib/x86_64-linux-gnu/libpcap.so.0.8", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0pQ\0\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0644, st_size=265512, ...}) = 0 | |
mmap(NULL, 2363880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5e73590000 | |
mprotect(0x7f5e735ce000, 2097152, PROT_NONE) = 0 | |
mmap(0x7f5e737ce000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3e000) = 0x7f5e737ce000 | |
mmap(0x7f5e737d1000, 488, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5e737d1000 | |
close(3) = 0 | |
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) | |
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 | |
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\t\2\0\0\0\0\0"..., 832) = 832 | |
fstat(3, {st_mode=S_IFREG|0755, st_size=1864888, ...}) = 0 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e73e20000 | |
mmap(NULL, 3967392, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5e731c0000 | |
mprotect(0x7f5e7337f000, 2097152, PROT_NONE) = 0 | |
mmap(0x7f5e7357f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1bf000) = 0x7f5e7357f000 | |
mmap(0x7f5e73585000, 14752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5e73585000 | |
close(3) = 0 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e73e10000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e73e00000 | |
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5e73df0000 | |
arch_prctl(ARCH_SET_FS, 0x7f5e73e00700) = 0 | |
mprotect(0x7f5e7357f000, 16384, PROT_READ) = 0 | |
mprotect(0x7f5e737ce000, 8192, PROT_READ) = 0 | |
mprotect(0x7f5e739f7000, 4096, PROT_READ) = 0 | |
mprotect(0x7f5e74377000, 4096, PROT_READ) = 0 | |
mprotect(0x7f5e73c25000, 4096, PROT_READ) = 0 | |
munmap(0x7f5e73e27000, 36157) = 0 | |
set_tid_address(0x7f5e73e009d0) = 33 | |
set_robust_list(0x7f5e73e009e0, 24) = 0 | |
rt_sigaction(SIGRTMIN, {0x7f5e737e5b50, [], SA_RESTORER|SA_SIGINFO, 0x7f5e737f1390}, NULL, 8) = 0 | |
rt_sigaction(SIGRT_1, {0x7f5e737e5be0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f5e737f1390}, NULL, 8) = 0 | |
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 | |
getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0 | |
brk(NULL) = 0x7fffd98d3000 | |
brk(0x7fffd98f4000) = 0x7fffd98f4000 | |
getuid() = 0 | |
socket(PF_NETLINK, SOCK_RAW, NETLINK_ROUTE) = 3 | |
bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 | |
getsockname(3, {sa_family=AF_NETLINK, pid=33, groups=00000000}, [12]) = 0 | |
time(NULL) = 1486889339 | |
sendto(3, "\24\0\0\0\22\0\1\3{!\240X\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"L\0\0\0\20\0\2\0{!\240X!\0\0\0\0\0\4\3\1\0\0\0I\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 76 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"P\0\0\0\20\0\2\0{!\240X!\0\0\0\0\0!\3\4\0\0\0C\20\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 80 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"P\0\0\0\20\0\2\0{!\240X!\0\0\0\0\0!\3\3\0\0\0@\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 80 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"X\0\0\0\20\0\2\0{!\240X!\0\0\0\0\0\1\0\2\0\0\0A\0\0\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 88 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\20\0\0\0\3\0\2\0{!\240X!\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 16 | |
sendto(3, "\24\0\0\0\26\0\1\3|!\240X\0\0\0\0\0\0\0\0", 20, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"<\0\0\0\24\0\2\0|!\240X!\0\0\0\2\10\0\0\1\0\0\0\10\0\1\0\177\0\0\1"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 60 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0|!\240X!\0\0\0\n\200\0\0\1\0\0\0\24\0\1\0\0\0\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 64 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"<\0\0\0\24\0\2\0|!\240X!\0\0\0\2\30\0\0\4\0\0\0\10\0\1\0\300\250\1\6"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 60 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0|!\240X!\0\0\0\n@\0\0\4\0\0\0\24\0\1\0\376\200\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 64 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"<\0\0\0\24\0\2\0|!\240X!\0\0\0\2\20\0\0\3\0\0\0\10\0\1\0\251\376>s"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 60 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0|!\240X!\0\0\0\n@\0\0\3\0\0\0\24\0\1\0\376\200\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 64 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0|!\240X!\0\0\0\n@\0\0\2\0\0\0\24\0\1\0 \1\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 64 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"@\0\0\0\24\0\2\0|!\240X!\0\0\0\n@\0\375\2\0\0\0\24\0\1\0\376\200\0\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 64 | |
recvmsg(3, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"\20\0\0\0\3\0\2\0|!\240X!\0\0\0", 4096}], msg_controllen=0, msg_flags=0}, 0) = 16 | |
close(3) = 0 | |
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 | |
ioctl(3, SIOCETHTOOL, 0x7fffe180ef30) = -1 EINVAL (Invalid argument) | |
close(3) = 0 | |
socket(PF_PACKET, SOCK_RAW, 768) = -1 EAFNOSUPPORT (Address family not supported by protocol) | |
socket(PF_INET, SOCK_PACKET, 0x300 / IPPROTO_??? /) = -1 EINVAL (Invalid argument) | |
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 | |
ioctl(3, SIOCETHTOOL, 0x7fffe180ef30) = -1 EINVAL (Invalid argument) | |
close(3) = 0 | |
socket(PF_PACKET, SOCK_RAW, 768) = -1 EAFNOSUPPORT (Address family not supported by protocol) | |
socket(PF_INET, SOCK_PACKET, 0x300 / IPPROTO_??? /) = -1 EINVAL (Invalid argument) | |
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 | |
ioctl(3, SIOCETHTOOL, 0x7fffe180ef30) = -1 EINVAL (Invalid argument) | |
close(3) = 0 | |
socket(PF_PACKET, SOCK_RAW, 768) = -1 EAFNOSUPPORT (Address family not supported by protocol) | |
socket(PF_INET, SOCK_PACKET, 0x300 / IPPROTO_??? /) = -1 EINVAL (Invalid argument) | |
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 | |
ioctl(3, SIOCETHTOOL, 0x7fffe180ef30) = -1 EINVAL (Invalid argument) | |
close(3) = 0 | |
socket(PF_PACKET, SOCK_RAW, 768) = -1 EAFNOSUPPORT (Address family not supported by protocol) | |
socket(PF_INET, SOCK_PACKET, 0x300 / IPPROTO_??? /) = -1 EINVAL (Invalid argument) | |
open("/sys/class/net", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 | |
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 | |
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4 | |
getdents(3, / d_reclen < sizeof(struct dirent) // 1 entries /, 32768) = 139 | |
lstat("/sys/class/net/lo/ifindex", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 | |
ioctl(4, SIOCGIFFLAGS, {ifr_name="lo", ifr_flags=IFF_UP|IFF_LOOPBACK|IFF_RUNNING}) = 0 | |
lstat("/sys/class/net/wifi0/ifindex", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 | |
ioctl(4, SIOCGIFFLAGS, {ifr_name="wifi0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IFF_MULTICAST}) = 0 | |
lstat("/sys/class/net/wifi1/ifindex", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 | |
ioctl(4, SIOCGIFFLAGS, {ifr_name="wifi1", ifr_flags=IFF_RUNNING}) = 0 | |
lstat("/sys/class/net/eth0/ifindex", {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 | |
ioctl(4, SIOCGIFFLAGS, {ifr_name="eth0", ifr_flags=IFF_UP|IFF_RUNNING}) = 0 | |
getdents(3, / 0 entries /, 32768) = 0 | |
close(4) = 0 | |
close(3) = 0 | |
socket(PF_PACKET, SOCK_DGRAM, 768) = -1 EAFNOSUPPORT (Address family not supported by protocol) | |
socket(PF_INET, SOCK_PACKET, 0x300 / IPPROTO_??? /) = -1 EINVAL (Invalid argument) | |
socket(PF_BLUETOOTH, SOCK_RAW, 1) = -1 EAFNOSUPPORT (Address family not supported by protocol) | |
open("/sys/bus/usb/devices", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
open("/dev/bus/usb", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) | |
socket(PF_NETLINK, SOCK_RAW, NETLINK_NETFILTER) = -1 EPROTONOSUPPORT (Protocol not supported) | |
open("/root/.netdiscover/ranges", O_RDONLY) = -1 ENOENT (No such file or directory) | |
open("/root/.netdiscover/fastips", O_RDONLY) = -1 ENOENT (No such file or directory) | |
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 | |
ioctl(3, SIOCETHTOOL, 0x7fffe180f0b0) = -1 EINVAL (Invalid argument) | |
close(3) = 0 | |
open("/proc/net/dev", O_RDONLY) = 3 | |
fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 | |
read(3, "Inter-| Receive "..., 4096) = 692 | |
close(3) = 0 | |
socket(PF_PACKET, SOCK_RAW, 768) = -1 EAFNOSUPPORT (Address family not supported by protocol) | |
socket(PF_INET, SOCK_PACKET, 0x300 / IPPROTO_??? */) = -1 EINVAL (Invalid argument) | |
fstat(1, {st_mode=S_IFCHR|0640, st_rdev=makedev(4, 1), ...}) = 0 | |
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 | |
write(1, "pcap_open_live(): wifi0: socket:"..., 50pcap_open_live(): wifi0: socket: Invalid argument | |
) = 50 | |
exit_group(1) = ? | |
+++ exited with 1 +++` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment