Last active
April 21, 2023 17:21
-
-
Save jaoye/f77608ba49f240c46384544d9245356a to your computer and use it in GitHub Desktop.
[Crack Sublime Text] #Crach
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IDA Pro | |
open '/Applications/Sublime\ Text.app/Contents/MacOS/Sublime\ Text' | |
[File] -> [Produce file] -> [Create C file] | |
get 'Sublime Text.c' | |
search 'Sublime Text.c' Find "Thanks for purchasing!" in [show_thanks] | |
search show_thanks fun | |
''' | |
if ( v13 ) | |
{ | |
v14 = *((_QWORD *)this + 74); | |
v12 = v14 + 8; | |
v15 = apple_fruit((__int64)&v50, v14 + 8, (unsigned int *)(v14 + 4), &v41, (_BYTE *)(v14 + 1)); | |
v16 = (bool *)*((_QWORD *)this + 74); | |
*v16 = v15 == 1; | |
switch ( v15 ) | |
{ | |
case 1: | |
std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>::operator=(v16 + 32); | |
std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>::basic_string(&v38, &v50); | |
.... | |
.... | |
if ( *(_BYTE *)(*((_QWORD *)v6 + 74) + 1LL) ) | |
{ | |
v28 = (_QWORD *)operator new(0x18uLL); | |
*v28 = off_100731948; | |
v28[1] = show_upgrade_required; | |
} | |
else | |
{ | |
v28 = (_QWORD *)operator new(0x18uLL); | |
*v28 = off_100731948; | |
v28[1] = show_thanks; | |
} | |
} | |
} | |
''' | |
wii find [apple_fruit] is a key function | |
edit apple_fruit return 1 | |
''' | |
48 C7 C0 01 00 00 00 C3 | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://gist.github.com/vertexclique/9839383
cs475x