项目作者: keven1z

项目描述 :
Xssing is a simple semantic analysis based on the location of the vulnerability, to determine the existence of the vulnerability, and use chromium to verify that xss is existed.
高级语言: Python
项目地址: git://github.com/keven1z/xssing.git
创建时间: 2019-11-13T08:00:05Z
项目社区:https://github.com/keven1z/xssing

开源协议:

下载


XSSING

xssing是一个根据参数存在位置构造payload,并结合chromium保证xss的正确率。

安装

环境要求

python 3.7及以上

安装步骤

运行 pip3 install -r reqirements.txt

Usage

XSSING选项信息

  1. python3 xssing.py -h
  1. usage: xssing.py [-h] [--version] [-v VERBOSE] [-u URL] [-r REQUESTFILE]
  2. [--method METHOD] [--user-agent AGENT] [--data DATA]
  3. [--cookie COOKIE] [-p PARAMETER] [--prefix PREFIX]
  4. [--suffix SUFFIX] [--test-all] [--level LEVEL]
  5. [--sleep SLEEP]
  6. optional arguments:
  7. -h, --help show this help message and exit
  8. --version Show program's version number and exit
  9. -v VERBOSE Verbosity level: 0-1 (default 0)
  10. Target:
  11. At least one of these options has to be provided to define the target(s)
  12. -u URL, --url URL Target URL (e.g. "http://www.site.com/vuln.php?id=1")
  13. -r REQUESTFILE Load HTTP request from a file
  14. Request:
  15. These options can be used to specify how to connect to the target URL
  16. --method METHOD Force usage of given HTTP method (e.g. PUT)
  17. --user-agent AGENT HTTP User-Agent header value
  18. --data DATA Data string to be sent through POST (e.g. "id=1")
  19. --cookie COOKIE HTTP Cookie header value (e.g. "PHPSESSID=a8d127e..")
  20. Injection:
  21. These options can be used to specify which parameters to test for, provide
  22. custom injection payloads and optional tampering scripts
  23. -p PARAMETER Testable parameter(s)
  24. --prefix PREFIX Injection payload prefix string
  25. --suffix SUFFIX Injection payload suffix string
  26. Detection:
  27. These options can be used to customize the detection phase
  28. --test-all test all payload
  29. --level LEVEL Level of tests to perform (1-2, default 1)
  30. Optimization:
  31. These options can be used to optimize the performance of xssing
  32. --sleep SLEEP Seconds to wait before check (default 0)

EXAMPLE

example