Closed usama7628674 closed 6 years ago
venom reads the configs from settings file
Also remmenber to config local variable arch
Config WINE_DRIVEC= variable
agent 16 pyinstaller funtion
@r00t-3xp10it You're using kali 32 bit.I'll try on kali 32 bit and see if it works or not.
@r00t-3xp10it This time on live kali 32-bit (2018.1).Output of setup.sh is following.
OS:Linux DISTRO:Kali(x86) VERSION:1.0.15 [✔] zenity............................[ found ] [✔] msfconsole........................[ found ] [✔] gcc compiler......................[ found ] [✔] mingw32 compiler..................[ found ] [✔] pyherion crypter..................[ found ] [✔] vbs-obfuscator....................[ found ] [✔] apache2 webserver.................[ found ] [!] Venom Domain name Configuration...[ skipp ] [✔] ettercap settings.................[ IPv4 ] [✔] wine..............................[ found ] [✔] wine folder.......................[ found ] [✔] arch sellected....................[ 32bit ] [x] WinRAR.exe [ not found ]
Could not load wine-gecko. HTML rendering will be disabled. 0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE
WARNING: Unable to locate WinRAR
Please Download WinRAR to: venom-main/bin
https://github.com/r00t-3xp10it/venom/blob/master/bin/install_winrar_wine32.exe
[x] pyinstaller [ not found ] Copy to: /drive_c/pyinstaller-2.0 [x] pywin32-220 [ not found ]
Install: python 2.6.6.msi
0040:err:mscoree:LoadLibraryShim error reading registry key for installroot 0040:err:mscoree:LoadLibraryShim error reading registry key for installroot 0040:err:mscoree:LoadLibraryShim error reading registry key for installroot 0040:err:mscoree:LoadLibraryShim error reading registry key for installroot
Install: pywin32-220.win32-py2.6.exe
wine: Unhandled page fault on read access to 0x7e448c30 at address 0x7ed0acf7 (thread 002f), starting debugger... 002f:err:seh:start_debugger Couldn't start debugger ("winedbg --auto 32 88") (1115) Read the Wine Developers Guide on how to set up winedbg or another debugger
WARNING: Unable to locate pywin32-220 (x86)
Please Download/Install the follow packets
python-2.6.6.msi
pywin32-220.win32-py2.6.exe
[✔] Rebuild toolkit settings file.....[ done ] sed: -e expression #1, char 0: no previous regular expression [✔] All checks completed..............[ done ]
Report-Bugs: https://github.com/r00t-3xp10it/venom/issues
Setup is not copying pyinstaller so I have to do it manually but still it could not locate winrar,python,pywin,pyinstaller.
install winrar under: /root/.wine/drive_c/Program Files/WinRAR
1º - cd venom-main/bin 2º - wine install_winrar_wine32.exe
install pyinstaller under: /root/.wine/drive_c/pyinstaller-2.0
1º - cd venom-main/obfuscate 2º - tar -xf pyinstaller.tar.gz 3º - cd pyinstaller 4º - mv pyinstaller-2.0 /root/.wine/drive_c/pyinstaller-2.0
install python26 + pywin32-220 under: /root/.wine/drive_c/Python26/
1º - cd venom-main/obfuscate 2º - tar -xf pyinstaller.tar.gz 3º - cd pyinstaller 4º - wine msiexec /i python-2.6.6.msi 5º - wine pywin32-220.win32-py2.6.exe
config settings file under: venom-main/
remmenber to config the local variable: WINE_DRIVEC= 1º - WINE_DRIVEC=/root/.wine/drive_c
As you can see from your sceenshot, the WINE_DRIVEC= local var its not proper defined in settings file, and there for my main tool (venom.sh) can't find the rigth path to run the backend applications..
That msg should say: copy to: /root/.wine/drive_c/pyinstaller-2.0
@r00t-3xp10it Ok.I'll give it another shot.
@r00t-3xp10it What should I put in the following box?
Before running setup my settings file of WINE_DRIVEC
after running setup it automatically changes to
problem still persists.
@r00t-3xp10it So here's the story then setup still not locating... but this time I installed everything manually and then executed ./venom.sh and agent 16 is now working fine.
There is something wrong in setup but it doesn't matter now cuz problem is solved. Thanks for your time and helping me to resolve this issue.
1º - in the box "enter .wine folder path" you have left it empty .. so my setup.sh can't find the path because it was not proper inputed, and in the end it only have added the /drive_c to WINE_DRIVEC= variable in the settings file, that configs venom.sh way of running
(your fault - bad config inputed) IF your .wine folder its under /home/username/.wine
thats the path we should be inputing, that setup.sh will add later the /drive_c to
the string (example: /home/username/.wine/drive_c)
2º - if you are using pyinstaller ..then read this : pyinstaller needs hidden imports to work proper .. please read this issue
@r00t-3xp10it I know about hidden imports but pyinstaller converted .py file to .exe without any error.
hey @usama7628674 do you want to help me debug setup.sh in 64bits systems ? after talking to you i have made some changes to setup.sh like:
Also i need to know whats the name of .wine folder under 64bits system.. if is .wine or .wine64 <-- i bet some errors came from me not knowing ..
@r00t-3xp10it I'm ready to help just let me know what you want me to test. Oh,and the name of folder is .wine under my kali 64bit system.
Valueble information (.wine folder name) thanks ..
tell me another thing ... and winrar installed in 64bits its on folder Program Files or Program Files(x86) ??
what i need you to test is:
@r00t-3xp10it Winrar in Program files and I'll test it tomorrow. Thank you for your reward.
@r00t-3xp10it The following output is from new setup after recent commits.
OS:Linux DISTRO:Kali(x64) VERSION:1.0.15 [✔] zenity............................[ found ] [✔] msfconsole........................[ found ] [✔] gcc compiler......................[ found ] [✔] mingw64 compiler..................[ found ] [✔] pyherion crypter..................[ found ] [✔] vbs-obfuscator....................[ found ] [✔] apache2 webserver.................[ found ] [!] Venom Domain name Configuration...[ skipp ] [✔] ettercap settings.................[ IPv4 ] [✔] wine64..............................[ found ] [✔] wine folder.......................[ found ] [✔] arch sellected....................[ 64bit ] [✔] WinRAR.exe........................[ found ] [✔] pyinstaller.......................[ found ] [✔] pywin32-220.......................[ found ] [✔] Rebuild toolkit settings file.....[ done ] sed: -e expression #1, char 0: no previous regular expression [✔] All checks completed..............[ done ]
Report-Bugs: https://github.com/r00t-3xp10it/venom/issues
in this case yes
sed: -e expression #1, char 0: no previous regular expression ??? can you check if settings file its proper config?
@r00t-3xp10it
strange bug.. (sed -e) so ..setup.sh was correct config the settings file rigth? and venom ? works well with those configs ? (x64) ..
here you have it v1.0.15.1 (warning the setup.sh in this version its still the old one) we can find the new version of setup.sh here
iam going to sleep ..good nigth ..and thanks .. :+1:
sleep well.Good bye
When I run setup.sh script I get this.
0009:fixme:heap:RtlSetHeapInformation 0x250000 0 0x23fd30 4 stub 0009:fixme:shell:SHAutoComplete stub 0009:fixme:ieframe:PersistStreamInit_InitNew (0x669e0) Could not load wine-gecko. HTML rendering will be disabled. 0009:err:mshtml:create_document_object Failed to init Gecko, returning CLASS_E_CLASSNOTAVAILABLE 0009:fixme:ole:CoCreateInstanceEx no instance created for interface {00000000-0000-0000-c000-000000000046} of class {25336920-03f9-11cf-8fd0-00aa00686f13}, hres is 0x80040111 0009:fixme:ieframe:handle_navigation_error Navigate to error page 0009:fixme:ieframe:bind_to_object BindToObject failed: 800c0010 0009:fixme:shell:BrsFolder_OnCreate flags BIF_NEWDIALOGSTYLE partially implemented 0009:fixme:ntdll:server_ioctl_file Unsupported ioctl 24000 (device=2 access=1 func=0 method=0) 0009:fixme:exec:SHELL_execute flags ignored: 0x00000180 0009:fixme:ieframe:OleInPlaceObject_UIDeactivate (0x669e0) 0009:fixme:ieframe:OleInPlaceObject_InPlaceDeactivate (0x669e0)
003e:fixme:heap:RtlSetHeapInformation 0x240000 0 0x23fd30 4 stub
[x] pyinstaller [ not found ] Copy to: /drive_c/pyinstaller-2.0 [x] pywin32-220 [ not found ]
Install: python-2.6.6.amd64.msi
002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0054:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0054:err:mscoree:LoadLibraryShim error reading registry key for installroot 0054:err:mscoree:LoadLibraryShim error reading registry key for installroot 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0054:err:mscoree:LoadLibraryShim error reading registry key for installroot 0054:err:mscoree:LoadLibraryShim error reading registry key for installroot 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 0056:fixme:nstc:NSTC2_fnSetControlStyle2 mask & style (0x00000004) contains unsupported style(s): 0x00000004 0056:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x3d5a0 (2, 1026, a003, 0, 0x23ee30) 0056:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x3d5a0 (2, 1026, a004, 1, 0x23ee30) 0056:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x3d5a0 (2, 1025, a003, 1, 0x23ee30) 0056:fixme:shell:IShellBrowser_fnSendControlMsg stub, 0x3d5a0 (2, 1025, a004, 1, 0x23ee30) 0054:err:msi:ITERATE_Actions Execution halted, action L"MaintenanceTypeDlg" returned 1602
Install: pywin32-220.win-amd64-py2.6.exe
wine: Unhandled page fault on read access to 0x7f1128525320 at address 0x7f112aa1af97 (thread 002c), starting debugger... 0009:fixme:heap:RtlSetHeapInformation 0x250000 0 0x23fd30 4 stub
002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet! 002c:err:hid_report:process_hid_report Device reports coming in too fast, last report not read yet!
wine: Unhandled page fault on read access to 0x7fada7be4320 at address 0x7fadb6182f97 (thread 002c), starting debugger... 002c:err:seh:start_debugger Couldn't start debugger ("winedbg --auto 32 88") (1115) Read the Wine Developers Guide on how to set up winedbg or another debugger [✔] Rebuild toolkit settings file.....[ done ] sed: -e expression #1, char 0: no previous regular expression [✔] All checks completed..............[ done ]
Even though they are installed in wine/drive_c directory.I have also tried on live kali and parrot os but still no luck. Version 1.0.14 works fine though.