command-line-murders/i-08ec65f5019ca44cc
by SadServersMore 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 3 root root 4096 Sep 17 16:44 .. drwx------ 3 admin admin 4096 Sep 20 15:52 .ansible -rw------- 1 admin admin 57 Sep 20 15:58 .bash_history -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 Sep 20 15:56 .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 24 23:20 agent -rwxrwx--- 1 root root 360 Sep 24 23:20 webserver.py admin@i-057a22a824cc9eb82:~$ pwd /home/admin admin@i-057a22a824cc9eb82:~$ curl localhost:5000 Unauthorizedadmin@i-057a22a824cc9eb82:~$ admin@i-057a22a824cc9eb82:~$ netstat
paris/i-057a22a824cc9eb82 00:49
by SadServersdrwxr-xr-x 7 admin admin 4096 Oct 30 17:27 . drwxr-xr-x 3 root root 4096 Sep 17 2023 .. drwx------ 3 admin admin 4096 Sep 17 2023 .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 Oct 30 17:27 .config -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh drwxr-xr-x 2 admin root 4096 Sep 17 2023 agent drwxr-xr-x 2 admin root 4096 Sep 17 2023 data -rw-r--r-- 1 root root 5368709120 Sep 17 2023 datafile -rwxr-xr-x 1 admin root 2207109 Sep 17 2023 kihei root@i-0b90c906ab81ab69c:~# exit exit admin@i-0b90c906ab81ab69c:~$ /home/admin/kihei
kihei/i-0b90c906ab81ab69c 01:56
by SadServersdrwxr-xr-x 2 admin root 4096 Nov 6 03:17 data drwxr-xr-x 7 admin admin 4096 Nov 6 03:17 . drwxr-xr-x 3 admin admin 4096 Nov 6 03:17 .config drwxr-xr-x 2 admin root 4096 Sep 17 17:28 agent -rwxr-xr-x 1 admin root 2207109 Sep 17 17:28 kihei -rw-r--r-- 1 root root 5368709120 Sep 17 17:28 datafile drwx------ 3 admin admin 4096 Sep 17 17:15 .ansible drwx------ 2 admin admin 4096 Sep 17 16:44 .ssh drwxr-xr-x 3 root root 4096 Sep 17 16:44 .. -rw-r--r-- 1 admin admin 220 Aug 4 2021 .bash_logout -rw-r--r-- 1 admin admin 3526 Aug 4 2021 .bashrc -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile admin@i-0053f9210f2384812:~$ cd /ad bash: cd: /ad: No such file or directory admin@i-0053f9210f2384812:~$ cd /hom