command-line-murders/i-0251f107a16d74a28
by SadServersMore by SadServers
write(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-0a7b6531eabc2bb95:~$ touch newdatafile
kihei/i-0a7b6531eabc2bb95 03:38
by SadServers[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in produ - using env: export GIN_MODE=release - using code: gin.SetMode(gin.ReleaseMode) [GIN-debug] GET /ping --> main.setupRouter.func1 (3 handl[GIN-debug] GET /checkscript/:md5sum --> main.setupRouter.func2 (3 handl[GIN-debug] GET /checkcommand --> main.setupRouter.func3 (3 handl[GIN-debug] GET /gethistory --> main.setupRouter.func4 (3 handl[GIN-debug] GET /getlog --> main.setupRouter.func5 (3 handl[GIN-debug] Listening and serving HTTP on :6767 [GIN-debug] [ERROR] listen tcp :6767: bind: address already in use admin@i-0a03c1c0d563d7772:~/agent$ admin@i-0a03c1c0d563d7772:~/agent$ admin@i-0a03c1c0d563d7772:~/agent$ bash check.sh
paris/i-0a03c1c0d563d7772 04:21
by SadServersdrwxr-xr-x 23 root root 680 Feb 13 18:17 run drwx------ 5 root root 4.0K Feb 13 18:24 root admin@i-05b98f7b26e35f62f:/$ cd admin@i-05b98f7b26e35f62f:~$ ls -Strlh total 5.1G -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 drwxr-xr-x 2 admin root 4.0K Sep 17 17:28 agent drwxr-xr-x 2 admin root 4.0K Feb 13 18:24 data admin@i-05b98f7b26e35f62f:~$ cd data/ admin@i-05b98f7b26e35f62f:~/data$ ls admin@i-05b98f7b26e35f62f:~/data$ cd . admin@i-05b98f7b26e35f62f:~/data$ cd .. admin@i-05b98f7b26e35f62f:~$ mv datafile data admin@i-05b98f7b26e35f62f:~$ ./kihei
kihei/i-05b98f7b26e35f62f 07:19
by SadServersadmin@i-041e19fae03c7874a:~$ ss -natup | grep 5000 tcp LISTEN 0 128 127.0.0.1:5000 0 admin@i-041e19fae03c7874a:~$ curl localhost:5000 Unauthorizedadmin@i-041e19fae03c7874a:~$ curl http://localhost:5000 Welcome! Password is FDZPmh5AX3oiJtadmin@i-041e19fae03c7874a:~$ nc localhost 500GET /HTTP/1.1