- This topic has 62 replies, 4 voices, and was last updated 3 months, 1 week ago by Diego Pérez.
- AuthorPosts
- July 16, 2024 at 11:13 am #170857Mr_GrootParticipant
Hello
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.July 16, 2024 at 7:29 pm #171175Diego PérezModeratorHi!
Can you share a screenshot of the modified code?Thanks!
DiegoJuly 17, 2024 at 3:24 pm #171434Mr_GrootParticipantHi There
Please find the asked screenshot attached below.
Attachments:
You must be logged in to view attached files.July 17, 2024 at 8:02 pm #171521Diego PérezModeratorHi!
It looks correct but it seems like the executable is crashing somehow. Have you tried to create a github or telegram backdoor? Are they working?Greetings!
DiegoJuly 18, 2024 at 1:06 pm #171709Mr_GrootParticipantYes. I tried telegram c2. Still can not get connection.
July 20, 2024 at 12:03 am #172265Diego PérezModeratorHi!
Ok, I’ll ask Dimitris to check it out.Greetings!
DiegoJuly 20, 2024 at 4:31 pm #172456Mr_GrootParticipantYes. Please. I need one c2 on urgent basis so please ask him to do the needful.
July 22, 2024 at 8:01 pm #173285Diego PérezModeratorHi!
Yeah, he will answer soon.Greetings!
DiegoJuly 25, 2024 at 1:23 pm #174156Mr_GrootParticipantHello Diego
Im still waiting for Dimitris to reply…. I need it on urgent basis otherwise I want to opt for other c2.
July 25, 2024 at 8:23 pm #174329Diego PérezModeratorHi!
I’ll remind him. But if for some reason it is very urgent for you then try with a different C2.Greetings!
DiegoJuly 29, 2024 at 10:01 am #175698Mr_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…
July 30, 2024 at 7:17 pm #176325Diego PérezModeratorHi!
Unfortunately I have no idea how the tool works. I’ll remind Dimitris about this issue, sorry for the late response.Greetings!
DiegoAugust 1, 2024 at 9:12 am #176810Dimitris KalopisisSpectatorSorry for the late response. I tried multiple times to replicate the issue but still to no avail. Let’s try one last thing: remove the sandbox evasion checks and see if that makes the backdoor work. You said you are running this on a real computer and not a VM, so the sandbox evasion might be getting a false positive rendering the backdoor useless.
Head to line 462 on the code/discord/main.py file and comment the if-statement and make sure to un-intend the rest of the code below the if-statement.
Check out the screenshot I supplied to see how it is supposed to look.Try to generate a new backdoor this way and try to run it on the target. You will not need to click this time to activate the backdoor.
Let me know how it goes.
Attachments:
You must be logged in to view attached files.August 3, 2024 at 12:53 pm #177536Mr_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.August 6, 2024 at 10:54 am #178485Mr_GrootParticipantHello Diego
Your there mate? Can you ask Dimitris for this solution?
- AuthorPosts
- You must be logged in to reply to this topic.