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

Error: Failed To Generate Your Payload :(, Please Try Again! #68

Open
Mushino0 opened this issue May 19, 2023 · 0 comments
Open

Error: Failed To Generate Your Payload :(, Please Try Again! #68

Mushino0 opened this issue May 19, 2023 · 0 comments

Comments

@Mushino0
Copy link

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

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

572 INFO: PyInstaller: 5.11.0
572 INFO: Python: 3.11.1
584 INFO: Platform: Windows-10-10.0.22621-SP0
585 INFO: wrote C:\Users\Mush0\technowlogger\output_file_name.spec
588 INFO: UPX is not available.
589 INFO: Extending PYTHONPATH with paths
['C:\Users\Mush0\technowlogger']
1087 INFO: checking Analysis
1088 INFO: Building Analysis because Analysis-00.toc is non existent
1088 INFO: Initializing module dependency graph...
1090 INFO: Caching module graph hooks...
1100 INFO: Analyzing base_library.zip ...
2541 INFO: Loading module hook 'hook-heapq.py' from 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks'...
2612 INFO: Loading module hook 'hook-encodings.py' from 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks'...
3951 INFO: Loading module hook 'hook-pickle.py' from 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks'...
5200 INFO: Caching module dependency graph...
5279 INFO: running Analysis Analysis-00.toc
5288 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by C:\Users\Mush0\AppData\Local\Programs\Python\Python311\python.exe
5316 INFO: Analyzing C:\Users\Mush0\technowlogger\output_file_name
5317 INFO: Analyzing hidden import 'win32event'
5317 INFO: Analyzing hidden import 'winerror'
5361 INFO: Analyzing hidden import 'win32api'
5361 INFO: Analyzing hidden import 'pynput.keyboard'
5370 INFO: Loading module hook 'hook-pynput.py' from 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\_pyinstaller_hooks_contrib\hooks\stdhooks'...
5761 INFO: Processing pre-safe import module hook six.moves from 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks\pre_safe_import_module\hook-six.moves.py'.
5916 INFO: Loading module hook 'hook-Xlib.py' from 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\pyinstaller_hooks_contrib\hooks\stdhooks'...
6491 INFO: Analyzing hidden import 'keylogger'
6534 INFO: Loading module hook 'hook-platform.py' from 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks'...
6601 INFO: Processing module hooks...
6751 INFO: Looking for ctypes DLLs
6777 INFO: Analyzing run-time hooks ...
6779 INFO: Including run-time hook 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_inspect.py'
6784 INFO: Looking for dynamic libraries
230 INFO: Extra DLL search directories (AddDllDirectory): []
230 INFO: Extra DLL search directories (PATH): ['C:\Users\Mush0\AppData\Local\Programs\Python\Python37\lib\site-packages\pywin32_system32', 'C:\Windows\system32', 'C:\Windows', 'C:\Windows\System32\Wbem', 'C:\Windows\System32\WindowsPowerShell\v1.0\', 'C:\Windows\System32\OpenSSH\', 'C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common', 'C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR', 'C:\WINDOWS\system32', 'C:\WINDOWS', 'C:\WINDOWS\System32\Wbem', 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\', 'C:\WINDOWS\System32\OpenSSH\', 'C:\Users\Mush0\AppData\Local\Programs\Python\Python37\Scripts\', 'C:\Users\Mush0\AppData\Local\Programs\Python\Python37\', 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Scripts\', 'C:\Users\Mush0\AppData\Local\Programs\Python\Python311\', 'C:\Users\Mush0\AppData\Local\Microsoft\WindowsApps', 'C:\Users\Mush0\AppData\Local\GitHubDesktop\bin']
291 WARNING: lib not found: python39.dll dependency of C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\win32gui.pyd
319 WARNING: lib not found: python39.dll dependency of C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\win32api.pyd
327 WARNING: lib not found: python39.dll dependency of C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\win32\win32event.pyd
351 WARNING: lib not found: python39.dll dependency of C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\pywin32_system32\pywintypes39.dll
7333 INFO: Looking for eggs
7334 INFO: Using Python library C:\Users\Mush0\AppData\Local\Programs\Python\Python311\python311.dll
7334 INFO: Found binding redirects:
[]
7337 INFO: Warnings written to C:\Users\Mush0\technowlogger\build\output_file_name\warn-output_file_name.txt
7353 INFO: Graph cross-reference written to C:\Users\Mush0\technowlogger\build\output_file_name\xref-output_file_name.html
7378 INFO: checking PYZ
7379 INFO: Building PYZ because PYZ-00.toc is non existent
7379 INFO: Building PYZ (ZlibArchive) C:\Users\Mush0\technowlogger\build\output_file_name\PYZ-00.pyz
7627 INFO: Building PYZ (ZlibArchive) C:\Users\Mush0\technowlogger\build\output_file_name\PYZ-00.pyz completed successfully.
7632 INFO: checking PKG
7632 INFO: Building PKG because PKG-00.toc is non existent
7633 INFO: Building PKG (CArchive) output_file_name.pkg
9051 INFO: Building PKG (CArchive) output_file_name.pkg completed successfully.
9052 INFO: Bootloader C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\bootloader\Windows-64bit-intel\runw.exe
9053 INFO: checking EXE
9053 INFO: Building EXE because EXE-00.toc is non existent
9053 INFO: Building EXE from EXE-00.toc
9053 INFO: Copying bootloader EXE to C:\Users\Mush0\technowlogger\dist\output_file_name.exe.notanexecutable
9072 INFO: Copying icon to EXE
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Python37\Scripts\pyinstaller.exe_main
.py", line 7, in
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller_main
.py", line 194, in console_script_run
run()
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller_main
.py", line 180, in run
run_build(pyi_config, spec_file, **vars(args))
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller_main.py", line 61, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\build_main.py", line 1006, in main
build(specfile, distpath, workpath, clean_build)
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\build_main.py", line 928, in build
exec(code, spec_namespace)
File "C:\Users\Mush0\technowlogger\output_file_name.spec", line 24, in
exe = EXE(
^^^^
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\api.py", line 584, in init
self.postinit()
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\datastruct.py", line 184, in postinit
self.assemble()
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\api.py", line 684, in assemble
icon.CopyIcons(build_name, self.icon)
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\utils\win32\icon.py", line 203, in CopyIcons
srcpath = normalize_icon_type(srcpath, ("exe", "ico"), "ico", config.CONF["workpath"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Mush0\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\building\icon.py", line 34, in normalize_icon_type
raise FileNotFoundError(f"Icon input file {icon_path} not found")
FileNotFoundError: Icon input file C:\Users\Mush0\technowlogger\icon_path not found

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

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

[:D] Please Contact us on https://github.com/PushpenderIndia/technowlogger

Hi,
Any idea how i can fix this please?
Thank you very much!

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

1 participant