command-line-murders/i-015d6bbeec64977f4
by SadServersMore by SadServers
admin@i-098e8bd6780cfa047:~$ sudo netstat -antp We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-098e8bd6780cfa047:~$ ^C admin@i-098e8bd6780cfa047:~$ sys
paris/i-098e8bd6780cfa047 01:27
by SadServers[Unit] Description=Flask Application After=network.target [Service] ExecStart=/usr/bin/python3 /home/admin/webserver.py [Install] WantedBy=multi-user.target admin@i-031b3c138eab9863b:~$ ls -la/etc/systemd/system/flaskapp.service ls: invalid option -- '/' Try 'ls --help' for more information. admin@i-031b3c138eab9863b:~$ ls -la /etc/systemd/system/flaskapp.service -rw-r--r-- 1 root root 159 Sep 24 2023 /etc/systemd/system/flaskapp.service admin@i-031b3c138eab9863b:~$
paris/i-031b3c138eab9863b 03:41
by SadServersadmin@i-0f7e099fcadc77c31:~$ cat /proc/568/environ LANG=C.UTF-8PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binHOMAM=8:11432SUPERSECRETPASSWORD=bdFBkE4suaCyadmin@i-0f7e099fcadc77c31:~$ cat /procLANG=C.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin HOME=/home/admin LOGNAME=admin USER=admin SHELL=/bin/bash INVOCATION_ID=c958d25f18954f39ab0e46766a35d29f JOURNAL_STREAM=8:11432 SUPERSECRETPASSWORD=bdFBkE4suaCy admin@i-0f7e099fcadc77c31:~$ cat /proc/568/environ | tr '\0' '\n' | grep SUPER SUPERSECRETPASSWORD=bdFBkE4suaCy admin@i-0f7e099fcadc77c31:~$ cat /proc/568/environ | tr '\0' '\n' | grep SUPER
monaco/i-0f7e099fcadc77c31 03:43
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-0cd15b190b867f346:~$ touch data/newdatafile admin@i-0cd15b190b867f346:~$ chmod 444 datan