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 "TypeError: object of type 'bool' has no len()" (#381b5e62) #934

Closed
commixreporter opened this issue Jun 24, 2024 · 2 comments

Comments

@commixreporter
Copy link

Commix version: 4.0-dev#75
Python version: 3.11.9
Operating system: posix
Command line: commix.py --wizard

Traceback (most recent call last):
  File \"commix.py", line 36, in <module>
    main()
  File \"commix.py", line 31, in main
    import src.core.main
  File \"main.py", line 894, in <module>
    main(filename, url, http_request_method)
  File \"main.py", line 550, in main
    controller.do_check(url, http_request_method, filename)
  File \"controller.py", line 743, in do_check
    perform_checks(url, http_request_method, filename)
  File \"controller.py", line 708, in perform_checks
    data_checks(url, http_request_method, filename, timesec)
  File \"controller.py", line 613, in data_checks
    if get_request(url, http_request_method, filename, timesec) is None:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File \"controller.py", line 575, in get_request
    do_injection(found_url, settings.HTTPMETHOD.GET, header_name, url, http_request_method, filename, timesec)
  File \"controller.py", line 481, in do_injection
    for i in range(0, len(found)):
                      ^^^^^^^^^^
TypeError: object of type 'bool' has no len()
@stasinopoulos
Copy link
Member

Potential fix cd55cc5

Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

This action has been performed automatically by a bot.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 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