command-line-murders/i-0ac011fbc7498252b
by SadServersMore by SadServers
drwxr-xr-x 2 admin root 4.0K Sep 17 17:28 agent drwxr-xr-x 2 admin root 4.0K Nov 2 17:37 data -rw-r--r-- 1 root root 5.0G Sep 17 17:28 datafile -rwxr-xr-x 1 admin root 2.2M Sep 17 17:28 kihei -rw-r--r-- 1 admin admin 20K Nov 2 17:37 out admin@i-06688559e0cbdf975:~$ 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-06688559e0cbdf975:~$ vim out (gdb) ck.ain.go: No such file or directory.' to list them.debug_gdb_scriptsl> Go
kihei/i-06688559e0cbdf975 08:13
by SadServerswrite(2, "main.main", 9main.main) = 9 write(2, "(", 1() = 1 write(2, ")\n", 2) ) = 2 write(2, "\t", 1 ) = 1 write(2, "./main.go", 9./main.go) = 9 write(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-0a15686ccdc37dbde:~$ strace ./kihei | grep /home/admin
kihei/i-0a15686ccdc37dbde 01:19
by SadServersadmin@i-0be4fa9417f6a9d57:~$ less /var/log/journal/ec26942be8219bc22967aa0256120system.journal system@df99c4b1471c47279f87f0a9acf83714-0000000000000001-00060590bd3fe579.journaadmin@i-0be4fa9417f6a9d57:~$ less /var/log/journal/ec26942be8219bc22967aa0256120"/var/log/journal/ec26942be8219bc22967aa0256120fca/system.journal" may be a binaadmin@i-0be4fa9417f6a9d57:~$ less /var/log/^C admin@i-0be4fa9417f6a9d57:~$ ls agent webserver.py admin@i-0be4fa9417f6a9d57:~$ ./webserver.py bash: ./webserver.py: Permission denied admin@i-0be4fa9417f6a9d57:~$ chmod +x ./webserver.py chmod: changing permissions of './webserver.py': Operation not permitted admin@i-0be4fa9417f6a9d57:~$ curl localhost:500 curl: (7) Failed to connect to localhost port 500: Connection refused admin@i-0be4fa9417f6a9d57:~$