mikesdsd / Bug-Bounty-Oneliners

Oneliners curated from my experience and from the internet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug-Bounty-Oneliners

Oneliners curated from my experience and from the internet

Oneliner to get HTTP Titles:(Update! HTTPX does a better job :-) )

for i in $(cat urls.txt ); do echo "$i | $(curl --connect-timeout 0.5 $i -so - | grep -iPo '(?<=<title>)(.*)(?=</title>)')"; done | tee -a titles.txt

Extract subdomains from IP range:

nmap IP_range | grep "domain" | awk '{print $5}'

Find subdomains and takeover

subfinder -d {target} >> domains ; assetfinder -subs-only {target} >> domains ; amass enum -norecursive -noalts -d {target} >> domains ; subjack -w domains -t 100 -timeout 30 -ssl -c ~/fingerprints.json -v 3 >> takeover ;

Extract juicy info from unpacked APK

apktool d apk;grep -EHim "accesskey|admin|aes|api_key|apikey|checkClientTrusted|crypt|http:|https:|password|pinning|secret|SHA256|SharedPreferences|superuser|token|X509TrustManager|insert into" APKfolder

Gather all urls, send to burp

cat hosts | sed 's/https\?:\/\///' | gau > urls.txt
cat urls.txt | grep -P "\w+\.js(\?|$)" | sort -u > jsurls.txt
ffuf -mc 200 -w jsurls.txt:HFUZZ -u HFUZZ -replay-proxy http:127.0.0.1:8080

Extract all javascript links from a domain using gau and grep

echo domain | gau | grep -Eo "https?://\S+?\.js" 

About

Oneliners curated from my experience and from the internet

License:MIT License