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: argument of type 'NoneType' is not iterable" (#4abac2d0) #898

Closed commixreporter closed 8 months ago

commixreporter commented 8 months ago
Commix version: 4.0-dev#18
Python version: 3.11.8
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 867, in <module>
    main(filename, url)
  File "main.py", line 535, in main
    controller.do_check(url, http_request_method, filename)
  File "controller.py", line 747, in do_check
    if perform_checks(url, http_request_method, filename) == False:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "controller.py", line 705, in perform_checks
    cookie_injection(url, http_request_method, filename, timesec)
  File "controller.py", line 534, in cookie_injection
    injection_proccess(url, check_parameter, http_request_method, filename, timesec)
  File "controller.py", line 279, in injection_proccess
    elif check_parameter.lower() not in menu.options.data:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'NoneType' is not iterable
stasinopoulos commented 8 months ago

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

github-actions[bot] commented 4 months ago

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.