kihei/i-0de83ec36426f6541
by SadServersMore by SadServers
admin@i-098e8bd6780cfa047:~$ sudo netstat -antp We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-098e8bd6780cfa047:~$ ^C admin@i-098e8bd6780cfa047:~$ sys
paris/i-098e8bd6780cfa047 01:27
by SadServers-rw-r----- 1 root adm 17016 Dec 30 11:16 debug -rw-r--r-- 1 root root 15246 Sep 17 17:28 dpkg.log -rw-r--r-- 1 root root 32032 Sep 17 16:44 faillog drwxr-sr-x+ 3 root systemd-journal 4096 Sep 17 16:44 journal -rw-r----- 1 root adm 177288 Dec 30 11:16 kern.log -rw-rw-r-- 1 root utmp 292292 Sep 17 17:28 lastlog -rw-r----- 1 root adm 181036 Dec 30 11:16 messages -rw-r--r-- 1 root root 3952 Dec 30 11:34 minio.log drwx------ 2 root root 4096 Sep 17 16:44 private drwxr-xr-x 3 root root 4096 Sep 28 2021 runit -rw-r----- 1 root adm 324625 Dec 30 11:34 syslog drwxr-x--- 2 root adm 4096 Sep 17 16:44 unattended-upgrades -rw-r----- 1 root adm 19756 Dec 30 11:16 user.log -rw-rw-r-- 1 root utmp 46464 Dec 30 11:16 wtmp admin@i-079bce1478cc18499:/var/log$ jounr
kihei/i-079bce1478cc18499 03:58
by SadServersadmin@i-0990a16ca6f06cf40:~$ chmod 777 web.py chmod: changing permissions of 'web.py': Operation not permitted admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ mv web.py we^C admin@i-0990a16ca6f06cf40:~$ cp web.py webserver.py cp: cannot open 'web.py' for reading: Permission denied admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ ls agent mysolution web.py admin@i-0990a16ca6f06cf40:~$ curl localhost:50000 curl: (7) Failed to connect to localhost port 50000: Connection refused admin@i-0990a16ca6f06cf40:~$ curl localhost:5000 Unauthorizedadmin@i-0990a16ca6f06cf40:~$ curl localhost:5000