Skip to content

Instantly share code, notes, and snippets.

#! /bin/bash
## --proxy-server=socks://127.0.0.1:11080
## --proxy-pac-url="http://zap/proxy.pac"
## --proxy-bypass-list="local" \
if [[ -n "$FRESH" ]]; then
UDD="$TMPDIR/chromium-$RANDOM"
ARGS="$ARGS --user-data-dir=$UDD"
fi
ARGS="$ARGS --no-default-browser-check"
ARGS="$ARGS --no-first-run"
@amotmot
amotmot / search_weak_crypto.sh
Created April 27, 2017 20:22
search weak crypto
#!/bin/sh
exec rg -i -e 'md2|md4|md5|sha1|rc2|rc4|mersenne|mt19937|ecb|3des|getpid|srand|oee|crc|rot13' $1
@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')
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"
VBoxManage modifyhd /path/to/<vm_name>/<disk_name>.vdi –resize <size in MB>
VBoxManage clonehd dynamic.vdi static.vdi --format VDI --variant Fixed
function validateReDoS( string ) {
var expression = /(.|..){999}/;
return expression.test( string );
}
start = process.hrtime();
console.log(validateReDoS('foo@bar.com'));
console.log(process.hrtime(start));

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:

@amotmot
amotmot / WAHH_Task_Checklist.md
Created April 16, 2014 21:30
The Web Application Hacker's Handbook - Task Checklist - Github-Flavored Markdown