kihei/i-0cacbe2813d3e9a07
by SadServersMore by SadServers
agent webserver.py admin@i-0360c0d51a2cc6a1e:~$ ss -lnt4p State Recv-Q Send-Q Local Address:Port Peer AddreLISTEN 0 128 127.0.0.1:5000 0.0.0LISTEN 0 128 0.0.0.0:22 0.0.0admin@i-0360c0d51a2cc6a1e:~$ curl localhost:5000 Unauthorizedadmin@i-0360c0d51a2cc6a1e:~$ ls agent webserver.py admin@i-0360c0d51a2cc6a1e:~$ string webserver.py bash: string: command not found admin@i-0360c0d51a2cc6a1e:~$ python webserver.py bash: python: command not found admin@i-0360c0d51a2cc6a1e:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0360c0d51a2cc6a1e:~$ c
paris/i-0360c0d51a2cc6a1e 03:45
by SadServersadmin@i-037723d04d1282399:~$ netstat -tulnp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN udp 0 0 127.0.0.1:323 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp6 0 0 fe80::8e1:d4ff:fe9b:546 :::* udp6 0 0 ::1:323 :::* admin@i-037723d04d1282399:~$
paris/i-037723d04d1282399 07:02
by SadServersioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, TIOCGWINSZ, {ws_row=74, ws_col=126, ws_xpixel=0, ws_ypixel=0}) = 0 openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 fstat(3, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getdents64(3, 0x56467d9f3f60 /* 14 entries */, 32768) = 416 getdents64(3, 0x56467d9f3f60 /* 0 entries */, 32768) = 0 close(3) = 0 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x1), ...}) = 0 write(1, "agent data datafile kihei ne"..., 41agent data datafile kihei ) = 41 close(1) = 0 close(2) = 0 exit_group(0) = ? +++ exited with 0 +++ admin@i-013bda2fac98d365e:~$