Forum Replies Created
- AuthorPosts
- Mr_GrootParticipant
Hi Diego
Im still waiting for Dimitris response
Mr_GrootParticipantHello Diego
Your there mate? Can you ask Dimitris for this solution?
Mr_GrootParticipantHello There
What i did is i tried running the discord code from code/discord/main.py in windows using python in cmd using this command
C:\Users\PC\AppData\Local\Programs\Python\Python312\python.exe main.py
using this command got the connection on discord. Then I went on to create .exe using pyinstaller using this command
C:\Users\PC\AppData\Local\Programs\Python\Python312\Scripts\pyinstaller.exe main.py –onefile
This Time also i got discord connection. I wanted to avoid the terminal for that i ran this command
C:\Users\sales\AppData\Local\Programs\Python\Python312\Scripts\pyinstaller.exe main.py –onefile –noconsole
For this i got an error (Screenshot is attached below also)
Failed to execute script ‘main’ due to unhandled exception:’NoneType’ object has no attribute ‘write’
Traceback (most recent call last):
File “main.py”, line 10, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\io\__init__.py”, line 97, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\io\matlab\__init__.py”, line 45, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\io\matlab\_mio.py”, line 9, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\io\matlab\_mio4.py”, line 9, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\sparse\__init__.py”, line 293, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\sparse\_base.py”, line 5, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\sparse\_sputils.py”, line 10, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\_lib\_util.py”, line 18, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\_lib\_array_api.py”, line 21, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “scipy\_lib\array_api_compat\numpy\__init__.py”, line 1, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “numpy\f2py\__init__.py”, line 19, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “numpy\f2py\f2py2e.py”, line 23, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “numpy\f2py\crackfortran.py”, line 159, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “numpy\f2py\auxfuncs.py”, line 19, in <module>
File “<frozen importlib._bootstrap>”, line 1360, in _find_and_load
File “<frozen importlib._bootstrap>”, line 1331, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 935, in _load_unlocked
File “PyInstaller\loader\pyimod02_importers.py”, line 419, in exec_module
File “numpy\f2py\cfuncs.py”, line 19, in <module>
AttributeError: ‘NoneType’ object has no attribute ‘write’Everytime i run pyinstaller with –noconsole i get the above error. Could you please tell me how i can solve this issue now. The one you told is also not working for me.
Attachments:
You must be logged in to view attached files.Mr_GrootParticipantThere is no reply from him yet….
Can you tell me if I can run the script directly in python and check what is causing the error… If so kindly tell me how I can do that and where I have to insert the server details like token id, guild if etc…
Mr_GrootParticipantHello Diego
Im still waiting for Dimitris to reply…. I need it on urgent basis otherwise I want to opt for other c2.
Mr_GrootParticipantYes. Please. I need one c2 on urgent basis so please ask him to do the needful.
Mr_GrootParticipantYes. I tried telegram c2. Still can not get connection.
Mr_GrootParticipantHi There
Please find the asked screenshot attached below.
Attachments:
You must be logged in to view attached files.Mr_GrootParticipantHello
I have added this line compile_command = [“wine”, path_to_pyinstaller, “–onefile”, “–icon=img/exe_file.ico”, list[0]+”.py”] and created a new executable. But when i try to execute in CMD without using start Nothing happened in CMD. Screenshot is attached below.
Attachments:
You must be logged in to view attached files.Mr_GrootParticipantHello
I have added this line compile_command = [“wine”, path_to_pyinstaller, “–onefile”, “–icon=img/exe_file.ico”, list[0]+”.py”] and created a new executable. But when i try to execute in CMD as you have asked me using start c2.exe, a small cmd pops ups and closes within seconds. I cannot read what is written on that. Does you c2 works on Windows 11?
Mr_GrootParticipantHi Dimitris
Thank you for your reply.
I dint get this “Once you change that build a discord backdoor and run it from the terminal on the windows machine. This will output errors on the terminal and we can find out what the issue is.” Could you plase explain properly…. How I can run it from Terminal on Windows Machine?
Mr_GrootParticipantHi Diego
Im waiting for Dimitris solution to my issues.
Mr_GrootParticipantHello Dimitris
As per your request i have attached the screenshots of config file along with other details.
Im also facing the same issues with telegram. I can not get connection on telegram as well.
Please check the links for your understanding https://drive.google.com/drive/folders/1lHQHwDeH5vtfA3pp9NPQMe3ICPlVRTYO?usp=sharing It contains all screenshots.
Mr_GrootParticipantHello
By when can i get solution to this?
Mr_GrootParticipantHi
Yes. i have doubled checked all the info from discord server. I followed the video shared by Zaid for getting the details as well……
- AuthorPosts