kihei/i-0cb5e811d8cd934e6
by SadServersMore by SadServers
drwxr-xr-x 3 1000 1000 4.0K Sep 20 15:56 .config -rwxrwx--- 1 0 0 360 Sep 24 23:20 webserver.py drwxr-xr-x 6 1000 1000 4.0K Sep 24 23:20 . drwxr-xr-x 2 1000 0 4.0K Sep 24 23:20 agent -rw------- 1 1000 1000 217 Jan 29 13:11 .bash_history admin@i-07f389c31f27f83f4:~$ cd .ansible/ admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp/ admin@i-07f389c31f27f83f4:~/.ansible$ cd admin@i-07f389c31f27f83f4:~$ cd .config admin@i-07f389c31f27f83f4:~/.config$ ls asciinema admin@i-07f389c31f27f83f4:~/.config$ cd .. admin@i-07f389c31f27f83f4:~$
paris/i-07f389c31f27f83f4 03:01
by SadServersadmin@i-01938499a23dd6d8b:~$ curl http://localhost:5000 Unauthorizedadmin@i-01938499a23dd6d8b:~$ curl https://localhost:5000 curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number admin@i-01938499a23dd6d8b:~$ strace -p 573 strace: attach: ptrace(PTRACE_SEIZE, 573): Operation not permitted admin@i-01938499a23dd6d8b:~$ sudo strace -p 573 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:
paris/i-01938499a23dd6d8b 05:03
by SadServers[Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /home/admin/webserver.py cat: /home/admin/webserver.py: Permission denied admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ ps aux | grep webserver root 564 0.2 5.9 33040 27816 ? Ss 22:43 0:00 /usr/bin/pythadmin 814 0.0 0.1 5264 704 pts/1 R<+ 22:45 0:00 grep webserveadmin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/5 5/ 50/ 51/ 52/ 54/ 55/ 557/ 558/ 56/ 561/ 562/ 564/ 565/ 57/ 58/ 581/ admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/5 5/ 50/ 51/ 52/ 54/ 55/ 557/ 558/ 56/ 561/ 562/ 564/ 565/ 57/ 58/ 581/ admin@i-0ebbbbda7606d97e5:/etc/systemd/system$ cat /proc/55