kam800 / MachObfuscator

MachObfuscator is a programming-language-agnostic Mach-O apps obfuscator for Apple platforms.
MIT License
521 stars 78 forks source link

MachObfuscator crashes #13

Closed chinyaev closed 5 years ago

chinyaev commented 5 years ago

Hi!

I builded MachObufscator and SimpleMacApp, then copy them in folder Running terminal and wrote ./MachObfuscator -v SimpleMacApp.app/ But nothing happened (obfuscation I mean)

Will obfuscate file:///Users/pavel/Documents/MachObfuscator/SimpleMacApp.app Looking for dependencies... 0 obfuscable images 0 obfuscable NIBs Collecting symbols... 0 obfuscable selectors 0 obfuscable classes 0 unobfuscable selectors 0 unobfuscable classes Mangling symbols... 0 mangled selectors 0 mangled classes Saving all the files in place... BYE MacBook-Pro-Pavel:MachObfuscator pavel$

What I made wrong?

linhmui commented 5 years ago

Create new folder and place file want to run Obfuscation and run ./MachOfuscator/newfolder

chinyaev commented 5 years ago

Create new folder and place file want to run Obfuscation and run ./MachOfuscator/newfolder

Thank your for answer. But now i get error Illegal instruction: 4

MacBook-Pro:MachObfuscator pavel$ ./MachObfuscator -v ./out/SampleMacApp.app (It’s right?)
Will obfuscate file:///Users/pavel/Documents/MachObfuscator/out/SampleMacApp.app/
Looking for dependencies...
Illegal instruction: 4
linhmui commented 5 years ago

You can try this ./MachObfuscator -v ./out with SampleMacApp.app in "out" folder

chinyaev commented 5 years ago

Doesn't work too.. Looking for dependencies... Illegal instruction: 4 My Xcode version 10.2, Mac 10.14.4

linhmui, can you send me your binary MachObfuscator please?

kam800 commented 5 years ago

Hi. What Xcode version did you use? Would you be pleased to see MachObfuscator binary available on github?

chinyaev commented 5 years ago

Hi. What Xcode version did you use? Would you be pleased to see MachObfuscator binary available on github?

Hi! My Xcode version 10.2, Mac 10.14.4. Yea, I will pleased, maybe it will work

kam800 commented 5 years ago

Two PRs opened. I wonder if changes from swift5 branch fix the crash.

kam800 commented 5 years ago

@Chinyaev can you confirm, the issue was fixed?

chinyaev commented 5 years ago

@Chinyaev can you confirm, the issue was fixed? Unfortunately not. But maybe I'm doing something wrong.

kam800 commented 5 years ago

@Chinyaev Can you please send me your IPA? Preferably on twitter: @kam800.