command-line-murders/i-051100b07140b7832
by SadServersMore by SadServers
Starting Nmap 7.80 ( https://nmap.org ) at 2023-10-01 16:44 UTC Couldn't open a raw socket. Error: Operation not permitted (1) admin@i-0563da5eff2bd49c2:~$ echo 1 > /dev/tcp/127.0.0.1/80 bash: connect: Connection refused bash: /dev/tcp/127.0.0.1/80: Connection refused admin@i-0563da5eff2bd49c2:~$ echo 1 > /dev/tcp/127.0.0.1/1 bash: connect: Connection refused bash: /dev/tcp/127.0.0.1/1: Connection refused admin@i-0563da5eff2bd49c2:~$ echo 1 > /dev/tcp/127.0.0.1/2 bash: connect: Connection refused bash: /dev/tcp/127.0.0.1/2: Connection refused admin@i-0563da5eff2bd49c2:~$ echo 1 > /dev/tcp/127.0.0.1/3 bash: connect: Connection refused bash: /dev/tcp/127.0.0.1/3: Connection refused admin@i-0563da5eff2bd49c2:~$ for
taipei/i-0563da5eff2bd49c2 02:32
by SadServersnvme0n1p14 259:4 0 3M 0 part nvme0n1p15 259:5 0 124M 0 part /boot/efi admin@i-0fd2941b6817bc7a9:~$ pvcreate /dev/^C admin@i-0fd2941b6817bc7a9:~$ pvcreate /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0fd2941b6817bc7a9:~$ sudo pvcreate /dev/nvme1n1 /dev/nvme2n1 Physical volume "/dev/nvme1n1" successfully created. Physical volume "/dev/nvme2n1" successfully created. admin@i-0fd2941b6817bc7a9:~$ vgcreate vg /dev/nvme1n1 /dev/nvme2n1 WARNING: Running as a non-root user. Functionality may be unavailable. /run/lock/lvm/P_global:aux: open failed: Permission denied admin@i-0fd2941b6817bc7a9:~$ sudo vgcreate vg /dev/nvme1n1 /dev/nvme2n1 Volume group "vg" successfully created admin@i-0fd2941b6817bc7a9:~$ lvcreate -n lv
kihei/i-0fd2941b6817bc7a9 02:32
by SadServers[:delay_enter=DELAY][:delay_exit=DELAY][:when=WHEN], --inject=SET[:error=ERRNO|:retval=VALUE][:signal=SIG][:syscall=SYSCALL] [:delay_enter=DELAY][:delay_exit=DELAY][:when=WHEN] perform syscall tampering for the syscalls in SET delay: microseconds or NUMBER{s|ms|us|ns} when: FIRST[..LAST][+[STEP]] -e fault=SET[:error=ERRNO][:when=WHEN], --fault=SET[:error=ERRNO][:when=WHEN] synonym for -e inject with default ERRNO set to ENOSYS. Miscellaneous: -d, --debug enable debug output to stderr -h, --help print help message --seccomp-bpf enable seccomp-bpf filtering -V, --version print version admin@i-054157b3157fdc4cd:~$ strace ./kihei -v
kihei/i-054157b3157fdc4cd 01:21
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