command-line-murders/i-0d8dd926b5bff9912
by SadServersMore by SadServers
#1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. [sudo] password for admin: sudo: a password is required admin@i-01ea60294022f2d7a:~$ curl localhost:5000 Unauthorizedadmin@i-01ea60294022f2d7a:~$ ns localhost:5000 bash: ns: command not found admin@i-01ea60294022f2d7a:~$ nc localhost:5000 nc: missing port number admin@i-01ea60294022f2d7a:~$ GET / bash: GET: command not found admin@i-01ea60294022f2d7a:~$ nc localhost:5000
paris/i-01ea60294022f2d7a 01:32
by SadServersbash: /home/admin/datafile: Permission denied admin@i-00ca6dd8e9e53cf6e:~$ sudo echo "" > /home/admin/datafile bash: /home/admin/datafile: Permission denied admin@i-00ca6dd8e9e53cf6e:~$ sudo su root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# echo "" > /home/admin/datafile root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# root@i-00ca6dd8e9e53cf6e:/home/admin# exit exit admin@i-00ca6dd8e9e53cf6e:~$ cd /home/admin/ admin@i-00ca6dd8e9e53cf6e:~$ ls agent data datafile kihei admin@i-00ca6dd8e9e53cf6e:~$ ./
kihei/i-00ca6dd8e9e53cf6e 01:59
by SadServers/usr/local/bin/docker-entrypoint.sh rabbitmq-server & sleep 5 rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbit\@$HOSTNAME.pid else /usr/local/bin/docker-entrypoint.sh rabbitmq-server -detached sleep 5 rabbitmqctl wait /var/lib/rabbitmq/mnesia/rabbit\@$HOSTNAME.pid rabbitmqctl stop_app rabbitmqctl join_cluster rabbit@$JOIN_CLUSTER_HOST rabbitmqctl start_app fi # Keep foreground process active ... tail -f /var/log/rabbitmq/*.