command-line-murders/i-04d4862edb008a037
by SadServersMore by SadServers
ended-upgrade-shutdown --wait-for-signal admin 676 672 0 21:34 pts/0 00:00:00 /usr/bin/python3 /usr/bin/as17f33d1f9a8e8c3 -q -i 2 /var/log/cast/i-0017f33d1f9a8e8c3 admin 679 676 0 21:34 pts/0 00:00:00 /usr/bin/python3 /usr/bin/as17f33d1f9a8e8c3 -q -i 2 /var/log/cast/i-0017f33d1f9a8e8c3 admin 725 681 0 21:36 pts/1 00:00:00 grep python admin@i-0017f33d1f9a8e8c3:~$ cat /home/admin/webserver.py cat: /home/admin/webserver.py: Permission denied admin@i-0017f33d1f9a8e8c3:~$ pwd /home/admin admin@i-0017f33d1f9a8e8c3:~$ ls -lrt total 8 -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py drwxr-xr-x 2 admin root 4096 Sep 24 23:20 agent admin@i-0017f33d1f9a8e8c3:~$ c
paris/i-0017f33d1f9a8e8c3 01:41
by SadServersusage: knock [options] <host> <port[:proto]> [port[:proto]] ... options: -u, --udp make all ports hits use UDP (default is TCP) -d, --delay <t> wait <t> milliseconds between port hits -v, --verbose be verbose -V, --version display version -h, --help this help example: knock myserver.example.com 123:tcp 456:udp 789:tcp admin@i-061b09841336bd6c6:~$ knock localhost 5000 admin@i-061b09841336bd6c6:~$ curl localhost curl: (7) Failed to connect to localhost port 80: Connection refused admin@i-061b09841336bd6c6:~$ nano enum.sh admin@i-061b09841336bd6c6:~$ chmod +x enum.sh nd
taipei/i-061b09841336bd6c6 04:44
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-0ba0e9134ae67be7e:~$ ls data admin@i-0ba0e9134ae67be7e:~$