100apps/charles-hacking

There have been an update 4.2.7

Opened this issue · 17 comments

We are looking forward to getting a crack on version 4.2.7

si458 commented

i keep getting
“Charles.app” is damaged and can’t be opened. You should move it to the Trash.
OSX 10.13.6

HeIp commented

@si458 That's cause there was a mistaken branch merge, using the same crack I provided for version 4.2.6.

Use this instead : Correct Working Code

si458 commented

@si458 That's cause there was a mistaken branch merge, using the same crack I provided for version 4.2.6.

Use this instead : Correct Working Code

nope still doesn't work :(

and now i cant get the 4.2.6 hack to work either? (forgot to backup app before hand) :(

HeIp commented

@si458 do you have java jdk 1.8.0 ? it's needed

si458 commented

@si458 do you have java jdk 1.8.0 ? it's needed

yep

SiMacBookPro:~ Simon$ /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
    1.8.0_112, x86_64:	"Java SE 8"	/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home

/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home
SiMacBookPro:~ Simon$ 
HeIp commented

how are you doing it? @si458

si458 commented

how are you doing it? @si458

ezgif com-video-to-gif 1

HeIp commented

@si458 in your terminal run sudo spctl --master-disable and try running it again, should be fixed.

si458 commented

@si458 in your terminal run sudo spctl --master-disable and try running it again, should be fixed.

i have never had to disable the security on my laptop tho which is confusing me?

and now i cant get 4.2.6 to work either?

HeIp commented

I don't really know the specifics, I just know it works.

si458 commented

I don't really know the specifics, I just know it works.

ok i found my backup drive, looked in the time machine, restored the app from last week and that works fine... version 4.2.6... ill hang fire on upgrading for now as this works :)

HeIp commented

@si458 did the disabling command not work tho ?

si458 commented

@HeIp i refuse to disable any security on my mac so i dont no im sorry...

HeIp commented

@si458 It's fine, no problem

si458 commented

@si458 It's fine, no problem

ok i discovered the issue, apple is marking the file as quarantine, and failing to open it, but if you REMOVE the xattr after you first try to open it, it then works without any issue

SiMacBookPro:Applications Simon$ xattr Charles.app/
com.apple.quarantine
SiMacBookPro:Applications Simon$ xattr -d com.apple.quarantine Charles.app/
SiMacBookPro:Applications Simon$ 
si458 commented

@HeIp
i have also discovered another issue...

1. download the update from there website
2. copy it to applications
3. run the hack.sh file
4. DAMAGED

BUT do this in this order

1. download the update from there website
2. copy it to applications
3. run the application ONCE AND QUIT
4. run the hack.sh file
5. works without any issue! 

this is due to the gatekeeper and the quarantine...

HeIp commented

@si458 Ohh that's cool to know, didn't know the specifics so that's pretty cool, thanks!