Skip to content

Instantly share code, notes, and snippets.

@amotmot
amotmot / gist:9936935
Last active December 3, 2015 17:39
Alias - Proxy - Chrome
alias chrome_proxy_no_auditor="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --ignore-certificate-errors --disable-xss-auditor --proxy-server="127.0.0.1:8080""
alias chrome_canary_proxy_no_auditor="/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --ignore-certificate-errors --disable-xss-auditor --proxy-server="127.0.0.1:8080""
@amotmot
amotmot / gist:9937096
Last active August 29, 2015 13:58
start.sh - Burp - Memory Management
#!/bin/bash
nohup java -Xms1G -Xmx2G -XX:MaxPermSize=1G -jar burpsuite_pro_v1.6beta.jar 2>&1 &
@amotmot
amotmot / WAHH_Task_Checklist.md
Created April 16, 2014 21:30
The Web Application Hacker's Handbook - Task Checklist - Github-Flavored Markdown

Keybase proof

I hereby claim:

  • I am gellerb on github.
  • I am gellerb (https://keybase.io/gellerb) on keybase.
  • I have a public key whose fingerprint is 6C4D A8FB 4D61 F21A 39AB 9A94 9C73 FD3A 197B 11BE

To claim this, I am signing this object:

function validateReDoS( string ) {
var expression = /(.|..){999}/;
return expression.test( string );
}
start = process.hrtime();
console.log(validateReDoS('[email protected]'));
console.log(process.hrtime(start));
VBoxManage modifyhd /path/to/<vm_name>/<disk_name>.vdi –resize <size in MB>
VBoxManage clonehd dynamic.vdi static.vdi --format VDI --variant Fixed
alias disable_forward_secrecy_haproxy="sed -i \"s/ciphers 'AES128+EECDH:AES128+EDH'/ciphers 'AES128-SHA'/\" /path/to/haproxy.conf"
alias enable_forward_secrecy_haproxy="sed -i \"s/ciphers 'AES128-SHA'/ciphers 'AES128+EECDH:AES128+EDH'/\" /path/to/haproxy.conf"
@amotmot
amotmot / chrome.py
Created February 27, 2017 20:48 — forked from zweizeichen/chrome.py
Check your browsing history for sites using Cloudflare
import sqlite3
import tldextract
history_domains = set()
cf_domains = None
print("Loading domains from Chrome browsing history...")
# Copy history from ~/Library/Application Support/Google/Chrome/Default/History
conn = sqlite3.connect('History')