paris/i-05de12536a4e0609a
by SadServersMore by SadServers
Main PID: 579 (python3) Tasks: 1 (limit: 521) Memory: 21.9M CPU: 329ms CGroup: /system.slice/flaskapp.service └─579 /usr/bin/python3 /home/admin/webserver.py Nov 29 16:17:05 i-0658b8fdee95eb0b6 systemd[1]: Started Flask Application. Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Serving Flask app 'webserveNov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Debug mode: off Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: WARNING: This is a developmentNov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: * Running on http://127.0.0.1Nov 29 16:17:06 i-0658b8fdee95eb0b6 python3[579]: Press CTRL+C to quit Nov 29 16:17:35 i-0658b8fdee95eb0b6 python3[579]: 127.0.0.1 - - [29/Nov/2023 16:admin@i-0658b8fdee95eb0b6:~$ > /home/admin/.bash_history
paris/i-0658b8fdee95eb0b6 00:51
by SadServers-rw------- 1 admin admin 978 Mar 4 03:42 .viminfo drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 3 root root 16384 Jan 1 1970 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei admin@i-0a9241b92a4b01021:~$ cat /etc/fs cat: /etc/fs: No such file or directory admin@i-0a9241b92a4b01021:~$ cat /etc/fstab # /etc/fstab: static file system information UUID=811e12d8-f542-4650-9330-8d96633bd90c / ext4 rw,discard,errors=remount-ro,x-UUID=8690-F844 /boot/efi vfat defaultsrelatime,auto,uid=1000,gid=1000,umask=000 admin@i-0a9241b92a4b01021:~$ vim /etc/fstab admin@i-0a9241b92a4b01021:~$ sudo !! sudo vim /etc/fstab admin@i-0a9241b92a4b01021:~$ sudo systemctl r
kihei/i-0a9241b92a4b01021 12:34
by SadServers^C admin@i-06298332e7bb29ffb:~$ fg ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:46:42] "GET / HTTP/1.1" 200 - ^M^?^?^?^?^M^M^Z [1]+ Stopped ./webserver.py admin@i-06298332e7bb29ffb:~$ curl localhost:5001&;fg bash: syntax error near unexpected token `;' admin@i-06298332e7bb29ffb:~$ curl localhost:5001& && fg bash: syntax error near unexpected token `&&' admin@i-06298332e7bb29ffb:~$ curl localhost:5001 & fg [2] 1140 ./webserver.py 127.0.0.1 - - [15/Dec/2023 06:47:06] "GET / HTTP/1.1" 200 - Hello World!
paris/i-06298332e7bb29ffb 07:13
by SadServersSorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-03e132f618d80584c:~$ sudo curl localhost:5000 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-03e132f618d80584c:~$ ls