command-line-murders/i-0322c417c9afe7e83
by SadServersMore by SadServers
write(2, "0x47d", 50x47d) = 5 write(2, "\n", 1 ) = 1 exit_group(2) = ? +++ exited with 2 +++ admin@i-0fb258b95e9e18f0d:~$ ./kihei -? flag provided but not defined: -? Usage of ./kihei: -h Display help -help Display help -v Verbose mode (print extra info) -verbose Verbose mode (print extra info) admin@i-0fb258b95e9e18f0d:~$ ./kihei -?
kihei/i-0fb258b95e9e18f0d 02:50
by SadServersadmin@i-037723d04d1282399:~$ netstat -tulnp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:5000 0.0.0.0:* LISTEN tcp6 0 0 :::22 :::* LISTEN tcp6 0 0 :::6767 :::* LISTEN tcp6 0 0 :::8080 :::* LISTEN udp 0 0 127.0.0.1:323 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp6 0 0 fe80::8e1:d4ff:fe9b:546 :::* udp6 0 0 ::1:323 :::* admin@i-037723d04d1282399:~$
paris/i-037723d04d1282399 07:02
by SadServerscat: /etc/sudoers: Permission denied admin@i-092d4cf55fa0651c2:~$ sudo python3 webserver.py 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-092d4cf55fa0651c2:~$ ls agent webserver.py admin@i-092d4cf55fa0651c2:~$ ps aux |grep webserver
paris/i-092d4cf55fa0651c2 04:06
by SadServersCan't parse size argument. Invalid argument for --size: 100% Error during parsing of command line. admin@i-0999a44d263ea34e9:~$ sudo lvcreate -L 2G -n lv_linear LVM Volume group "LVM" has insufficient free space (510 extents): 512 required. admin@i-0999a44d263ea34e9:~$ sudo lvcreate -L 1.8G -n lv_linear LVM Rounding up size to full physical extent 1.80 GiB Logical volume "lv_linear" created. admin@i-0999a44d263ea34e9:~$ lvs WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0999a44d263ea34e9:~$ sudo lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Con lv_linear LVM -wi-a----- 1.80g admin@i-0999a44d263ea34e9:~$ mkdir /mnt/