commixproject / commix

Automated All-in-One OS Command Injection Exploitation Tool.
https://commixproject.com
Other
4.62k stars 818 forks source link

Bug Report: Unhandled exception "TypeError: object of type 'bool' has no len()" (#381b5e62) #934

Closed commixreporter closed 5 months ago

commixreporter commented 5 months ago
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 commented 5 months ago

Potential fix https://github.com/commixproject/commix/commit/cd55cc54308a8b28aa488ef1cde9dc6e1239b4cd

github-actions[bot] commented 2 months ago

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.