Skip to content

Instantly share code, notes, and snippets.

@scumdestroy
Created February 11, 2021 14:01
Show Gist options
  • Save scumdestroy/d15c1eabbdd17016d5f74e20495e6417 to your computer and use it in GitHub Desktop.
Save scumdestroy/d15c1eabbdd17016d5f74e20495e6417 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo $1 | waybackurls > wayback-results
cat wayback-results | grep "\.conf" | tee $1-poorGF
cat wayback-results | grep "\.xml" | tee -a $1-poorGF
cat wayback-results | grep "\.db" | tee -a $1-poorGF
cat wayback-results | grep "\.log" | tee -a $1-poorGF
cat wayback-results | grep "config" | tee -a $1-poorGF
cat wayback-results | grep "env" | tee -a $1-poorGF
cat wayback-results | grep "key" | tee -a $1-poorGF
cat wayback-results | grep "token" | tee -a $1-poorGF
cat wayback-results | grep "panel" | tee -a $1-poorGF
cat wayback-results | grep "dashboard" | tee -a $1-poorGF
cat $1-poorGF | rmcrap | sort -u > p00r
mv p00r $1-poorGF
mv wayback-results wb-$1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment