Web Application Hacker's Handbook Task checklist as a Github-Flavored Markdown file
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
| #!/usr/bin/env ruby | |
| # encoding: BINARY | |
| require 'socket' | |
| require 'timeout' | |
| require 'openssl' | |
| module ContentType | |
| ALERT = "\x15" |
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
| #!/usr/bin/env ruby | |
| # encoding: BINARY | |
| require 'socket' | |
| require 'timeout' | |
| require 'openssl' | |
| module ContentType | |
| ALERT = "\x15" | |
| HEARTBEAT = "\x18" |
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
| Strict-Transport-Security: max-age:31536000; includeSubDomains |
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
| <IfModule mod_headers.c> | |
| # this domain should only be contacted in HTTPS for the next 6 months | |
| Header add Strict-Transport-Security "max-age=15768000" | |
| </IfModule> |
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
| Gellers-MacBook-Pro:HSTS $ curl -si nvisium.com | grep ^Strict | |
| Strict-Transport-Security: max-age=31536000 |
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
| add_header Strict-Transport-Security "max-age=31536000; includeSubDomains"; |
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
| config.force_ssl = true |
Web Application Hacker's Handbook Task checklist as a Github-Flavored Markdown file
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
| worker_processes 1; | |
| user nobody nogroup; | |
| pid /tmp/nginx.pid; | |
| error_log /var/log/nginx.error.log; | |
| events { | |
| worker_connections 1024; | |
| accept_mutex off; | |
| } | |
| http { |