paris/i-09e85561fc3517875
by SadServersMore by SadServers
check.sh sadagent sadagent.txt admin@i-095ed92c0df54793b:~$ cat agent/ check.sh sadagent sadagent.txt admin@i-095ed92c0df54793b:~$ cat agent/sadagent.txt | tr -cd "[:print:]" admin@i-095ed92c0df54793b:~$ admin@i-095ed92c0df54793b:~$ admin@i-095ed92c0df54793b:~$ admin@i-095ed92c0df54793b:~$ apt install strings E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission dE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are yadmin@i-095ed92c0df54793b:~$ telnet localhost 5000 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'.
paris/i-095ed92c0df54793b 01:27
by SadServersadmin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ admin@i-05ea6cc0264e6ce20:~$ lsof +D lsof: +d not followed by a directory path lsof 4.93.2 latest revision: https://github.com/lsof-org/lsof latest FAQ: https://github.com/lsof-org/lsof/blob/master/00FAQ latest (non-formatted) man page: https://github.com/lsof-org/lsof/blob/master/L usage: [-?abhKlnNoOPRtUvVX] [+|-c c] [+|-d s] [+D D] [+|-E] [+|-e s] [+|-f[gG]] [-F [f]] [-g [s]] [-i [i]] [+|-L [l]] [+m [m]] [+|-M] [-o [o]] [-p s] [+|-r [t]] [-s [p:s]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names] Use the ``-h'' option to get more help information. admin@i-05ea6cc0264e6ce20:~$ lsof +D
kihei/i-05ea6cc0264e6ce20 00:25
by SadServers-rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-049d7de41c1f65c5b:~$ python webserver.py bash: python: command not found admin@i-049d7de41c1f65c5b:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-049d7de41c1f65c5b:~$ systemctl status | grep nginx └─838 grep nginx admin@i-049d7de41c1f65c5b:~$ ls agent webserver.py admin@i-049d7de41c1f65c5b:~$ ls agent check.sh sadagent sadagent.txt admin@i-049d7de41c1f65c5b:~$ curl localhost:50000
paris/i-049d7de41c1f65c5b 04:07
by SadServers#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: [1]+ Stopped sudo cat webserver.py admin@i-03f882b0543e6e7c2:~$ ls -l webserver.py -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-03f882b0543e6e7c2:~$ vi webserver.py [2]+ Stopped vi webserver.py admin@i-03f882b0543e6e7c2:~$ local local locale locale-gen localectl localedef admin@i-03f882b0543e6e7c2:~$ curl: