kihei/i-05312dad7e1185a46
by SadServersMore by SadServers
Sorry, 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
paris/i-03e132f618d80584c 01:36
by SadServers> GET / HTTP/1.1 > Host: localhost:5000 > User-Agent: curl/7.74.0 > Accept: */* > * Mark bundle as not supporting multiuse < HTTP/1.1 200 OK < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Wed, 04 Oct 2023 19:07:43 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 12 < Connection: close < * Closing connection 0 Unauthorizedadmin@i-09e85561fc3517875:~$ curl -Lv http://localhost:5000
paris/i-09e85561fc3517875 02:44
by SadServers# kihei runs succesfully res=$(/home/admin/kihei) res=$(echo $res|tr -d '\r') if [[ "$res" = "Done." ]] then echo -n "OK" else echo -n "NO" fi admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile |cut -d' ' -f 5 5368709120 admin@i-0afe27aa1ce9cfeda:~/agent$ ls -l /home/admin/datafile -rw-r--r-- 1 root root 5368709120 Sep 17 2023 /home/admin/datafile admin@i-0afe27aa1ce9cfeda:~/agent$
kihei/i-0afe27aa1ce9cfeda 00:59
by SadServersadmin@i-033ff0a01601e913b:~$ sudo mkfs.ext /dev/mapper/vg01-lv01 sudo: mkfs.ext: command not found admin@i-033ff0a01601e913b:~$ sudo mkfs.ext4 /dev/mapper/vg01-lv01 mke2fs 1.46.2 (28-Feb-2021) Creating filesystem with 522240 4k blocks and 130560 inodes Filesystem UUID: 96156bbb-6deb-4fd6-a20d-0e6a759cd52b Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912 Allocating group tables: done Writing inode tables: done Creating journal (8192 blocks): done Writing superblocks and filesystem accounting information: done admin@i-033ff0a01601e913b:~$ sudo mkfs.ext4 /dev/mapper/vg01-lv01