command-line-murders/i-0047524b644485246
by SadServersMore by SadServers
if [[ "$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 SadServers< HTTP/1.1 404 NOT FOUND < Server: Werkzeug/2.3.7 Python/3.9.2 < Date: Mon, 27 Nov 2023 04:23:02 GMT < Content-Type: text/html; charset=utf-8 < Content-Length: 207 < Connection: close < <!doctype html> <html lang=en> <title>404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not found on the server. If you entered the URL manuallgain.</p> * Closing connection 0 admin@i-06333f5caffef4d07:~$ curl -vvvv -XGET http://127.0.0.1:5000/password
paris/i-06333f5caffef4d07 04:45
by SadServersdrwxr-xr-x 3 1000 1000 4.0K Sep 20 15:56 .config -rwxrwx--- 1 0 0 360 Sep 24 23:20 webserver.py drwxr-xr-x 6 1000 1000 4.0K Sep 24 23:20 . drwxr-xr-x 2 1000 0 4.0K Sep 24 23:20 agent -rw------- 1 1000 1000 217 Jan 29 13:11 .bash_history admin@i-07f389c31f27f83f4:~$ cd .ansible/ admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp admin@i-07f389c31f27f83f4:~/.ansible$ ls tmp/ admin@i-07f389c31f27f83f4:~/.ansible$ cd admin@i-07f389c31f27f83f4:~$ cd .config admin@i-07f389c31f27f83f4:~/.config$ ls asciinema admin@i-07f389c31f27f83f4:~/.config$ cd .. admin@i-07f389c31f27f83f4:~$
paris/i-07f389c31f27f83f4 03:01
by SadServersmserver="http://storage.sadservers.com:9000" if curl --output /dev/null --silent --head --fail --max-time "$timeout" "$mser : else echo "ERROR: cannot reach storage server." exit fi fi /usr/bin/mc alias set sss $mserver v3QHHA7ARsKZLRycPrBf 6z1bawB9AnFyN0LMGJMagdPdrror --overwrite $castdir sss/screencasts --limit-upload 5M echo $? root@i-0e0312d6c2077de16:~# ls mc.sh root@i-0e0312d6c2077de16:~#