command-line-murders/i-083a2337f8599cdb3
by SadServersMore by SadServers
admin@i-0c111f859fbef3091:/usr/lib$ ls NetworkManager ifupdown networkd-dispatcher sudo X11 init openssh sysctapparmor kernel os-release systeapt klibc pam.d sysusbinfmt.d klibc-YUkGbOClhnaZRUUd4cUed0X2XZI.so python2.7 tc cloud-init libsupp.a python3 termidbus-1.0 locale python3.9 tmpfidebug lsb rsyslog udev dpkg man-db runit-helper valgrenvironment.d mime sasl2 x86_6file modprobe.d sftp-server groff modules shim grub modules-load.d ssl admin@i-0c111f859fbef3091:/usr/lib$ cd lib
kihei/i-0c111f859fbef3091 01:44
by SadServers-p, --program Show the PID and name of the program to which each socket belongs. -l, --listening Show only listening sockets. (These are omitted by default.) -a, --all Show both listening and non-listening sockets. With the --interfaces opt -F Print routing information from the FIB. (This is the default.) -C Manual page netstat(8) line 71 (press h for help or q to quit)
paris/i-0e419b6eddb51f1e5 01:54
by SadServersagent webserver.py admin@i-0360c0d51a2cc6a1e:~$ ss -lnt4p State Recv-Q Send-Q Local Address:Port Peer AddreLISTEN 0 128 127.0.0.1:5000 0.0.0LISTEN 0 128 0.0.0.0:22 0.0.0admin@i-0360c0d51a2cc6a1e:~$ curl localhost:5000 Unauthorizedadmin@i-0360c0d51a2cc6a1e:~$ ls agent webserver.py admin@i-0360c0d51a2cc6a1e:~$ string webserver.py bash: string: command not found admin@i-0360c0d51a2cc6a1e:~$ python webserver.py bash: python: command not found admin@i-0360c0d51a2cc6a1e:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0360c0d51a2cc6a1e:~$ c
paris/i-0360c0d51a2cc6a1e 03:45
by SadServersdrwxr-xr-x 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc drwxr-xr-x 3 admin admin 4096 Jan 2 13:17 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent drwxr-xr-x 2 admin root 4096 Jan 2 13:20 data -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei -rw-r--r-- 1 admin admin 0 Jan 2 13:19 newdatafile admin@i-0d2fffbb2efd15ca7:~$ touch data/newdatafile admin@i-0d2fffbb2efd15ca7:~$ touch data/newdatafile admin@i-0d2fffbb2efd15ca7:~$ c