Closed gearcapitan closed 7 years ago
Well i have just now try that build [4 -> pyinstaller] and everything working fine on my side (Linux kali rolling 32bits)...
1º - are you sure that you have paste corretlly the shellcode into exec.py template? Dont you have pasted the 'semi-colon' [ ; ] into [rHfGjdSiJdK] funtion?
2º - Or maybee the error its on your pyinstaller install .. because in my side it does not give that bug wile execution ..
3º - Payload.py compiled to payload.exe And stored into output folder ..
4º - Payload.exe execution (and connection) using wine
5º - This its the line (venom.sh - line: 1210) that uses pyinstaller Is your distro 64bits arch? maybee the error its on wine command .. because wine under 64 bits its called: wine64 and not wine .. In any case i have fixed the wine64 support under venom now .. commit: https://github.com/r00t-3xp10it/venom/commit/4a2fa63f12d9a783d621b03ecfca8a9e83321de0
session logfile: https://pastebin.com/BYiePTpQ
how to fix pyinstaller ?
When you tried to compile manually it gives me this error
When running ./setup, this happens
aaaaa like i've espected...
pyinstaller was not completlly installed ...
because it requires pywin32 to work (32bits) <-- maybee there is a version to 64bits too ..
It seams that this pywin32 requires python 3.5 installed under wine to work ..
(check if your wine python install match's pywin32 requires)
This appens because you are using a 64bits system, and when i wrote the tool
i've used my system arch to build stuff (x86 = 32bites Intel) ...
Dont ask me ..iam not the developer of pyinstaller or pywin .. And i dont have a 64bits system were to try in fix the issue ... So.. i allways depend of people with 64bits arch to fix the issues ..
I managed to fix it... just download the specific pywin32 for the version of python 2.6 install it and that was it... pywin32: https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/
If the installation process informs you that Python is not found in the registry, it almost certainly means you have downloaded the wrong version either for the wrong version of Python, or the wrong "bittedness". https://sourceforge.net/projects/pywin32/files/pywin32/Build%20220/
venom v1.0.14 allows user to manually install another versions of this 2 softwares and use the 'settings' file to force main tool to use them ..
template.py execution under windows systems fixed with the insertion of new windows API imports