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

Bug Report: Unhandled exception "http.client.IncompleteRead: IncompleteRead(841 bytes read, 31298 more expected)" (#49905663) #859

Closed
commixreporter opened this issue Aug 30, 2023 · 1 comment

Comments

@commixreporter
Copy link

Commix version: 3.8-stable
Python version: 3.11.4
Operating system: posix
Command line: commix.py --wizard

Traceback (most recent call last):
  File "commix.py", line 35, in <module>
    main()
  File "commix.py", line 30, in main
    import src.core.main
  File "main.py", line 819, in <module>
    main(filename, url)
  File "main.py", line 533, in main
    controller.do_check(url, http_request_method, filename)
  File "controller.py", line 732, in do_check
    if perform_checks(url, http_request_method, filename) == False:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "controller.py", line 681, in perform_checks
    post_request(url, http_request_method, filename, timesec)
  File "controller.py", line 628, in post_request
    injection_proccess(url, check_parameter, http_request_method, filename, timesec)
  File "controller.py", line 329, in injection_proccess
    url = code_injections_heuristic_basic(url, http_request_method, check_parameter, the_type, header_name, inject_http_headers)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "controller.py", line 176, in code_injections_heuristic_basic
    response = requests.get_request_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "requests.py", line 388, in get_request_response
    headers.check_http_traffic(request)
  File "headers.py", line 207, in check_http_traffic
    page = checks.page_encoding(response, action="encode")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "checks.py", line 446, in page_encoding
    page = response.read()
           ^^^^^^^^^^^^^^^
  File "client.py", line 482, in read
    s = self._safe_read(self.length)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "client.py", line 633, in _safe_read
    raise IncompleteRead(data, amt-len(data))
http.client.IncompleteRead: IncompleteRead(841 bytes read, 31298 more expected)
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related issues.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants