command-line-murders/i-08a7757a521f390c7
by SadServersMore by SadServers
admin@i-0ff481abe0645dbdb:~$ curl localhost:5000 Unauthorizedadmin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ cat webserver.py cat: webserver.py: Permission denied admin@i-0ff481abe0645dbdb:~$ ls agent webserver.py admin@i-0ff481abe0645dbdb:~$ s
paris/i-0ff481abe0645dbdb 00:48
by SadServersrm: cannot remove 'datafile': Permission denied admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo srm datafile sudo: srm: command not found admin@i-0726590fe1fcdef99:/mnt/new_partition$ sudo rm datafile admin@i-0726590fe1fcdef99:/mnt/new_partition$ ls lost+found admin@i-0726590fe1fcdef99:/mnt/new_partition$ cd / admin@i-0726590fe1fcdef99:/$ ls bin dev home lib32 libx32 media opt root sbin sys usr boot etc lib lib64 lost+found mnt proc run srv tmp var admin@i-0726590fe1fcdef99:/$ cd home/admin/ admin@i-0726590fe1fcdef99:~$ ls agent data datafile kihei admin@i-0726590fe1fcdef99:~$ ln -s /mnt/new_partition/ test admin@i-0726590fe1fcdef99:~$ ls
kihei/i-0726590fe1fcdef99 06:04
by SadServers└─576 /usr/bin/python3 /home/admin/webserver.py Dec 06 15:26:25 i-0698a665f0c5ecc54 systemd[1]: Started Flask Application. Dec 06 15:26:25 i-0698a665f0c5ecc54 python3[576]: * Serving Flask app 'webserver' Dec 06 15:26:25 i-0698a665f0c5ecc54 python3[576]: * Debug mode: off Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: WARNING: This is a development server. Do not use it in a production deployment. Use a product> Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: * Running on http://127.0.0.1:5000 Dec 06 15:26:26 i-0698a665f0c5ecc54 python3[576]: Press CTRL+C to quit admin@i-0698a665f0c5ecc54:~$