command-line-murders/i-054aa303ebdbc6cd5
by SadServersMore by SadServers
else echo -n "NO" fi admin@i-08604040ea56a1548:~$ file kihei kihei: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Gadmin@i-08604040ea56a1548:~$ ./kihei panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-08604040ea56a1548:~$ which vim /usr/bin/vim admin@i-08604040ea56a1548:~$ vim -b kihei (gdb) e.in runtime/sys_linux_amd64.so such file or directory.in at main.go:16
kihei/i-08604040ea56a1548 09:23
by SadServersCreating file /home/admin/data/newdatafile with size 1.5GB... panic: exit status 1 goroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-09404e48458866442:~$ df -h Filesystem Size Used Avail Use% Mounted on udev 217M 0 217M 0% /dev tmpfs 46M 368K 46M 1% /run /dev/nvme0n1p1 7.7G 6.1G 1.2G 84% / tmpfs 228M 12K 228M 1% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/nvme0n1p15 124M 5.9M 118M 5% /boot/efi admin@i-09404e48458866442:~$
kihei/i-09404e48458866442 00:51
by SadServersCGroup: /system.slice/flaskapp.service └─574 /usr/bin/python3 /home/admin/webserver.py Nov 22 20:13:43 i-0cda4f62b9b5220f9 systemd[1]: Started Flask Application. Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: * Serving Flask app 'webserveNov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: * Debug mode: off Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: WARNING: This is a development a production deployment. Use a production WSGI server instead. Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: * Running on http://127.0.0.1Nov 22 20:13:44 i-0cda4f62b9b5220f9 python3[574]: Press CTRL+C to quit Nov 22 20:15:37 i-0cda4f62b9b5220f9 python3[574]: 127.0.0.1 - - [22/Nov/2024 20:00 - admin@i-0cda4f62b9b5220f9:~$ ps -aux | grep flask admin 959 0.0 0.1 5264 640 pts/1 S<+ 20:20 0:00 grep flask admin@i-0cda4f62b9b5220f9:~$ ps -aux | grep flask
paris/i-0cda4f62b9b5220f9 04:19
by SadServers-L possibly with LWP and NLWP columns -m, m after processes -T possibly with SPID column For more details see ps(1). admin@i-06321e2dae7759c94:~$ sudo lsof -i -P -n | grep LISTEN 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: