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 "IndexError: list index out of range" (#3cecc724) #888

Closed
commixreporter opened this issue Jan 20, 2024 · 2 comments

Comments

@commixreporter
Copy link

Commix version: 3.8-stable
Python version: 3.11.2
Operating system: posix
Command line: commix.py -u *************************************************** -commandinj.php -d ************************************************************* -instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:commandinjwsdl"><soapenv:Header/><soapenv:Body><urn:commandinj soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><name xsi:type="xsd:string">*</name></urn:commandinj></soapenv:Body></soapenv:Envelope>

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 753, in do_check
    perform_checks(url, http_request_method, filename)
  File "controller.py", line 681, in perform_checks
    post_request(url, http_request_method, filename, timesec)
  File "controller.py", line 599, in post_request
    check_parameter = parameters.vuln_POST_param(parameter, url)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "parameters.py", line 379, in vuln_POST_param
    settings.TESTABLE_VALUE = re.findall(r"" + "([^>]+)" + settings.INJECT_TAG, parameter)[0]
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
@stasinopoulos
Copy link
Member

stasinopoulos commented Jan 20, 2024

Update to latest version.
Fixed #861

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 Jul 22, 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