w-digital-scanner / w13scan

Passive Security Scanner (被动式安全扫描器)
GNU General Public License v2.0
1.9k stars 360 forks source link

Unhandled exception (#2852e751) #491

Open sqlmapreporter opened 2 years ago

sqlmapreporter commented 2 years ago
W13scan plugin traceback:
Running version: 2.2.2
Python version: 3.8.10
Operating system: Linux-5.4.0-1049-kvm-x86_64-with-glibc2.29

request raw:
POST /api/userlines/ 1.1
Host: vulfocus.fofa.so
Proxy-Connection: keep-alive
Content-Length: 0
Accept: application/json, text/plain, */*
Authorization: BMH eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMDM5NiwidXNlcm5hbWUiOiIyNDc2OTYyNjQ4QHFxLmNvbSIsImV4cCI6MTYzOTQ4NTU4NiwiZW1haWwiOiIyNDc2OTYyNjQ4QHFxLmNvbSJ9.nh8hH_KxvujalQNO93zVZ8Zp4bEu5JaAfyEUEaD9iMI
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36
Origin: http://vulfocus.fofa.so
Referer: http://vulfocus.fofa.so/
Accept-Encoding: gzip, deflate
Accept-Language: zh,zh-CN;q=0.9
cookie: *
Traceback (most recent call last):
  File "/tools/w13scan-master/W13SCAN/lib/core/plugins.py", line 160, in execute
    output = self.audit()
  File "/tools/w13scan-master/W13SCAN/scanners/PerFile/xss.py", line 68, in audit
    if not re.search(xsschecker, r1.text, re.I):
AttributeError: 'bool' object has no attribute 'text'