taipei/i-080ac908debd2d3d7
by SadServersMore by SadServers
# Establish a connection to RabbitMQ connection = pika.BlockingConnection(parameters) channel = connection.channel() # Declare a queue channel.queue_declare(queue=QUEUE) # Publish a message to the queue channel.basic_publish(exchange='', routing_key=QUEUE, body=MESSAGE) print("Message sent to RabbitMQ") # Close the connection connection.close() admin@i-0ffa8982dfb2f3217:~$ grep RMQ_QUEUE
chennai/i-0ffa8982dfb2f3217 17:53
by SadServersgoroutine 1 [running]: main.main() ./main.go:64 +0x47d admin@i-0f6d76d4e64ebbaa3:~$ less /home/admin/kihei "/home/admin/kihei" may be a binary file. See it anyway? admin@i-0f6d76d4e64ebbaa3:~$ admin@i-0f6d76d4e64ebbaa3:~$ 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-0f6d76d4e64ebbaa3:~$
kihei/i-0f6d76d4e64ebbaa3 00:29
by SadServers2 2023-09-20T15:58:02 exit 3 2023-12-18T23:23:28 ls 4 2023-12-18T23:23:32 vim webserver.py 5 2023-12-18T23:23:35 ls -l 6 2023-12-18T23:23:37 sudo -l 7 2023-12-18T23:23:44 sudo view webserver.py 8 2023-12-18T23:24:00 ls 9 2023-12-18T23:24:02 ls agent 10 2023-12-18T23:24:08 view agent/check.sh 11 2023-12-18T23:24:22 netstat -nl4 12 2023-12-18T23:24:29 curl 127.0.0.1:5000 13 2023-12-18T23:24:40 curl -v 127.0.0.1:5000 14 2023-12-18T23:25:09 history admin@i-091ee8f6864cabf76:~$ view .bash_history admin@i-091ee8f6864cabf76:~$
paris/i-091ee8f6864cabf76 02:11
by SadServersadmin@i-0098b25085dae6810:~$ sudo cat webserver.py We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: Sorry, try again. [sudo] password for admin: sudo: 1 incorrect password attempt admin@i-0098b25085dae6810:~$ curl localhost:5000 Unauthorizedadmin@i-0098b25085dae6810:~$