commixproject / commix

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

pyhton3 and python2 both are not able to run commix in mac #917

Closed emonshaikh121 closed 6 months ago

emonshaikh121 commented 6 months ago

python commix.py -u https://bangla.****.org/instSearch.php?inst=hello --batch

[11:24:37] [warning] Deprecated Python version detected: 2.7.18. You are advised to use Python version 3. __ /_\ /`\ / `\ /' __\ /' ` `\/\ \ /\ \/'\ v4.0-dev#44 /\ _//\ \/\ \/\ \/\ \/\ \/\ \/\ \/\ \ \ \/> </ \ __\ __/\ _\ _\ _\ _\ _\ _\ _\/_/\\ https://commixproject.com \/_/\// \//\//\//\//\//\//\//\//\// (@commixproject)

+-- Automated All-in-One OS Command Injection Exploitation Tool Copyright © 2014-2024 Anastasios Stasinopoulos (@ancst) +--

[11:24:37] [critical] Invalid runtime environment ('cannot import name logs').

and using python3:

python3 commix.py -u https://bangla.****.org/instSearch.php?inst=hello --batch Traceback (most recent call last): File "/Users/mac/kali/tools/commix/commix.py", line 18, in import("src.utils.version") File "/Users/mac/kali/tools/commix/src/utils/version.py", line 17, in from src.utils import settings File "/Users/mac/kali/tools/commix/src/utils/settings.py", line 26, in from src.thirdparty.six.moves import urllib as _urllib ModuleNotFoundError: No module named 'src.thirdparty.six.moves'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/Users/mac/kali/tools/commix/commix.py", line 25, in print(settings.print_critical_msg(err_msg)) ^^^^^^^^ NameError: name 'settings' is not defined

stasinopoulos commented 6 months ago

Hello @emonshaikh121 this issue is similar with https://github.com/commixproject/commix/issues/885.

github-actions[bot] commented 3 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.