paris/i-0e54dfe20a762b8f6
by SadServersMore by SadServers
admin@i-0c86aaede796dd0fb:~$ ды bash: ды: command not found admin@i-0c86aaede796dd0fb:~$ ls agent webserver.py admin@i-0c86aaede796dd0fb:~$ ls -l total 8 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-0c86aaede796dd0fb:~$ curl localhost:5000 Unauthorizedadmin@i-0c86aaede796dd0fb:~$ admin@i-0c86aaede796dd0fb:~$ curl localhost:5000
paris/i-0c86aaede796dd0fb 00:38
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"
paris/i-060882b6b7423c159 04:33
by SadServersusage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-D directory] [-g group] [ [<command>] usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-D directory] [-g group] [-admin@i-02474f300d2196640:~$ sudo su - 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: sudo: a password is required admin@i-02474f300d2196640:~$ curl localh