Skip to content

Instantly share code, notes, and snippets.

@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
#! /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"