LionSec / xerosploit

Efficient and advanced man in the middle framework
GNU General Public License v3.0
2.04k stars 649 forks source link

Please Update Xerosploit To Python3 #237

Open Zherlo opened 3 years ago

Zherlo commented 3 years ago

Python2 is end, Please provide a way to be able to install xerosploit in python3.. Thanks

vineyrawat commented 3 years ago

I've same problem because it causes many errors in python2, please update it to python3

deep1ne9 commented 3 years ago

Just install the python futurize package - apt install python3-future Futurize: py2 to py3 conversion link Then run the below command against your python2 code inside the directory: *python3-futurize -a -0 -w -v /python2-dir/.py** you can now execute code using python3 "your-python2-code.py"

jkljkl1197 commented 3 years ago

@deep1ne9 you are a god <3 Thanks

vineyrawat commented 3 years ago

Just install the python futurize package - apt install python3-future Futurize: py2 to py3 conversion link Then run the below command against your python2 code inside the directory: *python3-futurize -a -0 -w -v /python2-dir/.py** you can now execute code using python3 "your-python2-code.py"

Thanks

ghost commented 3 years ago

mine is still not working still giving same error

RefactoringTool: Can't open /python2-dir/.py: [Errno 2] No such file or directory: '/python2-dir/.py' RefactoringTool: No files need to be modified. RefactoringTool: There was 1 error: RefactoringTool: Can't open /python2-dir/.py: [Errno 2] No such file or directory: '/python2-dir/.py'

ChongChink commented 3 years ago

I found a python 3 version of xerosploit here https://github.com/lzskyline/xerosploit3 how to download and install git clone https://github.com/lzskyline/xerosploit3.git cd xerosploit3 python3 -m pip install -r requirements.txt sudo python3 install.py python3 xerosploit.py

this worked for me if it doesn't then try this http://www.mediafire.com/file/rgtsnu9zshzqur4/xerosploit.tar.gz/file here's the tutorial https://youtu.be/rrn2Qt5R5PM and if this doesn't work either https://github.com/LionSec/xerosploit/issues/260 100% fix (man check all the issues section before submitting one)

yhoungdev commented 2 years ago

tried it but not working

AKAONTOP commented 2 years ago

xerosploit3 worked for me and i also edited /usr/bin/xerosploit and added the 3 to the end of python so now i can launch it everywhere Thanks Kali Linux rolling

yhoungdev commented 2 years ago

Install 2to3 via pip on the project directory then run sudo 2to3 fileName

And it will convert it to python3 ( you will see fileName.bak )

vineyrawat commented 2 years ago

Install 2to3 via pip on the project directory then run sudo 2to3 fileName

And it will convert it to python3 ( you will see fileName.bak )

Thanks