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 "UnboundLocalError: cannot access local variable 'result' where it is not associated with a value" (#fe6d97aa) #893

Closed commixreporter closed 8 months ago

commixreporter commented 9 months ago
Commix version: 4.0-dev#7
Python version: 3.11.8
Operating system: posix
Command line: commix.py -r ******** --method=POST -d ********* --user-agent=amp87@wearehackerone --timeout=60 --skip-waf --ignore-dependencies --skip-empty
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 861, in <module>
    main(filename, url)
  File "main.py", line 533, in main
    controller.do_check(url, http_request_method, filename)
  File "controller.py", line 756, in do_check
    perform_checks(url, http_request_method, filename)
  File "controller.py", line 684, in perform_checks
    post_request(url, http_request_method, filename, timesec)
  File "controller.py", line 602, in post_request
    check_parameter = parameters.vuln_POST_param(parameter, url)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "parameters.py", line 377, in vuln_POST_param
    vuln_parameter = ''.join(result)
                             ^^^^^^
UnboundLocalError: cannot access local variable 'result' where it is not associated with a value
github-actions[bot] commented 5 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.