You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated the code format using 2to3 tool and getting these errors.
Had previously fixed the code with 0 error but came across a problem --- code once ran wouldn't start nothing would happen using both the CLI and GUI
Im writing about it now because I was able to run the code without errors. Hoping someone has come across similar issue or translated this RAT. This rat its a great project and has cool features would be nice to have an updated version.
here is error 1
Traceback (most recent call last):
File "start.py", line 14, in
from server.handler import start_server
File "/Users/name/Desktop/EvilOSX/server/handler.py", line 8, in
import urllib.parse
ImportError: No module named parse
as a SOLUTION CODED: on EvilOSX/server/handler.py
import json
import shutil
import urllib
import urllib.parse (---- not sure if this is necessary tried without got same Traceback.)
from urllib import parse
from urllib.parse import unquote_plus
try:
from urllib.parse import unquote_plus
except ImportError:
# Python2 support.
from urllib.parse import unquote_plus
2nd issue:
File "start.py", line 14, in
from server.handler import start_server
on this one everything seems ok
from server.handler import start_server
The text was updated successfully, but these errors were encountered:
Updated the code format using 2to3 tool and getting these errors.
Had previously fixed the code with 0 error but came across a problem --- code once ran wouldn't start nothing would happen using both the CLI and GUI
Im writing about it now because I was able to run the code without errors. Hoping someone has come across similar issue or translated this RAT. This rat its a great project and has cool features would be nice to have an updated version.
here is error 1
Traceback (most recent call last):
File "start.py", line 14, in
from server.handler import start_server
File "/Users/name/Desktop/EvilOSX/server/handler.py", line 8, in
import urllib.parse
ImportError: No module named parse
as a SOLUTION CODED: on EvilOSX/server/handler.py
import json
import shutil
import urllib
import urllib.parse (---- not sure if this is necessary tried without got same Traceback.)
from urllib import parse
from urllib.parse import unquote_plus
try:
from urllib.parse import unquote_plus
except ImportError:
# Python2 support.
from urllib.parse import unquote_plus
2nd issue:
File "start.py", line 14, in
from server.handler import start_server
on this one everything seems ok
from server.handler import start_server
The text was updated successfully, but these errors were encountered: