Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ROOT
- ---
- gplugD ~ # strace ping 127.0.0.1 -c 1
- execve("/bin/ping", ["ping", "127.0.0.1", "-c", "1"], [/* 13 vars */]) = 0
- brk(0) = 0x24000
- uname({sys="Linux", node="gplugD", ...}) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
- access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
- open("/etc/ld.so.cache", O_RDONLY) = 3
- fstat64(3, {st_mode=S_IFREG|0644, st_size=25117, ...}) = 0
- mmap2(NULL, 25117, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40026000
- close(3) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- open("/lib/libgcc_s.so.1", O_RDONLY) = 3
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\4-\0\0004\0\0\0"..., 512) = 512
- fstat64(3, {st_mode=S_IFREG|0644, st_size=47212, ...}) = 0
- mmap2(NULL, 78548, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002d000
- mprotect(0x40039000, 28672, PROT_NONE) = 0
- mmap2(0x40040000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x40040000
- close(3) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- open("/lib/libc.so.6", O_RDONLY) = 3
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\314V\1\0004\0\0\0"..., 512) = 512
- fstat64(3, {st_mode=S_IFREG|0755, st_size=1205684, ...}) = 0
- mmap2(NULL, 1242372, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40041000
- mprotect(0x40164000, 28672, PROT_NONE) = 0
- mmap2(0x4016b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0x4016b000
- mmap2(0x4016e000, 9476, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016e000
- close(3) = 0
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
- set_tls(0x4001e920, 0x4001f000, 0x4001eff8, 0x4001e920, 0x40025000) = 0
- mprotect(0x4016b000, 8192, PROT_READ) = 0
- mprotect(0x40024000, 4096, PROT_READ) = 0
- munmap(0x40026000, 25117) = 0
- socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
- getuid32() = 0
- setuid32(0) = 0
- socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
- connect(4, {sa_family=AF_INET, sin_port=htons(1025), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
- getsockname(4, {sa_family=AF_INET, sin_port=htons(51261), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
- close(4) = 0
- setsockopt(3, SOL_RAW, ICMP_FILTER, ~(ICMP_ECHOREPLY|ICMP_DEST_UNREACH|ICMP_SOURCE_QUENCH|ICMP_REDIRECT|ICMP_TIME_EXCEEDED|ICMP_PARAMETERPROB), 4) = 0
- setsockopt(3, SOL_IP, IP_RECVERR, [1], 4) = 0
- setsockopt(3, SOL_SOCKET, SO_SNDBUF, [324], 4) = 0
- setsockopt(3, SOL_SOCKET, SO_RCVBUF, [65536], 4) = 0
- getsockopt(3, SOL_SOCKET, SO_RCVBUF, [131072], [4]) = 0
- brk(0) = 0x24000
- brk(0x45000) = 0x45000
- fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
- write(1, "PING 127.0.0.1 (127.0.0.1) 56(84"..., 49PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
- ) = 49
- setsockopt(3, SOL_SOCKET, SO_TIMESTAMP, [1], 4) = 0
- setsockopt(3, SOL_SOCKET, SO_SNDTIMEO, "\1\0\0\0\0\0\0\0", 8) = 0
- setsockopt(3, SOL_SOCKET, SO_RCVTIMEO, "\1\0\0\0\0\0\0\0", 8) = 0
- getpid() = 7432
- rt_sigaction(SIGINT, {0xb830, [], SA_INTERRUPT|0x4000000}, NULL, 8) = 0
- rt_sigaction(SIGALRM, {0xb830, [], SA_INTERRUPT|0x4000000}, NULL, 8) = 0
- rt_sigaction(SIGQUIT, {0xb844, [], SA_INTERRUPT|0x4000000}, NULL, 8) = 0
- gettimeofday({1301340127, 339850}, NULL) = 0
- ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 opost isig icanon echo ...}) = 0
- ioctl(1, TIOCGWINSZ, {ws_row=39, ws_col=141, ws_xpixel=1128, ws_ypixel=663}) = 0
- gettimeofday({1301340127, 341942}, NULL) = 0
- gettimeofday({1301340127, 342505}, NULL) = 0
- sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, msg_iov(1)=[{"\10\0\221\214\35\10\0\1\337\337\220M\3519\5\0\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27"..., 64}], msg_controllen=0, msg_flags=0}, 0) = 64
- setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={10, 0}}, NULL) = 0
- recvmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, msg_iov(1)=[{"E\0\0T\177\275\0\0@\1\374\351\177\0\0\1\177\0\0\1\0\0\231\214\35\10\0\1\337\337\220M"..., 192}], msg_controllen=20, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=0x1d /* SCM_??? */, ...}, msg_flags=0}, 0) = 84
- write(1, "64 bytes from 127.0.0.1: icmp_re"..., 5664 bytes from 127.0.0.1: icmp_req=1 ttl=64 time=1.09 ms
- ) = 56
- write(1, "\n", 1
- ) = 1
- write(1, "--- 127.0.0.1 ping statistics --"..., 34--- 127.0.0.1 ping statistics ---
- ) = 34
- write(1, "1 packets transmitted, 1 receive"..., 601 packets transmitted, 1 received, 0% packet loss, time 2ms
- ) = 60
- write(1, "rtt min/avg/max/mdev = 1.090/1.0"..., 50rtt min/avg/max/mdev = 1.090/1.090/1.090/0.000 ms
- ) = 50
- exit_group(0) = ?
- REGULAR USER
- ---
- yeri@gplugD ~ $ strace ping 127.0.0.1 -c 1
- execve("/bin/ping", ["ping", "127.0.0.1", "-c", "1"], [/* 16 vars */]) = 0
- brk(0) = 0x24000
- fcntl64(0, F_GETFD) = 0
- fcntl64(1, F_GETFD) = 0
- fcntl64(2, F_GETFD) = 0
- access("/etc/suid-debug", F_OK) = -1 ENOENT (No such file or directory)
- uname({sys="Linux", node="gplugD", ...}) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001d000
- access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
- open("/etc/ld.so.cache", O_RDONLY) = 3
- fstat64(3, {st_mode=S_IFREG|0644, st_size=25117, ...}) = 0
- mmap2(NULL, 25117, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40026000
- close(3) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- open("/lib/libgcc_s.so.1", O_RDONLY) = 3
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\4-\0\0004\0\0\0"..., 512) = 512
- fstat64(3, {st_mode=S_IFREG|0644, st_size=47212, ...}) = 0
- mmap2(NULL, 78548, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4002d000
- mprotect(0x40039000, 28672, PROT_NONE) = 0
- mmap2(0x40040000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0x40040000
- close(3) = 0
- access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
- open("/lib/libc.so.6", O_RDONLY) = 3
- read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\314V\1\0004\0\0\0"..., 512) = 512
- fstat64(3, {st_mode=S_IFREG|0755, st_size=1205684, ...}) = 0
- mmap2(NULL, 1242372, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40041000
- mprotect(0x40164000, 28672, PROT_NONE) = 0
- mmap2(0x4016b000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x122) = 0x4016b000
- mmap2(0x4016e000, 9476, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016e000
- close(3) = 0
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001e000
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001f000
- set_tls(0x4001e920, 0x4001f000, 0x4001eff8, 0x4001e920, 0x40025000) = 0
- mprotect(0x4016b000, 8192, PROT_READ) = 0
- mprotect(0x40024000, 4096, PROT_READ) = 0
- munmap(0x40026000, 25117) = 0
- socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = -1 EACCES (Permission denied)
- getuid32() = 1000
- setuid32(1000) = 0
- socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = -1 EACCES (Permission denied)
- dup(2) = 3
- fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
- brk(0) = 0x24000
- brk(0x45000) = 0x45000
- fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
- mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
- _llseek(3, 0, 0xbef0e158, SEEK_CUR) = -1 ESPIPE (Illegal seek)
- write(3, "socket: Permission denied\n", 26socket: Permission denied
- ) = 26
- close(3) = 0
- munmap(0x40020000, 4096) = 0
- exit_group(2) = ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement