paris/i-00106663cc89b7917
by SadServersMore by SadServers
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-0607715dd43c3c574:~$ sudo vi 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: sudo: a password is required admin@i-0607715dd43c3c574:~$ curl localhost:5000 Unauthorizedadmin@i-0607715dd43c3c574:~$ curl localhost:5000
paris/i-0607715dd43c3c574 01:22
by SadServers-l Make bash act as if it had been invoked as a login shell (see I -r If the -r option is present, the shell becomes restricted (see -s If the -s option is present, or if no arguments remain after op the positional parameters to be set when invoking an interactiv -v Print shell input lines as they are read. -x Print commands and their arguments as they are executed. -D A list of all double-quoted strings preceded by $ is printed when the current locale is not C or POSIX. This implies the -n [-+]O [shopt_option] shopt_option is one of the shell options accepted by the shopt value of that option; +O unsets it. If shopt_option is not s standard output. If the invocation option is +O, the output is -- A -- signals the end of options and disables further option pro ment of - is equivalent to --. Manual page bash(1) line 1 (press h for help or q to quit)
kihei/i-077fdacd18ea1b9a8 06:07
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