Hyperion icon indicating copy to clipboard operation
Hyperion copied to clipboard

can this obfucated file be made into a exe

Open fdsmjkfjires opened this issue 2 years ago • 21 comments

fdsmjkfjires avatar Jul 03 '22 07:07 fdsmjkfjires

yes it can, with pyinstaller or nuitka :)

billythegoat356 avatar Jul 03 '22 11:07 billythegoat356

Me again, Im doing a simple reverse shell and when i execute the .py it connects but when i convert it to exe using pyinstaller it does not sorry for the inconvenience.

elkeTmata avatar Aug 11 '22 19:08 elkeTmata

Can you show me the error?

billythegoat356 avatar Aug 11 '22 20:08 billythegoat356

Theres no error itself, It just does nothing when is an exe

elkeTmata avatar Aug 11 '22 20:08 elkeTmata

I am having the same problem

unawake avatar Aug 12 '22 16:08 unawake

Answer: Yes, it can be made into an exe, even a multi modular proyect.

Theres no error itself, It just does nothing when is an exe

You need to specify ALL the imports to the pyinstaller, even your own local modules. This is because the installer can't properly analize your code for hidden imports so you have to specify them.

# Argument to Add python module
--hidden-import=curses
# Argument to Add local modules
--hiden-import="xGame"
--hiden-import="utils.funcs"

LcyDev avatar Aug 29 '22 15:08 LcyDev

ohhh ok thank you This helped alot

unawake avatar Aug 29 '22 19:08 unawake

If you need, i can share you how i did it and what i did. I modified hyperion to work better and automatizable, also added some fixes and cmd-line arguments.

LcyDev avatar Aug 29 '22 20:08 LcyDev

That would be nice if your can share what u did

unawake avatar Aug 29 '22 22:08 unawake

Hey yeah, i currently have to rewrite the entire thing to make it cleaner and so it works with my EXEWrapper in C but i'll let you know

You can contact me via discord ConaII#1154

LcyDev avatar Aug 30 '22 01:08 LcyDev

Hello. You can make a pull request if you want to share your upgraded version of Hyperion!

billythegoat356 avatar Aug 30 '22 01:08 billythegoat356

Hello. You can make a pull request if you want to share your upgraded version of Hyperion!

Okay nice, i'll do that soon ^^ I'll just clean it first.

LcyDev avatar Aug 30 '22 01:08 LcyDev

Pull Request: #13 @unawake @billythegoat356

LcyDev avatar Aug 30 '22 16:08 LcyDev

Hey yeah, i currently have to rewrite the entire thing to make it cleaner and so it works with my EXEWrapper in C but i'll let you know

You can contact me via discord ConaII#1154

Accept My friend request. I am still having trouble converting to a exe

unawake avatar Aug 30 '22 17:08 unawake

@ConaII could u accept my discord friend request. My name is smug on there

Smug246 avatar Oct 09 '22 13:10 Smug246

UP+

J'ai le même problème avec auto py to exe image j'ai bien importer mes modules, mais rien ne ce passe, je suis sensé avoir deux fichiers apparaitre dans TEMP\test

dazd-pkz avatar Dec 06 '22 07:12 dazd-pkz

UP+

J'ai le même problème avec auto py to exe image j'ai bien importer mes modules, mais rien ne ce passe, je suis sensé avec deux fichiers apparaitre dans TEMP\test

Dis moi que tu troll

CSM-BlueRed avatar Dec 06 '22 11:12 CSM-BlueRed

c'est ce que j'ai compris de conall : You need to specify ALL the imports to the pyinstaller, even your own local modules. Tu dois spécifié tout les imports dans pyinstaller

dazd-pkz avatar Dec 06 '22 11:12 dazd-pkz

bah explique moi jsp ;-;

dazd-pkz avatar Dec 06 '22 16:12 dazd-pkz

up

dazd-pkz avatar Dec 06 '22 21:12 dazd-pkz

So no one was able to build the EXE file? I just didn't have the brains to run it from what I have now)

zerocold1981 avatar Apr 25 '23 04:04 zerocold1981