kihei/i-0edfcbe022622162b
by SadServersMore by SadServers
admin@i-001eda64855cc97ed:~$ id -a uid=1000(admin) gid=1000(admin) groups=1000(admin),4(adm),20(dialout),24(cdrom),udio),30(dip),44(video),46(plugdev),109(netdev) admin@i-001eda64855cc97ed:~$ sudo vim 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: sudo: a password is required admin@i-001eda64855cc97ed:~$ sudo -l
paris/i-001eda64855cc97ed 03:34
by SadServersdrwx------ 3 admin admin 4.0K Sep 20 2023 .ansible -rw------- 1 admin admin 471 Apr 5 14:55 .bash_history -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3.5K Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4.0K Sep 20 2023 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4.0K Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4.0K Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-000557d38915e9a6c:~$ chown chown: missing operand Try 'chown --help' for more information. admin@i-000557d38915e9a6c:~$ chown admin:admin webserver.py chown: changing ownership of 'webserver.py': Operation not permitted admin@i-000557d38915e9a6c:~$ curl localhost:5000
paris/i-000557d38915e9a6c 02:48
by SadServerswrite(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-0a7b505525f0420f4:~$ ls agent data datafile kihei admin@i-0a7b505525f0420f4:~$ ^C admin@i-0a7b505525f0420f4:~$ cd /home/admin/ admin@i-0a7b505525f0420f4:~$ ls agent data datafile kihei admin@i-0a7b505525f0420f4:~$ cd