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

# python3 xerosploit.py #244

Open
ifexx opened this issue Mar 2, 2021 · 6 comments
Open

# python3 xerosploit.py #244

ifexx opened this issue Mar 2, 2021 · 6 comments

Comments

@ifexx
Copy link

ifexx commented Mar 2, 2021

Traceback (most recent call last):
File "/home/eye/xerosploit/xerosploit.py", line 981, in main
cmd0()
File "/home/eye/xerosploit/xerosploit.py", line 866, in cmd0
cmd_0 = raw_input("\033[1;36m\033[4mXero\033[0m\033[1;36m ➮ \033[1;m").strip()
NameError: name 'raw_input' is not defined

@ifexx
Copy link
Author

ifexx commented Mar 3, 2021

/usr/bin/pip3 install tabulate
Traceback (most recent call last):
File "/usr/bin/pip3", line 6, in
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.9/dist-packages/pkg_resources.py", line 1479, in
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

@ifexx
Copy link
Author

ifexx commented Mar 3, 2021

└─# /usr/bin/pip3 install terminaltable
Traceback (most recent call last):
File "/usr/bin/pip3", line 6, in
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.9/dist-packages/pkg_resources.py", line 1479, in
register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider)
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'

@aNDOhACK
Copy link

i have same problem
Traceback (most recent call last):
File "/home/aliyos/xerosploit/xerosploit.py", line 981, in main
cmd0()
File "/home/aliyos/xerosploit/xerosploit.py", line 866, in cmd0
cmd_0 = raw_input("\033[1;36m\033[4mXero\033[0m\033[1;36m ➮ \033[1;m").strip()
NameError: name 'raw_input' is not defined

@Radiance37k
Copy link

I haven't done any extensive testing on this, but it seems to work:
Replace any occurrence of raw_input with input.
You might also need to change the shebang from #!/usr/bin/python to #!/usr/bin/python3

raw_input seems to be deprecated in python3

@nickluong-dev
Copy link

nickluong-dev commented Jul 13, 2021

install 2to3 and convert xerosploit.py.

Here is a video for reference: https://www.youtube.com/watch?v=CxYuLYpdDEA.

@programmerHJK
Copy link

try running with python2.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants