paris/i-02d1e5ec374b04a2a
by SadServersMore by SadServers
admin@i-04cb2fba7b744d25a:~$ ls agent webserver.py admin@i-04cb2fba7b744d25a:~$ cd .. admin@i-04cb2fba7b744d25a:/home$ ls admin admin@i-04cb2fba7b744d25a:/home$ cd admin admin@i-04cb2fba7b744d25a:~$ ls agent webserver.py admin@i-04cb2fba7b744d25a:~$ su -u admin Try 'su --help' for more information. admin@i-04cb2fba7b744d25a:~$ su -i admin su: invalid option -- 'i' Try 'su --help' for more information. admin@i-04cb2fba7b744d25a:~$ su - admin
paris/i-04cb2fba7b744d25a 03:03
by SadServersadmin@i-0592aa918bacc14b6:~/.config$ ls asciinema admin@i-0592aa918bacc14b6:~/.config$ cd asciinema/ admin@i-0592aa918bacc14b6:~/.config/asciinema$ ls install-id admin@i-0592aa918bacc14b6:~/.config/asciinema$ cat install-id 0e2d35c4-a944-417f-bd3a-677c2f875b37admin@i-0592aa918bacc14b6:~/.config/asciinemadmin@i-0592aa918bacc14b6:~$ echo "0e2d35c4-a944-417f-bd3a-677c2f875b37" > ~/mysadmin@i-0592aa918bacc14b6:~$ md5sum mysolution d0c695ba70b1a8ba15a11ec37af90b01 mysolution admin@i-0592aa918bacc14b6:~$ ls agent mysolution webserver.py admin@i-0592aa918bacc14b6:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0592aa918bacc14b6:~$ cat /
paris/i-0592aa918bacc14b6 04:46
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