command-line-murders/i-031f7b1e2fd8fb603
by SadServersMore by SadServers
total 11M -rwxr-xr-x 1 admin root 11M Sep 20 15:53 sadagent -rw-r--r-- 1 admin admin 0 Sep 20 15:53 sadagent.txt -rwxr-xr-x 1 admin admin 230 Sep 24 23:20 check.sh admin@i-0cfcaf1d38addd2ba:~/agent$ cat sadagent.txt admin@i-0cfcaf1d38addd2ba:~/agent$ nc localhost 5000 admin@i-0cfcaf1d38addd2ba:~/agent$ GET / bash: GET: command not found admin@i-0cfcaf1d38addd2ba:~/agent$ GET / bash: GET: command not found admin@i-0cfcaf1d38addd2ba:~/agent$ curl --user-agent "password" localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-0cfcaf1d38addd2ba:~/agent$ curl --use5000
paris/i-0cfcaf1d38addd2ba 03:22
by SadServerstmpfs 233168 12 233156 1% /dev/shm tmpfs 5120 0 5120 0% /run/lock /dev/nvme0n1p15 126678 6016 120662 5% /boot/efi admin@i-0e3e15b4950a5e594:~$ lsblk -l NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 1G 0 disk nvme0n1 259:1 0 8G 0 disk nvme2n1 259:2 0 1G 0 disk nvme0n1p1 259:3 0 7.9G 0 part / nvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0e3e15b4950a5e594:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0e3e15b4950a5e594:~$ sudo pvcreatr
kihei/i-0e3e15b4950a5e594 01:32
by SadServers[Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-031b3c138eab9863b:~$ ls -la/etc/systemd/system/flaskapp.service ls: invalid option -- '/' Try 'ls --help' for more information. admin@i-031b3c138eab9863b:~$ ls -la /etc/systemd/system/flaskapp.service -rw-r--r-- 1 root root 159 Sep 24 2023 /etc/systemd/system/flaskapp.service admin@i-031b3c138eab9863b:~$