thorse icon indicating copy to clipboard operation
thorse copied to clipboard

Default Pyinstaller Path inside Wine Directory is Incorrect

Open klSilent opened this issue 3 years ago • 5 comments

image

klSilent avatar Oct 26 '20 23:10 klSilent


/_ / / / / |/ / _ / // / _______ ___ / / / -) __/ _ / / _ \ |/|/ / _ / _ / __(-</ -) // _/_/////|/_/,////_// /_/_/

	Author: Pushpender | GitHub: @Technowlogy-Pushpender

[!] Default Pyinstaller Path inside Wine Directory is Incorrect [!] [Please Update Line 19 Later] [DefautPath: ~/.wine/drive_c/Python37-32/Scripts/pyinstaller.exe]

[?] Enter pyinstaller.exe path manually :

klSilent avatar Oct 26 '20 23:10 klSilent

It is not an issue, when the default pyinstaller path is incorrect then the script will prompt to enter the pyinstaller path,

Make sure to run the installer script for linux, it will install the python3 inside wine

On Tue, 27 Oct, 2020, 5:00 AM klSilent, [email protected] wrote:


/_ / / / / |/ / _ / // / _______ ___ / / / -) __/ _ / / _ \ |/|/ / _ / _ / __(-</

) // *//////|/_/,////// /*/_/

Author: Pushpender | GitHub: @Technowlogy-Pushpender

[!] Default Pyinstaller Path inside Wine Directory is Incorrect [!] [Please Update Line 19 Later] [DefautPath: ~/.wine/drive_c/Python37-32/Scripts/pyinstaller.exe]

[?] Enter pyinstaller.exe path manually :

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PushpenderIndia/technowhorse/issues/8#issuecomment-716881001, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYISJNBREXXKWK36C433SMYBDBANCNFSM4TABQ4VA .

PushpenderIndia avatar Oct 27 '20 14:10 PushpenderIndia

It is not an issue, when the default pyinstaller path is incorrect then the script will prompt to enter the pyinstaller path, Make sure to run the installer script for linux, it will install the python3 inside wine On Tue, 27 Oct, 2020, 5:00 AM klSilent, @.> wrote: ------------------------------ /_ / / / / |/ / _ / // / _______ ___ / / / -) __/ _ / / _ \ |/|/ / _ / _ / __(-</ - ) // _/_/////|/_/,////// /*/_/ Author: Pushpender | GitHub: @Technowlogy-Pushpender [!] Default Pyinstaller Path inside Wine Directory is Incorrect [!] [Please Update Line 19 Later] [DefautPath: ~/.wine/drive_c/Python37-32/Scripts/pyinstaller.exe] [?] Enter pyinstaller.exe path manually : — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#8 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYISJNBREXXKWK36C433SMYBDBANCNFSM4TABQ4VA .

/root/.wine/drive_c/Scripts/pycache /root/.wine/drive_c/Scripts/easy_install.exe /root/.wine/drive_c/Scripts/easy_install-3.7.exe /root/.wine/drive_c/Scripts/pip.exe /root/.wine/drive_c/Scripts/pip3.7.exe /root/.wine/drive_c/Scripts/pip3.exe /root/.wine/drive_c/Scripts/pywin32_postinstall.py /root/.wine/drive_c/Scripts/pywin32_testall.py

This is all what i have in Scripts folder.

I manually installed Python in /.wine/drive_c/ and manually searched in the Scripts folder for the pyinstaller.exe file. Unfortunately this file does not exist in this folder, what can I do in this situation?

klSilent avatar Oct 30 '20 09:10 klSilent

Try to install it like this:

wine /root/.wine/Python37-32/Scripts/pip3.exe install pyinstaller

It will install the pyinstaller, for you, then try again

On Fri, 30 Oct, 2020, 2:43 PM klSilent, [email protected] wrote:

It is not an issue, when the default pyinstaller path is incorrect then the script will prompt to enter the pyinstaller path, Make sure to run the installer script for linux, it will install the python3 inside wine … <#m_7973527825220336709_> On Tue, 27 Oct, 2020, 5:00 AM klSilent, @.> wrote: ------------------------------ /_ / / / / |/ / _ / // / _______ ___ / / / -) __/ _ / / _ \ |/|/ / _ / _ / __(-</ - ) // //////|/_/,////// /*/_/ Author: Pushpender | GitHub: @Technowlogy-Pushpender [!] Default Pyinstaller Path inside Wine Directory is Incorrect [!] [Please Update Line 19 Later] [DefautPath: ~/.wine/drive_c/Python37-32/Scripts/pyinstaller.exe] [?] Enter pyinstaller.exe path manually : — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#8 (comment) https://github.com/PushpenderIndia/technowhorse/issues/8#issuecomment-716881001>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYISJNBREXXKWK36C433SMYBDBANCNFSM4TABQ4VA .

/root/.wine/drive_c/Scripts/pycache /root/.wine/drive_c/Scripts/easy_install.exe /root/.wine/drive_c/Scripts/easy_install-3.7.exe /root/.wine/drive_c/Scripts/pip.exe /root/.wine/drive_c/Scripts/pip3.7.exe /root/.wine/drive_c/Scripts/pip3.exe /root/.wine/drive_c/Scripts/pywin32_postinstall.py /root/.wine/drive_c/Scripts/pywin32_testall.py

This is all what i have in Scripts folder

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/PushpenderIndia/technowhorse/issues/8#issuecomment-719436647, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYIWKRGYVU4M7OVIDHNTSNJ7R3ANCNFSM4TABQ4VA .

PushpenderIndia avatar Oct 31 '20 10:10 PushpenderIndia

Try to install it like this: wine /root/.wine/Python37-32/Scripts/pip3.exe install pyinstaller It will install the pyinstaller, for you, then try again On Fri, 30 Oct, 2020, 2:43 PM klSilent, @.> wrote: It is not an issue, when the default pyinstaller path is incorrect then the script will prompt to enter the pyinstaller path, Make sure to run the installer script for linux, it will install the python3 inside wine … <#m_7973527825220336709_> On Tue, 27 Oct, 2020, 5:00 AM klSilent, @.> wrote: ------------------------------ /_ / / / / |/ / _ / // / _______ ___ / / / -) __/ _ / / _ \ |/|/ / _ / _ / __(-</ - ) // //////|//,////// /***/*/ Author: Pushpender | GitHub: @Technowlogy-Pushpender [!] Default Pyinstaller Path inside Wine Directory is Incorrect [!] [Please Update Line 19 Later] [DefautPath: ~/.wine/drive_c/Python37-32/Scripts/pyinstaller.exe] [?] Enter pyinstaller.exe path manually : — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#8 (comment) <#8 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYISJNBREXXKWK36C433SMYBDBANCNFSM4TABQ4VA . /root/.wine/drive_c/Scripts/pycache /root/.wine/drive_c/Scripts/easy_install.exe /root/.wine/drive_c/Scripts/easy_install-3.7.exe /root/.wine/drive_c/Scripts/pip.exe /root/.wine/drive_c/Scripts/pip3.7.exe /root/.wine/drive_c/Scripts/pip3.exe /root/.wine/drive_c/Scripts/pywin32_postinstall.py /root/.wine/drive_c/Scripts/pywin32_testall.py This is all what i have in Scripts folder — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#8 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANORYIWKRGYVU4M7OVIDHNTSNJ7R3ANCNFSM4TABQ4VA .

[ * * * * * * * * * * * * * * * * * * * * * * * * * ]

[?] These info above are correct? (y/n) : y

[*] Checking Dependencies... [+] All Dependencies are Installed on this system ;)

[*] Generating Please wait for a while...

[*] Encrypting Source Codes... [+] Operation Completed Successfully!

[*] Compiling your payload, Please Wait for a while...

002b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 355 INFO: PyInstaller: 4.0 355 INFO: Python: 3.7.4 356 INFO: Platform: Windows-7-6.1.7601-SP1 358 INFO: wrote Z:\opt\technowhorse\evil.spec 378 INFO: UPX is not available. 386 INFO: Extending PYTHONPATH with paths ['Z:\opt\technowhorse', 'Z:\opt\technowhorse'] 441 INFO: checking Analysis 441 INFO: Building Analysis because Analysis-00.toc is non existent 441 INFO: Initializing module dependency graph... 452 INFO: Caching module graph hooks... 527 INFO: Analyzing base_library.zip ... 8882 INFO: Caching module dependency graph... 9226 INFO: running Analysis Analysis-00.toc 9231 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable required by c:\python37-32\python.exe 9580 INFO: Analyzing Z:\opt\technowhorse\evil 9583 INFO: Analyzing hidden import 'win32event' 9586 INFO: Analyzing hidden import 'winerror' 9799 INFO: Analyzing hidden import 'win32api' 9801 INFO: Analyzing hidden import 'payload' 9980 INFO: Processing module hooks... 9981 INFO: Loading module hook 'hook-encodings.py' from 'c:\python37-32\lib\site-packages\PyInstaller\hooks'... 10499 INFO: Loading module hook 'hook-xml.py' from 'c:\python37-32\lib\site-packages\PyInstaller\hooks'... 11099 INFO: Looking for ctypes DLLs 11099 INFO: Analyzing run-time hooks ... 11118 INFO: Looking for dynamic libraries 11685 INFO: Looking for eggs 11686 INFO: Using Python library c:\python37-32\python37.dll 11686 INFO: Found binding redirects: [] 11692 INFO: Warnings written to Z:\opt\technowhorse\build\evil\warn-evil.txt 11800 INFO: Graph cross-reference written to Z:\opt\technowhorse\build\evil\xref-evil.html 11811 INFO: Appending 'datas' from .spec Unable to find "Z:\opt\technowhorse\test.txt" when adding binary and data files.

[*] Deleting Junk Files... [+] Junk Files Removed Successfully!

[!] Failed To Generate Your Payload :(, Please Try Again!

[:D] Please Contact us on https://github.com/Technowlogy-Pushpender/technowhorse

root@kali:/opt/technowhorse# 0039:err:ntdll:RtlLeaveCriticalSection section 0x11fc10 is not acquired

klSilent avatar Oct 31 '20 22:10 klSilent