This file contains 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
michaelmccabe@Nvis-MBP:~ : gem install brakeman | |
Fetching: ruby_parser-3.4.1.gem (100%) | |
Successfully installed ruby_parser-3.4.1 | |
Fetching: brakeman-2.4.1.gem (100%) | |
Successfully installed brakeman-2.4.1 | |
2 gems installed | |
michaelmccabe@Nvis-MBP:~ : |
This file contains 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
nohup java -Xms1G -Xmx2G -XX:MaxPermSize=1G -jar ~/location/of/burp/jar/burp.jar 2>&1 & |
This file contains 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
Gem::Specification.new do |spec| | |
spec.name = "tester" | |
spec.version = Tester::VERSION | |
spec.authors = ["Mike McCabe"] | |
spec.email = ["mccabe615@gmail.com"] | |
spec.summary = %q{TODO: Write a short summary. Required.} | |
spec.description = %q{TODO: Write a longer description. Optional.} | |
spec.homepage = "" | |
spec.license = "MIT" |
This file contains 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
module BootstrapFlashHelperPatched | |
ALERT_TYPES = [:error, :info, :success, :warning] unless const_defined?(:ALERT_TYPES) | |
def bootstrap_flash_patched | |
flash_messages = [] | |
flash.each do |type, message| | |
# Skip empty messages, e.g. for devise messages set to nothing in a locale file. | |
next if message.blank? | |
type = type.to_sym |
This file contains 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
gem "twitter-bootstrap-rails", :git => 'https://github.com/seyhunak/twitter-bootstrap-rails.git' |
This file contains 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 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 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 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 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 |