command-line-murders/i-0027fa30ce7d6edc7
by SadServersMore by SadServers
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-0607715dd43c3c574:~$ sudo vi webserver.py 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-0607715dd43c3c574:~$ curl localhost:5000 Unauthorizedadmin@i-0607715dd43c3c574:~$ curl localhost:5000
paris/i-0607715dd43c3c574 01:22
by SadServersudev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-06f14f1acdd48bc0a:~$ df -ih Filesystem Inodes IUsed IFree IUse% Mounted on udev 55K 307 54K 1% /dev tmpfs 57K 442 57K 1% /run /dev/nvme0n1p1 504K 33K 472K 7% / tmpfs 57K 4 57K 1% /dev/shm tmpfs 57K 3 57K 1% /run/lock /dev/nvme0n1p15 0 0 0 - /boot/efi admin@i-06f14f1acdd48bc0a:~$
kihei/i-06f14f1acdd48bc0a 03:49
by SadServers-h, --help <category> Get help for commands -i, --include Include protocol response headers in the output -o, --output <file> Write to file instead of stdout -O, --remote-name Write output to a file named as the remote file -s, --silent Silent mode -T, --upload-file <file> Transfer local FILE to destination -u, --user <user:password> Server user and password -A, --user-agent <name> Send User-Agent <name> to server -v, --verbose Make the operation more talkative -V, --version Show version number and quit This is not the full help, this menu is stripped into categories. Use "--help category" to get an overview of all categories. For all options use the manual or "--help all". admin@i-0b548ba241add02bb:~$ curl --