command-line-murders/i-074bd97ff8d10f4e9
by SadServersMore by SadServers
552ac3118fe472:~$ ls agent data datafile kihei admin@i-0f6552ac3118fe472:~$ ldd kihei not a dynamic executable admin@i-0f6552ac3118fe472:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0f6552ac3118fe472:~$ ls agent data datafile kihei admin@i-0f6552ac3118fe472:~$ pwd /home/admin admin@i-0f6552ac3118fe472:~$
kihei/i-0f6552ac3118fe472 01:10
by SadServersif [[ "$actual_checksum" == "$expected_checksum" ]]; then echo -n "OK" else echo -n "NO" fiadmin@i-03f906c9d0e560363:~/agentcat /etc/systemd/system/flaskapp.servicepy [Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-03f906c9d0e560363:~/agent$ journalctl -u f
paris/i-03f906c9d0e560363 04:46
by SadServersdrwxr-xr-x 6 admin admin 4096 Sep 24 23:20 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 485 Dec 29 21:06 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh 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-06d586ef8810553b9:~$ cat webserver.py cat: webserver.py: Permission denied (failed reverse-i-search)`curl': ^Ct webserver.py admin@i-06d586ef8810553b9:~$ curl localhost:
paris/i-06d586ef8810553b9 02:52
by SadServerstotal 52 drwxr-xr-x 7 admin admin 4096 Sep 20 17:51 . drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 57 Sep 20 15:58 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Sep 20 15:56 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 20 17:51 agent -rw-r--r-- 1 admin root 705 Sep 20 17:51 consumer.py -rw-r--r-- 1 admin root 760 Sep 20 17:51 producer.py drwxr-xr-x 2 root root 4096 May 16 2022 rabbitmq-cluster-docker-master admin@i-0dd91a304b34f6d63:~$