Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Server over TCP(ipv4)

View gist:5fe4d144a6d818382399
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
execve("/bin/nc", ["nc", "-l", "7171"], [/* 24 vars */]) = 0
brk(0) = 0x688000
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) = 0x7ffff7ff8000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3</etc/ld.so.cache>
fstat(3</etc/ld.so.cache>, {st_mode=S_IFREG|0644, st_size=74867, ...}) = 0
mmap(NULL, 74867, PROT_READ, MAP_PRIVATE, 3</etc/ld.so.cache>, 0) = 0x7ffff7fe5000
close(3</etc/ld.so.cache>) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3>
read(3</lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\231\1\0\0\0\0\0"..., 832) = 832
fstat(3</lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3>, {st_mode=S_IFREG|0644, st_size=1000472, ...}) = 0
mmap(NULL, 3097680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3>, 0) = 0x7ffff7ae5000
mprotect(0x7ffff7bd7000, 2097152, PROT_NONE) = 0
mmap(0x7ffff7dd7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.3>, 0xf2000) = 0x7ffff7dd7000
mmap(0x7ffff7dd9000, 1104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffff7dd9000
close(3</lib/x86_64-linux-gnu/libglib-2.0.so.0.3200.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</lib/x86_64-linux-gnu/libc-2.15.so>
read(3</lib/x86_64-linux-gnu/libc-2.15.so>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\30\2\0\0\0\0\0"..., 832) = 832
fstat(3</lib/x86_64-linux-gnu/libc-2.15.so>, {st_mode=S_IFREG|0755, st_size=1811128, ...}) = 0
mmap(NULL, 3925208, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libc-2.15.so>, 0) = 0x7ffff7726000
mprotect(0x7ffff78db000, 2093056, PROT_NONE) = 0
mmap(0x7ffff7ada000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libc-2.15.so>, 0x1b4000) = 0x7ffff7ada000
mmap(0x7ffff7ae0000, 17624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffff7ae0000
close(3</lib/x86_64-linux-gnu/libc-2.15.so>) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/libpcre.so.3.12.1>
read(3</lib/x86_64-linux-gnu/libpcre.so.3.12.1>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\25\0\0\0\0\0\0"..., 832) = 832
fstat(3</lib/x86_64-linux-gnu/libpcre.so.3.12.1>, {st_mode=S_IFREG|0644, st_size=247896, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe4000
mmap(NULL, 2343080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpcre.so.3.12.1>, 0) = 0x7ffff74e9000
mprotect(0x7ffff7525000, 2093056, PROT_NONE) = 0
mmap(0x7ffff7724000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpcre.so.3.12.1>, 0x3b000) = 0x7ffff7724000
close(3</lib/x86_64-linux-gnu/libpcre.so.3.12.1>) = 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</lib/x86_64-linux-gnu/libpthread-2.15.so>
read(3</lib/x86_64-linux-gnu/libpthread-2.15.so>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200l\0\0\0\0\0\0"..., 832) = 832
fstat(3</lib/x86_64-linux-gnu/libpthread-2.15.so>, {st_mode=S_IFREG|0755, st_size=135366, ...}) = 0
mmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpthread-2.15.so>, 0) = 0x7ffff72cc000
mprotect(0x7ffff72e4000, 2093056, PROT_NONE) = 0
mmap(0x7ffff74e3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/libpthread-2.15.so>, 0x17000) = 0x7ffff74e3000
mmap(0x7ffff74e5000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffff74e5000
close(3</lib/x86_64-linux-gnu/libpthread-2.15.so>) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3</lib/x86_64-linux-gnu/librt-2.15.so>
read(3</lib/x86_64-linux-gnu/librt-2.15.so>, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340!\0\0\0\0\0\0"..., 832) = 832
fstat(3</lib/x86_64-linux-gnu/librt-2.15.so>, {st_mode=S_IFREG|0644, st_size=31752, ...}) = 0
mmap(NULL, 2128984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/librt-2.15.so>, 0) = 0x7ffff70c4000
mprotect(0x7ffff70cb000, 2093056, PROT_NONE) = 0
mmap(0x7ffff72ca000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3</lib/x86_64-linux-gnu/librt-2.15.so>, 0x6000) = 0x7ffff72ca000
close(3</lib/x86_64-linux-gnu/librt-2.15.so>) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe3000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffff7fe1000
arch_prctl(ARCH_SET_FS, 0x7ffff7fe2700) = 0
mprotect(0x7ffff7ada000, 16384, PROT_READ) = 0
mprotect(0x7ffff74e3000, 4096, PROT_READ) = 0
mprotect(0x7ffff72ca000, 4096, PROT_READ) = 0
mprotect(0x7ffff7724000, 4096, PROT_READ) = 0
mprotect(0x7ffff7dd7000, 4096, PROT_READ) = 0
mprotect(0x606000, 4096, PROT_READ) = 0
mprotect(0x7ffff7ffc000, 4096, PROT_READ) = 0
munmap(0x7ffff7fe5000, 74867) = 0
set_tid_address(0x7ffff7fe29d0) = 16423
set_robust_list(0x7ffff7fe29e0, 24) = 0
futex(0x7fffffffea4c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 7ffff7fe2700) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0x7ffff72d2750, [], SA_RESTORER|SA_SIGINFO, 0x7ffff72dbcb0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7ffff72d27e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7ffff72dbcb0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
brk(0) = 0x688000
brk(0x6a9000) = 0x6a9000
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
setsockopt(3<socket:[81346]>, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
bind(3<socket:[81346]>, {sa_family=AF_INET, sin_port=htons(7171), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
listen(3<socket:[81346]>, 1) = 0
accept(3<0.0.0.0:0>, {sa_family=AF_INET, sin_port=htons(48435), sin_addr=inet_addr("127.0.0.1")}, [16]) = 4
poll([{fd=4<127.0.0.1:48435>, events=POLLIN}, {fd=0</dev/pts/4>, events=POLLIN}], 2, -1) = 1 ([{fd=4, revents=POLLIN}])
read(4<127.0.0.1:48435>, "TOSERVER-TCP4\n", 1024) = 14
write(1</dev/pts/4>, "TOSERVER-TCP4\n", 14) = 14
poll([{fd=4<127.0.0.1:48435>, events=POLLIN}, {fd=0</dev/pts/4>, events=POLLIN}], 2, -1) = 1 ([{fd=0, revents=POLLIN}])
read(0</dev/pts/4>, "TOCLIENT-TCP4\n", 1024) = 14
write(4<127.0.0.1:48435>, "TOCLIENT-TCP4\n", 14) = 14
poll([{fd=4<127.0.0.1:48435>, events=POLLIN}, {fd=0</dev/pts/4>, events=POLLIN}], 2, -1Process 16423 detached
<detached ...>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.