admin 691 0.0 0.9 6820 4528 pts/1 S< 13:50 0:00 \_ /bin/bash admin 696 0.0 0.7 8804 3296 pts/1 R<+ 13:51 0:00 \_ ps auxf admin 560 0.0 2.1 1006948 10260 ? S<sl 13:50 0:00 /home/admin/agent/sadagent root 563 0.0 0.5 5636 2672 ? Ss 13:50 0:00 /usr/sbin/cron -f message+ 564 0.0 0.8 7864 3800 ? Ss 13:50 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only root 566 0.6 5.9 33040 27800 ? Ss 13:50 0:00 /usr/bin/python3 /home/admin/webserver.py root 567 0.0 0.9 220796 4336 ? Ssl 13:50 0:00 /usr/sbin/rsyslogd -n -iNONE root 579 0.1 1.4 13492 6604 ? Ss 13:50 0:00 /lib/systemd/systemd-logind root 585 0.2 0.3 2872 1720 tty1 Ss+ 13:50 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux root 586 0.0 0.4 4396 2060 ttyS0 Ss+ 13:50 0:00 /sbin/agetty -o -p -- \u --keep-baud 115200,57600,38400,9600 ttyS0 vt220 _chrony 587 0.0 0.7 10852 3648 ? S 13:50 0:00 /usr/sbin/chronyd -F 1 _chrony 590 0.0 0.1 10724 552 ? S 13:50 0:00 \_ /usr/sbin/chronyd -F 1 root 588 0.0 1.5 13352 7244 ? Ss 13:50 0:00 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups root 612 0.1 3.7 26612 17420 ? Ss 13:50 0:00 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal admin@i-000f3b7345baf2e3d:~$ curl localhost:5000 Unauthorizedadmin@i-000f3b7345baf2e3d:~$ admin@i-000f3b7345baf2e3d:~$ wget localhost:5000 --2024-11-19 13:52:42-- http://localhost:5000/ Resolving localhost (localhost)... 127.0.0.1 Connecting to localhost (localhost)|127.0.0.1|:5000... connected. HTTP request sent, awaiting response... 200 OK Length: 12 [text/html] Saving to: ‘index.html’ index.html 0%[ ] 0 --.-KB/s index.html 100%[=====================================================================================================================>] 12 --.-KB/s in 0s 2024-11-19 13:52:42 (1.72 MB/s) - ‘index.html’ saved [12/12] admin@i-000f3b7345baf2e3d:~$ ls agent index.html webserver.py admin@i-000f3b7345baf2e3d:~$ vim
paris/i-000f3b7345baf2e3d
by SadServersMore by SadServers
admin@i-0ed3276435f610d44:~$ nv localhost 5000 bash: nv: command not found admin@i-0ed3276435f610d44:~$ nc localhost 5000 GET / admin@i-0ed3276435f610d44:~$ admin@i-0ed3276435f610d44:~$ Get / bash: Get: command not found admin@i-0ed3276435f610d44:~$ nc localhost 5000 GET / Welcome! Password is FDZPmh5AX3oiJt admin@i-0ed3276435f610d44:~$ echo FDZPmh5AX3oiJt
paris/i-0ed3276435f610d44 02:29
by SadServerswrite(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(2, ":", 1:) = 1 write(2, "64", 264) = 2 write(2, " +", 2 +) = 2 write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0053deee79e60da67:~$ vim kihei