kihei/i-0047ee52a79ccc54f
by SadServersMore by SadServers
unix 3 [ ] STREAM CONNECTED 11297 - unix 3 [ ] SEQPACKET CONNECTED 11367 - unix 3 [ ] STREAM CONNECTED 11437 - et unix 3 [ ] STREAM CONNECTED 10838 - unix 3 [ ] STREAM CONNECTED 10827 - unix 3 [ ] STREAM CONNECTED 10839 - et unix 3 [ ] STREAM CONNECTED 11473 - ut admin@i-01253b0100cbaa15e:~$ netstat -anp | grep 5000 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-01253b0100cbaa15e:~$ ps -ef | G
paris/i-01253b0100cbaa15e 01:07
by SadServersgoroutine 1 [running]: main.main() ./main.go:62 +0x465 admin@i-06bda4a9f0a6d2dd2:~$ vim trace-new.txt admin@i-06bda4a9f0a6d2dd2:~$ ls agent data datafile kihei kihei.bkp trace-new.txt trace.txt admin@i-06bda4a9f0a6d2dd2:~$ cp kihei.bkp kihei admin@i-06bda4a9f0a6d2dd2:~$ ls agent data datafile kihei kihei.bkp trace-new.txt trace.txt admin@i-06bda4a9f0a6d2dd2:~$ cd data/ admin@i-06bda4a9f0a6d2dd2:~/data$ ls admin@i-06bda4a9f0a6d2dd2:~/data$ touch /home/admin/data/newdatafile admin@i-06bda4a9f0a6d2dd2:~/data$ ls newdatafile admin@i-06bda4a9f0a6d2dd2:~/data$
kihei/i-06bda4a9f0a6d2dd2 10:09
by SadServers-rw-r--r-- 1 admin admin 1024 Feb 29 07:33 .webserver.py.swp drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-03d33c47959abc794:~$ file webserver.py webserver.py: regular file, no read permission admin@i-03d33c47959abc794:~$ curl localhost:5000 Unauthorizedadmin@i-03d33c47959abc794:~$ curl -I localhost:5000 HTTP/1.1 200 OK Server: Werkzeug/2.3.7 Python/3.9.2 Date: Thu, 29 Feb 2024 07:34:11 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12 Connection: close admin@i-03d33c47959abc794:~$