commixproject / commix

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

Bug Report: Unhandled exception "ValueError: 'Metasploitable2_IP' does not appear to be an IPv4 or IPv6 address" (#2c73d988) #949

Closed commixreporter closed 1 month ago

commixreporter commented 3 months ago
Commix version: 3.9-stable
Python version: 3.11.8
Operating system: posix
Command line: commix.py --url=******************************************************* --data=************************* --cookie=**************************************** 
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 671, in <module>
    if _urllib.parse.urlparse(menu.options.url).hostname in ("localhost", "127.0.0.1") or menu.options.ignore_proxy:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "parse.py", line 395, in urlparse
    splitresult = urlsplit(url, scheme, allow_fragments)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "parse.py", line 500, in urlsplit
    _check_bracketed_host(bracketed_host)
  File "parse.py", line 446, in _check_bracketed_host
    ip = ipaddress.ip_address(hostname) # Throws Value Error if not IPv6 or IPv4
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "ipaddress.py", line 54, in ip_address
    raise ValueError(f'{address!r} does not appear to be an IPv4 or IPv6 address')
ValueError: 'Metasploitable2_IP' does not appear to be an IPv4 or IPv6 address
github-actions[bot] commented 6 days 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.