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

Failed To Generate Your Payload :( #46

Open
User-790 opened this issue Jun 7, 2022 · 2 comments
Open

Failed To Generate Your Payload :( #46

User-790 opened this issue Jun 7, 2022 · 2 comments

Comments

@User-790
Copy link

User-790 commented Jun 7, 2022

I just wanted to say thank you so much for this tool, such a great way to learn python and basic commands. I have just been having a problem with the following, I am guessing it is a certain path with what I am saving something to when working with a Linux executable. Same thing with when I request to make a Windows executable as well. Any suggestions possibly for either?

Linux executable result:

[?] Are the above mentioned credentials 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!

542 INFO: PyInstaller: 3.5+498e6ee058
542 INFO: Python: 3.10.4
544 INFO: Platform: Linux-5.16.0-kali7-amd64-x86_64-with-glibc2.33
544 INFO: wrote /home/Vector/technowlogger/FileTestlog.spec
547 INFO: UPX is available.
548 INFO: Extending PYTHONPATH with paths
['/home/Vector/technowlogger', '/home/Vector/technowlogger']
548 INFO: checking Analysis
548 INFO: Building Analysis because Analysis-00.toc is non existent
548 INFO: Initializing module dependency graph...
563 INFO: Initializing module graph hooks...
565 INFO: Analyzing base_library.zip ...
9533 INFO: Processing pre-find module path hook distutils
Traceback (most recent call last):
File "/usr/bin/pyinstaller", line 11, in
load_entry_point('PyInstaller==3.5+498e6ee058', 'console_scripts', 'pyinstaller')()
File "/usr/lib/python3/dist-packages/PyInstaller/main.py", line 111, in run
run_build(pyi_config, spec_file, **vars(args))
File "/usr/lib/python3/dist-packages/PyInstaller/main.py", line 63, in run_build
PyInstaller.building.build_main.main(pyi_config, spec_file, **kwargs)
File "/usr/lib/python3/dist-packages/PyInstaller/building/build_main.py", line 844, in main
build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))
File "/usr/lib/python3/dist-packages/PyInstaller/building/build_main.py", line 791, in build
exec(code, spec_namespace)
File "/home/Vector/technowlogger/FileTestlog.spec", line 6, in
a = Analysis(['Filetestlog'],
File "/usr/lib/python3/dist-packages/PyInstaller/building/build_main.py", line 243, in init
self.postinit()
File "/usr/lib/python3/dist-packages/PyInstaller/building/datastruct.py", line 158, in postinit
self.assemble()
File "/usr/lib/python3/dist-packages/PyInstaller/building/build_main.py", line 348, in assemble
self.graph = initialize_modgraph(
File "/usr/lib/python3/dist-packages/PyInstaller/depend/analysis.py", line 613, in initialize_modgraph
graph.import_hook(m)
File "/usr/lib/python3/dist-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1473, in import_hook
target_package, target_module_partname = self._find_head_package(
File "/usr/lib/python3/dist-packages/PyInstaller/lib/modulegraph/modulegraph.py", line 1657, in _find_head_package
raise ImportError("No module named " + target_package_name)
ImportError: No module named _bootlocale

[*] 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

Windows Executable result:

[?] Are the above mentioned credentials correc t? (y/n) : y

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

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

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

wine: cannot find L"C:Users"

[*] Deleting Junk Files...
rm: cannot remove 'build/': No such file or directory
rm: cannot remove 'FileTestlog.spec':_ No such file or directory
[+] Junk Files Removed Successfully!

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

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

Sorry, I have looked at the pictures and read the README file thoroughly and multiple times. I am new to coding and I want to learn so much, this has been my project for days trying to understand what is involved. Thank you

@PushpenderIndia
Copy link
Owner

PushpenderIndia commented Jun 8, 2022 via email

@User-790
Copy link
Author

User-790 commented Jun 9, 2022

Ok thank you for your reply, I have specified between both results using -l or -w, I am just at a loss as to how I can properly install Pyinsaller.py if it hadn’t installed itself when I originally cloned the file.

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