nathanlopez / Stitch

Python Remote Administration Tool (RAT)
https://nathanlopez.github.io/Stitch/
Other
3.05k stars 657 forks source link

Syntax Error #38

Open iii235 opened 4 years ago

iii235 commented 4 years ago

I manually installed all the dependencies for Kali Linux. When I run main.py using python3, I get this error: Traceback (most recent call last): File "main.py", line 5, in from Application.stitch_cmd import * File "/home/kali/Stitch/Application/stitch_cmd.py", line 70 print "" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("")?

iii235 commented 4 years ago

Nevermind, I fixed the code manually. I have a new problem now.

iii235 commented 4 years ago

When I run main.py again, I get this: Traceback (most recent call last): File "main.py", line 5, in from Application.stitch_cmd import * File "/home/kali/Stitch/Application/stitch_cmd.py", line 5, in import stitch_winshell ModuleNotFoundError: No module named 'stitch_winshell' And when I run this (python3 -m pip install stitch_winshell), it doesn't find the module. I can't even use the requirements.txt because everything locks up at the email module.

iii235 commented 4 years ago

What happens when I try to use lnx_requirements: ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"'; file='"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-midq8f81/email/pip-egg-info
cwd: /tmp/pip-install-midq8f81/email/
Complete output (11 lines):
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3/dist-packages/setuptools/init.py", line 18, in
import setuptools.version
File "/usr/lib/python3/dist-packages/setuptools/version.py", line 1, in
import pkg_resources
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 36, in
import email.parser
File "/tmp/pip-install-midq8f81/email/email/parser.py", line 10, in
from cStringIO import StringIO
ModuleNotFoundError: No module named 'cStringIO'


ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ShailMurtaza commented 3 years ago

What happens when I try to use lnx_requirements: ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"'; file='"'"'/tmp/pip-install-midq8f81/email/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-midq8f81/email/pip-egg-info cwd: /tmp/pip-install-midq8f81/email/ Complete output (11 lines): Traceback (most recent call last): File "", line 1, in File "/usr/lib/python3/dist-packages/setuptools/init.py", line 18, in import setuptools.version File "/usr/lib/python3/dist-packages/setuptools/version.py", line 1, in import pkg_resources File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 36, in import email.parser File "/tmp/pip-install-midq8f81/email/email/parser.py", line 10, in from cStringIO import StringIO ModuleNotFoundError: No module named 'cStringIO'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I think this Rat is only compatible with python2