command-line-murders/i-054f01fab5c639973
by SadServersMore by SadServers
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-0e1a08f83bf27aeb8:~$ ss -tuln | grep :5000 tcp LISTEN 0 128 127.0.0.1:5000 0.0.0.0:* admin@i-0e1a08f83bf27aeb8:~$ ^C admin@i-0e1a08f83bf27aeb8:~$ ps -p 128 PID TTY TIME CMD admin@i-0e1a08f83bf27aeb8:~$
paris/i-0e1a08f83bf27aeb8 02:47
by SadServers2 2023-09-20T15:58:02 exit 3 2023-12-18T23:23:28 ls 4 2023-12-18T23:23:32 vim webserver.py 5 2023-12-18T23:23:35 ls -l 6 2023-12-18T23:23:37 sudo -l 7 2023-12-18T23:23:44 sudo view webserver.py 8 2023-12-18T23:24:00 ls 9 2023-12-18T23:24:02 ls agent 10 2023-12-18T23:24:08 view agent/check.sh 11 2023-12-18T23:24:22 netstat -nl4 12 2023-12-18T23:24:29 curl 127.0.0.1:5000 13 2023-12-18T23:24:40 curl -v 127.0.0.1:5000 14 2023-12-18T23:25:09 history admin@i-091ee8f6864cabf76:~$ view .bash_history admin@i-091ee8f6864cabf76:~$
paris/i-091ee8f6864cabf76 02:11
by SadServers/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-08d38f3d3a3dc92f1:~$ sudo mount /dev/vg/lv /home/admin/data admin@i-08d38f3d3a3dc92f1:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 372K 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 /dev/mapper/vg-lv 2.0G 24K 1.9G 1% /home/admin/data admin@i-08d38f3d3a3dc92f1:~$ ls -la