command-line-murders/i-0c5964a829a868a52
by SadServersMore by SadServers
[sudo] password for admin: Sorry, try again. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 3 incorrect password attempts admin@i-048902c622e991104:~$ su Password: su: Authentication failure admin@i-048902c622e991104:~$ systemctl status nginx Unit nginx.service could not be found. admin@i-048902c622e991104:~$ systemctl status apache2 Unit apache2.service could not be found. admin@i-048902c622e991104:~$ curl -I local
paris/i-048902c622e991104 02:58
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 2023 .. drwx------ 3 admin admin 4096 Sep 20 2023 .ansible -rw------- 1 admin admin 362 Nov 15 11:37 .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 2023 .config drwxr-xr-x 3 admin admin 4096 Nov 15 11:37 .local -rw-r--r-- 1 admin admin 807 Aug 4 2021 .profile drwx------ 2 admin admin 4096 Sep 17 2023 .ssh -rw------- 1 admin admin 682 Nov 15 11:35 .viminfo drwxr-xr-x 2 admin root 4096 Sep 24 2023 agent -rwxrwx--- 1 root root 360 Sep 24 2023 webserver.py admin@i-0fda8b1453b8d024f:~$ python3 webserver.py python3: can't open file '/home/admin/webserver.py': [Errno 13] Permission denieadmin@i-0fda8b1453b8d024f:~$ cp webserver.py