Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled exception (#038b6dca) #504

Open
sqlmapreporter opened this issue Jan 14, 2022 · 0 comments
Open

Unhandled exception (#038b6dca) #504

sqlmapreporter opened this issue Jan 14, 2022 · 0 comments

Comments

@sqlmapreporter
Copy link

W13scan plugin traceback:
Running version: 2.2.2
Python version: 3.7.9
Operating system: Windows-10-10.0.18362-SP0


request raw:
POST /Ajax/Monitor.php 1.1
Host: www.dfpv.com.cn
Connection: keep-alive
Content-Length: 1008
sec-ch-ua: "Chromium";v="94", "Google Chrome";v="94", ";Not A Brand";v="99"
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36
sec-ch-ua-platform: "Windows"
Content-Type: multipart/form-data; boundary=----WebKitFormBoundary5Bzrh3a0DROOGAHJ
Accept: */*
Origin: https://www.dfpv.com.cn
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://www.dfpv.com.cn/
Accept-Encoding: gzip, deflate, 
Accept-Language: zh-CN,zh;q=0.9
cookie: *
Traceback (most recent call last):
  File "D:\桌面\Desktop\w13scan-master\W13SCAN\lib\core\plugins.py", line 158, in execute
    output = self.audit()
  File "D:\桌面\Desktop\w13scan-master\W13SCAN\scanners\PerFile\unauth.py", line 40, in audit
    r = self.req(position, origin_dict, headers=request_headers_for_payload)
  File "D:\桌面\Desktop\w13scan-master\W13SCAN\lib\core\plugins.py", line 147, in req
    cookies=params)
  File "D:\渗透工具集\python3.7.9及安装包\python3.x\lib\site-packages\requests\api.py", line 119, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "D:\渗透工具集\python3.7.9及安装包\python3.x\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "D:\桌面\Desktop\w13scan-master\W13SCAN\thirdpart\requests\__init__.py", line 52, in session_request
    prep = self.prepare_request(req)
  File "D:\渗透工具集\python3.7.9及安装包\python3.x\lib\site-packages\requests\sessions.py", line 459, in prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "D:\渗透工具集\python3.7.9及安装包\python3.x\lib\site-packages\requests\models.py", line 315, in prepare
    self.prepare_headers(headers)
  File "D:\渗透工具集\python3.7.9及安装包\python3.x\lib\site-packages\requests\models.py", line 449, in prepare_headers
    check_header_validity(header)
  File "D:\渗透工具集\python3.7.9及安装包\python3.x\lib\site-packages\requests\utils.py", line 947, in check_header_validity
    raise InvalidHeader("Invalid return character or leading space in header: %s" % name)
requests.exceptions.InvalidHeader: Invalid return character or leading space in header: Cookie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant