kihei/i-0a9241b92a4b01021
by SadServersMore by SadServers
admin@i-016fc9e6460102905:~$ curl localhost 5000 curl: (7) Failed to connect to localhost port 80: Connection refused ^C admin@i-016fc9e6460102905:~$ curl localhost:5000 Unauthorizedadmin@i-016fc9e6460102905:~$ vim /usr/bin/as as asciinema admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ /usr/bin/python3 /usr/bin/asciinema rec -t paris asciinema: recording asciicast to /tmp/tmpf1dsbhc8-ascii.cast asciinema: press <ctrl-d> or type "exit" when you're done admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ vim /tmp/tmpf1dsbhc8-ascii.cast admin@i-016fc9e6460102905:~$ vim /usr/bin/asciinema admin@i-016fc9e6460102905:~$ vim /home/admin/.bash_history admin@i-016fc9e6460102905:~$
paris/i-016fc9e6460102905 03:47
by SadServers693 pts/1 00:00:00 sh 694 pts/1 00:00:00 bash 800 pts/1 00:00:00 ps admin@i-0b98d3e9a33585961:~$ netstat -an | grep 5000 tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN admin@i-0b98d3e9a33585961:~$ lsof -i :5000 admin@i-0b98d3e9a33585961:~$ lsof -i :5000 admin@i-0b98d3e9a33585961:~$ ss -lntu | grep 5000 tcp LISTEN 0 128 127.0.0.1:5000 0.0.0.0:* admin@i-0b98d3e9a33585961:~$ lsof -i :5000 admin@i-0b98d3e9a33585961:~$ netstat -tulnp | 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-0b98d3e9a33585961:~$ netstat -tulnp | grep
paris/i-0b98d3e9a33585961 03:01
by SadServersConnecting to localhost (localhost)|127.0.0.1|:5000... connected. HTTP request sent, awaiting response... 200 OK Length: 12 [text/html] index.html: Permission denied Cannot write to ‘index.html’ (Permission denied). admin@i-060882b6b7423c159:/etc/python3$ cd .. admin@i-060882b6b7423c159:/etc$ cd .. admin@i-060882b6b7423c159:/$ find "index.html" find: ‘index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find *"index.html" find: ‘*index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find */"index.html" find: ‘*/index.html’: No such file or directory admin@i-060882b6b7423c159:/$ find */"index.html"