Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Pyinstaller Path inside Wine Directory is Incorrect #8

Open
klSilent opened this issue Oct 26, 2020 · 5 comments
Open

Default Pyinstaller Path inside Wine Directory is Incorrect #8

klSilent opened this issue Oct 26, 2020 · 5 comments

Comments

@klSilent
Copy link

image

@klSilent
Copy link
Author


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

	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 :

@PushpenderIndia
Copy link
Owner

PushpenderIndia commented Oct 27, 2020 via email

@klSilent
Copy link
Author

klSilent commented Oct 30, 2020

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?

@PushpenderIndia
Copy link
Owner

PushpenderIndia commented Oct 31, 2020 via email

@klSilent
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants