Viewing 15 posts - 46 through 60 (of 64 total)
  • Author
    Posts
  • #170857
    Mr_Groot
    Participant

    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.
    #171175
    Diego PérezDiego Pérez
    Moderator

    Hi!
    Can you share a screenshot of the modified code?

    Thanks!
    Diego

    #171434
    Mr_Groot
    Participant

    Hi There

    Please find the asked screenshot attached below.

    Attachments:
    You must be logged in to view attached files.
    #171521
    Diego PérezDiego Pérez
    Moderator

    Hi!
    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!
    Diego

    #171709
    Mr_Groot
    Participant

    Yes. I tried telegram c2. Still can not get connection.

    #172265
    Diego PérezDiego Pérez
    Moderator

    Hi!
    Ok, I’ll ask Dimitris to check it out.

    Greetings!
    Diego

    #172456
    Mr_Groot
    Participant

    Yes. Please. I need one c2 on urgent basis so please ask him to do the needful.

    #173285
    Diego PérezDiego Pérez
    Moderator

    Hi!
    Yeah, he will answer soon.

    Greetings!
    Diego

    #174156
    Mr_Groot
    Participant

    Hello Diego

    Im still waiting for Dimitris to reply…. I need it on urgent basis otherwise I want to opt for other c2.

    #174329
    Diego PérezDiego Pérez
    Moderator

    Hi!
    I’ll remind him. But if for some reason it is very urgent for you then try with a different C2.

    Greetings!
    Diego

    #175698
    Mr_Groot
    Participant

    There 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…

    #176325
    Diego PérezDiego Pérez
    Moderator

    Hi!
    Unfortunately I have no idea how the tool works. I’ll remind Dimitris about this issue, sorry for the late response.

    Greetings!
    Diego

    #176810

    Sorry 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.
    #177536
    Mr_Groot
    Participant

    Hello 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.
    #178485
    Mr_Groot
    Participant

    Hello Diego

    Your there mate? Can you ask Dimitris for this solution?

Viewing 15 posts - 46 through 60 (of 64 total)
  • You must be logged in to reply to this topic.