Giter Site home page Giter Site logo

xssrecon's Introduction

XSSRecon - Reflected XSS Scanner

python size lastcommit follow

  • Scans a website for reflected Cross-Site-Scripting
  • Zero false positives, its using a real browser checking for the popups
  • Automatic out-of-scope checking (experimental, but works very well yet)
  • Uses Python 3.7 with selenium / chromedriver
  • Crawler or single URL scanner
  • Configurable:
    --target | Target to scan
    --crawl | Activate crawler
    --wordlist | Wordlist to use
    --delay | Delay between requests
    --visible | Visible browser for debugging (chromedriver)
    --silent | Only print when vulns have been found

Usage & examples

  1. Single URL Scan

python3 xssrecon.py --target https://example.com/index.php?id=

  1. Crawler

python3 xssrecon.py --target https://example.com --crawl

FAQ

  • It doesnt recognize chromedriver on my system!
    Solution:
    Quick install script:
sudo apt-get install unzip &&
a=$(uname -m) &&
rm -r /tmp/chromedriver/
mkdir /tmp/chromedriver/ &&
wget -O /tmp/chromedriver/LATEST_RELEASE http://chromedriver.storage.googleapis.com/LATEST_RELEASE &&
if [ $a == i686 ]; then b=32; elif [ $a == x86_64 ]; then b=64; fi &&
latest=$(cat /tmp/chromedriver/LATEST_RELEASE) &&
wget -O /tmp/chromedriver/chromedriver.zip 'http://chromedriver.storage.googleapis.com/'$latest'/chromedriver_linux'$b'.zip' &&
sudo unzip /tmp/chromedriver/chromedriver.zip chromedriver -d /usr/local/bin/ &&
echo 'success?'   
  • Its too fast! I think its not working correctly!
    Because of that there is the --delay argument :)

  • My terminal doesnt seem to work correctly with this tool, instead of showing "live" results it spams my terminal!
    I am working on this, the tool works perfectly on Kali 2019.3, but on 2019.4 ive noticed it spams the terminal (though it does still run like a charm when you use the xterm terminal (for that, simply enter xterm into the default terminal)). If that happens to you, live with the spam or use the --silent argument, which only prints when it found a vulnerability

  • The crawler scans each href on the website, without checking for duplicates!
    Im working on that, the crawler is experimental yet

  • Why cant it do DOM based XSS & generate its own payloads!!
    Im not a cross-site-scripting expert, and i plan to do both of those!

  • I want to help!
    Thats great! Feel free to message me! :)

xssrecon's People

Contributors

ak-wa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.