kihei/i-0995917625a422e52
by SadServersMore 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 SadServers-V, --version print version admin@i-0c5198ac56f7a1469:~$ strace -e open ./ .ansible/ .config/ .ssh/ agent/ data/ kihei admin@i-0c5198ac56f7a1469:~$ strace -e open ./kihei --- SIGURG {si_signo=SIGURG, si_code=SI_TKILL, si_pid=1049, si_uid=1000} --- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=1053, si_uid=1000, si__stime=0} --- panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d +++ exited with 2 +++ admin@i-0c5198ac56f7a1469:~$ strace ./kihei | less admin@i-0c5198ac56f7a1469:~$
i-0c5198ac56f7a1469 03:45
by SadServersTasks: 1 (limit: 521) Memory: 21.5M CPU: 394ms CGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Dec 15 08:20:08 i-003e48bbc8151d53a systemd[1]: Started Flask Application. Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Serving Flask app 'webserveDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Debug mode: off Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: WARNING: This is a developmentDec 15 08:20:09 i-003e48bbc8151d53a python3[574]: * Running on http://127.0.0.1Dec 15 08:20:09 i-003e48bbc8151d53a python3[574]: Press CTRL+C to quit admin@i-003e48bbc8151d53a:~$ vim /etc/systemd/system/flaskapp.service admin@i-003e48bbc8151d53a:~$ vim /home/admin/webserver.py admin@i-003e48bbc8151d53a:~$ system
paris/i-003e48bbc8151d53a 02:52
by SadServersdrwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 20 2023 .ansible -rw------- 1 admin admin 362 Nov 15 11:37 .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 2023 .config drwxr-xr-x 3 admin admin 4096 Nov 15 11:37 .local -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh -rw------- 1 admin admin 682 Nov 15 11:35 .viminfo drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0fda8b1453b8d024f:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0fda8b1453b8d024f:~$ cp webserver.py