Coder Social home page Coder Social logo

duraki / sketchcrapp Goto Github PK

View Code? Open in Web Editor NEW
429.0 18.0 38.0 585 KB

SketchCrapp - Crack your Sketch.app in seconds :) Supports MacOS Big Sur.

Shell 90.49% JavaScript 9.05% Python 0.46%
sketchapp macos reverse-engineering sketch sketch-plugin sketch-app reverseengineering crack

sketchcrapp's Introduction

Metrics

sketchcrapp's People

Contributors

duraki avatar elijahtsai avatar gordio avatar peter-jozsa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sketchcrapp's Issues

binaryerr›› should detect if Version is not supported

Due to #15 and #16, we need to add support for binaryerr to check supported hashes via binary Mach-O, and report the end-user that the version is not yet supported.

ie. If hash is not in the list, nor does match supported version, it's probably:

  • an unsupported version
  • a broken binary
+ Issue details ‹s:sketchcrapp›
+ Application Path  : /Users/xxxx/Downloads/Sketch.app
+ Application Binary: /Users/xxxx/Downloads/Sketch.app/Contents/MacOS/Sketch
+ Passed version    : ‹nil›
+ Binary SHA1       : bc22987f7b3a7580aba1ac260c59d66d0a3622e7
+ Error             : binaryerr›› [version not supported]
+                     supported versions are [v1, ..., v(n)]
+===================================================================

We can further read *.plist under app directory to detect which version did user try to patch. This way we can diff between a broken binary or given version. For example, if plist version is supported (ie. v61.1), it's a broken binary; if plist version is not yet supported, it needs a SketchCrapp update and obviously some more reverse-engineering.

[version v(n) is not yet supported]

@elijahtsai wdyt?

Version 78.1 support

Sketch version [required]
What is the Sketch version you want support for?
78.1

Version 72 support would be amazing

Sketch version [required]
What is the Sketch version you want support for?
Ex: 70

Additional context [optional]
Would appreciate it. Thanks for the good work

Missing xcrun

Describe the issue [required]
70.6 Fail
macOS version [required]
What is the macOS version?
macOS Catalina 10.15.6

Sketch version [required]
What is the Sketch version you want to patch?
70.6

Terminal error message [required]

[+] Checking directory tmp existence ... OK
[+] Fetching https://download.sketch.com/sketch-70.6-109241.zip ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 58.5M 100 58.5M 0 0 10.2M 0 0:00:05 0:00:05 --:--:-- 10.5M
[+] Checking if Sketch.app exist in /tmp ... Not exist. Continuous.
[+] Checking if Sketch.app exist in /Applications ... Exist. Removing.
[+] Moving Sketch.app to /Applications directory ... Successfully.
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... OK
[+] Selected Sketch.app version is 70.6 ... SketchCrapp starting ... OK
[+] Patching offsets for 70.6 ... Starting modern arch patch via bash&seek ...
[+] Patching address at offset: 0x585eef with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000033 secs (30175 bytes/sec)
[+] Patching address at offset: 0x585ef2 with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000028 secs (35545 bytes/sec)
[+] Patching address at offset: 0x584b3e with value: \00\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000031 secs (64528 bytes/sec)
[+] Patching address at offset: 0x584c6e with value: \165
1+0 records in
1+0 records out
1 bytes transferred in 0.000023 secs (43691 bytes/sec)
[+] Patching address at offset: 0x66ce63 with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000079 secs (190074 bytes/sec)
[+] Patching address at offset: 0x66ce73 with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000124 secs (104858 bytes/sec)
[+] Patching address at offset: 0xdcd404 with value: \01
1+0 records in
1+0 records out
1 bytes transferred in 0.000028 secs (35545 bytes/sec)
[+] Patching address at offset: 0xdcd408 with value: \24
1+0 records in
1+0 records out
1 bytes transferred in 0.000035 secs (28533 bytes/sec)
[+] Patching address at offset: 0xdcc07c with value: \165\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000045 secs (44384 bytes/sec)
[+] Patching address at offset: 0xdcc19f with value: \64
1+0 records in
1+0 records out
1 bytes transferred in 0.000046 secs (21845 bytes/sec)
[+] Patching address at offset: 0xed0fbc with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000082 secs (182891 bytes/sec)
[+] Patching address at offset: 0xed0fcc with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000069 secs (188671 bytes/sec)
[+] Checking user default keychain ... Exist
[+] Checking SketchCrapp identity ... Exist
[+] Skipping certificate creation ... OK
[+] Signing the patched *.app bundle. This may require root privilege.
[+] If asked, enter your login password. Choose "Always Allow" to not be asked again.
/Applications/Sketch.app: replacing existing signature
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/Applications/Sketch.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Applications/Sketch.app/Contents/MacOS/sketchtool
[-] Failed to sign Sketch bundle.
[+] Automatic fix process started.
[+] Removing certificate ...
[+] Re-creating signature identity ...
[+] Generating self-signed certificate ...
Generating a 521 bit EC private key
writing new private key to 'pk.pem'

[+] Creating pkcs package...
[+] Re-importing signature identity ...
[+] Importing private key and self-signed certificate
1 identity imported.
[+] Resigning application bundle again using signature identity ...
/Applications/Sketch.app: replacing existing signature
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/Applications/Sketch.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Applications/Sketch.app/Contents/MacOS/sketchtool
[-] Failed to sign Sketch bundle. Automatic method failed.
[INFO] Copy the full log and open a new issue on GitHub repository: https://github.com/duraki/SketchCrapp
[+] Cleaning up file(s) ... Cleaned
[+] SketchCrapp last published date: 2021-03-07 serial 005

how can I know it works or not?

I saw this message, [+] SketchCrapp process completed. Sketch.app has been patched :)

but how can I know it really works or not?

Is it the only way to wait for 30 days to expire?

Full walkthrough Please

Hi,

I am completely new to the coding side of things and was hoping you could please provide a full walkthrough for someone who has no clue about coding and GitHub. Sorry to cause any inconvenience.

Thanks Again

“Sketch” is damaged and can’t be opened. You should move it to the Bin.

Describe the issue [required]
I downloaded Sketch 69.2 and ran the script. When I try to open Sketch it says: “Sketch” is damaged and can’t be opened. You should move it to the Bin.

macOS version [required]
What is the macOS version?
MacOS Catalina 10.15.6

Sketch version [required]
What is the Sketch version you want to patch?
69.2

Terminal error message [required]

             __       __      __
      ___ / /_____ / /_____/ /  ___________ ____  ___
    ( _-</  '_/ -_) __/ __/ _ \/ __/ __/ _ `/ _ \/ _ \
    /___/_/\_\\__/\__/\__/_//_/\__/_/  \_,_/ .__/ .__/
                                          /_/  /_/
         Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
         by @duraki & @elijahtsai

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is </Applications> (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... OK
[+] Selected Sketch.app version is 69.2 ... SketchCrapp starting ... OK
[+] Patching offsets for 69.2 ... Starting
[+] Patching address at offset: 0x5d09df with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000073 secs (13662 bytes/sec)
[+] Patching address at offset: 0x5d09e2 with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000030 secs (33288 bytes/sec)
[+] Patching address at offset: 0x5cf57e with value: \00\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000030 secs (66576 bytes/sec)
[+] Patching address at offset: 0x5cf6ae with value: \165
1+0 records in
1+0 records out
1 bytes transferred in 0.000068 secs (14717 bytes/sec)
[+] SketchCrapp certificate already exists.
[+] Skipping certificate creation ... OK
[+] Signing the patched *.app bundle. This may require root privilege.
[+] If asked, enter your login password. Choose "Always Allow" to not be asked again.
/Applications/Sketch.app: replacing existing signature
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/Applications/Sketch.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Applications/Sketch.app/Contents/MacOS/sketchtool
[+] Cleaning up file(s) ... Cleaned
[+] SketchCrapp process completed. Sketch.app has been patched :)
[+] -- Notice:
[+] If a dialogue shows up with message: “Sketch 3.app” can’t be opened
[+] please right-click the application and select open,
[+] or go to Settings -› Security and allow opening Sketch.app application.
[+]
[+] If you are using an old version and a dialogue shows up asking for password
[+] about "com.bohemiancoding.sketch3.HockeySDK"
[+] please enter your login password. Choose "Always Allow" to not be asked again.

[+] SketchCrapp (A Sketch.app cracking tool)
[+] https://github.com/duraki/SketchCrapp [by @duraki & @elijahtsai]
[+] SketchCrapp last published date: 2020-11-01 serial 001

Can't find Sketch with that signature. Hash is invalid.

Describe the request [required]
I'm getting this error:
If you could help me with that I'd really appreciate it :)

+===================================================================

  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 63
  • Correct hash : Input version string invaild, cannot lookup correct hash value.
  • Binary SHA1 : 5508080ea094f92b21b1cf3cb0b612c5d39d18db
  • Error : Can't find Sketch with that signature. Hash is invalid.
    +===================================================================

macOS version
macOS High Sierra 10.13.6

Sketch version [required]
v63

Additional context [optional]
Full output:
Last login: Tue Mar 2 09:58:36 on ttys000
MacBook-Pro-4:~ juliamartigomez$ cd $HOME && git clone https://github.com/duraki/SketchCrapp
fatal: destination path 'SketchCrapp' already exists and is not an empty directory.
MacBook-Pro-4:~ juliamartigomez$ cd $HOME/SketchCrapp && chmod +x sketchcrapp.sh
MacBook-Pro-4:SketchCrapp juliamartigomez$ cd $HOME/SketchCrapp && ./sketchcrapp.sh
__ __ __
___ / /_____ / // / ___________ ____ ___
( -</ '/ -) __/ __/ _ / _/ / _ `/ _ / _
/
/
/_\/_/_////_// _,_/ .
/ .
_/
// //
Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
by @duraki & @elijahtsai

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
./sketchcrapp.sh: line 443: [: : integer expression expected
[+] Validating executable file ... Error
[ERR] Can't find Sketch with that signature. Hash is invalid.
[INFO] Carefully review README file again
[INFO] If you still have problem copy the details below and open a new issue
[INFO] on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================

  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 63
  • Correct hash : Input version string invaild, cannot lookup correct hash value.
  • Binary SHA1 : 5508080ea094f92b21b1cf3cb0b612c5d39d18db
  • Error : Can't find Sketch with that signature. Hash is invalid.
    +===================================================================
    [+] SketchCrapp last published date: 2021-02-25 serial 001
    MacBook-Pro-4:SketchCrapp juliamartigomez$

MacOS 10.13.6 with Sketch 63.1 ?

Any chance of a version that could work on a MacOS High Sierra 10.13.6 with Sketch 63.1?

Currently, if I try to use SketchCrapp I get the following:

cd $HOME && git clone https://github.com/duraki/SketchCrapp
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Thank you

Tag the Crackteam and Project

Tied to #8 so we can track it. This will remove "Days left until expiration" and will be replaced with crackteam and project name.

We are looking for Apple silicon testers

~ we are looking for testers who would like to contribute in open-source development of SketchCrapp. If you are using Apple silicon Mac-based PCs (post-2020), let us know below how does SketchCrapp behave and does Sketch works all right. Any quirks or bugs? Some feature is missing? Write a comment below.

Currently, the script can only patch with the Intel-based of Mac machines. But lucky for the apple silicon user you can use Rosetta 2 to get the job done.

See Rosetta 2 for reference:

Can't find Sketch with that signature. Hash is invalid.

I ran the command, and then the system prompt me to type the password for privateKey in keychain. I do not know what password it is, and tried my log-in password, which did not work. So I pressed "Deny". And then the result of the executable is the following. I tried multiple times, and it remained the same.. Pretty sure its a permission issue with signature, but not sure how to fix it.

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is </Applications> (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... Error
[ERR] Can't find Sketch with that signature. Hash is invalid.
[INFO] Carefully review README file again
[INFO] If you still have problem copy the details below and open a new issue
[INFO] on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================
+ Application Path  : /Applications/Sketch.app
+ Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
+ Passed version    : 68.2
+ Correct hash      : 651f3263305e004133253c2706fcdf5b16e20558
+ Binary SHA1       : ea4aa8f32fa2c3be32e281f276443d1acd59af38
+ Error             : Can't find Sketch with that signature. Hash is invalid.
+===================================================================
[+] SketchCrapp last published date: 2020-11-01 serial 001

[-] Failed to sign Sketch bundle. missing xcrun

This is the log that appeared and did not work. Thank you.

cd $HOME/SketchCrapp && ./sketchcrapp.sh
__ __ __
___ / /_____ / // / ___________ ____ ___
( -</ '/ -) __/ __/ _ / _/ / _ `/ _ / _
/
/
/_\/_/_////_// _,_/ .
/ .
_/
// //
Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
by @duraki & @elijahtsai

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... OK
[+] Selected Sketch.app version is 71.2 ... SketchCrapp starting ... OK
[+] Patching offsets for 71.2 ... Starting modern arch patch via bash&seek ...
[+] Patching address at offset: 0x5dccbf with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000026 secs (38480 bytes/sec)
[+] Patching address at offset: 0x5dccc2 with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000021 secs (47663 bytes/sec)
[+] Patching address at offset: 0x5db90e with value: \00\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000023 secs (87381 bytes/sec)
[+] Patching address at offset: 0x5dba3e with value: \165
1+0 records in
1+0 records out
1 bytes transferred in 0.000019 secs (52429 bytes/sec)
[+] Patching address at offset: 0x6cef41 with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000073 secs (205603 bytes/sec)
[+] Patching address at offset: 0x6cef51 with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000069 secs (188021 bytes/sec)
[+] Patching address at offset: 0xe89f98 with value: \01
1+0 records in
1+0 records out
1 bytes transferred in 0.000020 secs (49932 bytes/sec)
[+] Patching address at offset: 0xe89f9c with value: \24
1+0 records in
1+0 records out
1 bytes transferred in 0.000019 secs (52429 bytes/sec)
[+] Patching address at offset: 0xe9859c with value: \165\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000025 secs (80660 bytes/sec)
[+] Patching address at offset: 0xe986bf with value: \64
1+0 records in
1+0 records out
1 bytes transferred in 0.000027 secs (36792 bytes/sec)
[+] Patching address at offset: 0xfaa308 with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000078 secs (191813 bytes/sec)
[+] Patching address at offset: 0xfaa318 with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000068 secs (191319 bytes/sec)
[+] Checking user default keychain ... Exist
[+] Checking SketchCrapp identity ... Exist
[+] Skipping certificate creation ... OK
[+] Signing the patched *.app bundle. This may require root privilege.
[+] If asked, enter your login password. Choose "Always Allow" to not be asked again.
/Applications/Sketch.app: replacing existing signature
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/Applications/Sketch.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Applications/Sketch.app/Contents/MacOS/sketchtool
[-] Failed to sign Sketch bundle.
[+] Automatic fix process started.
[+] Removing certificate ...
[+] Re-creating signature identity ...
[+] Generating self-signed certificate ...
Generating a 521 bit EC private key
writing new private key to 'pk.pem'

[+] Creating pkcs package...
[+] Re-importing signature identity ...
[+] Importing private key and self-signed certificate
1 identity imported.
[+] Resigning application bundle again using signature identity ...
/Applications/Sketch.app: replacing existing signature
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
/Applications/Sketch.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Applications/Sketch.app/Contents/MacOS/sketchtool
[-] Failed to sign Sketch bundle. Automatic method failed.
[INFO] Copy the full log and open a new issue on GitHub repository: https://github.com/duraki/SketchCrapp
[+] Cleaning up file(s) ... Cleaned
[+] SketchCrapp last published date: 2021-05-05 serial 001

After updating to latest version, I can't launch Sketch anymore

Moving my comment to its own issue ticket.

The last usable version was 70.4. I was able to patch and run with no problem. Yesterday, I've tried 70.6 but for some reason is failing to sign the bundle. Even reverting back to 70.4 didn't fix the issue.

I deleted are references to sketchcrapp from keychain. No luck either.

This is me trying the proposed PR version of the script. Still, no luck.

pnikolaou@192 SketchCrapp % cd $HOME/SketchCrapp && ./sketchcrapp.sh
           __       __      __
      ___ / /_____ / /_____/ /  ___________ ____  ___
    ( _-</  '_/ -_) __/ __/ _ \/ __/ __/ _ `/ _ \/ _ \
    /___/_/\_\\__/\__/\__/_//_/\__/_/  \_,_/ .__/ .__/
                                          /_/  /_/
         Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
         by @duraki & @elijahtsai
SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is </Applications> (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... OK
[+] Selected Sketch.app version is 70.6 ... SketchCrapp starting ... OK
[+] Patching offsets for 70.6 ... Starting modern arch patch via bash&seek ...
[+] Patching address at offset: 0x585eef with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000029 secs (34380 bytes/sec)
[+] Patching address at offset: 0x585ef2 with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000035 secs (28533 bytes/sec)
[+] Patching address at offset: 0x584b3e with value: \00\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000028 secs (71698 bytes/sec)
[+] Patching address at offset: 0x584c6e with value: \165
1+0 records in
1+0 records out
1 bytes transferred in 0.000023 secs (43240 bytes/sec)
[+] Patching address at offset: 0x66ce63 with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000080 secs (187805 bytes/sec)
[+] Patching address at offset: 0x66ce73 with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000071 secs (182973 bytes/sec)
[+] Patching address at offset: 0xdcd404 with value: \01
1+0 records in
1+0 records out
1 bytes transferred in 0.000061 secs (16448 bytes/sec)
[+] Patching address at offset: 0xdcd408 with value: \24
1+0 records in
1+0 records out
1 bytes transferred in 0.000024 secs (41528 bytes/sec)
[+] Patching address at offset: 0xdcc07c with value: \165\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000027 secs (74235 bytes/sec)
[+] Patching address at offset: 0xdcc19f with value: \64
1+0 records in
1+0 records out
1 bytes transferred in 0.000023 secs (43240 bytes/sec)
[+] Patching address at offset: 0xed0fbc with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000078 secs (192399 bytes/sec)
[+] Patching address at offset: 0xed0fcc with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000070 secs (185462 bytes/sec)
[+] Checking user default keychain ... Exist.
[+] SketchCrapp certificate already exists.
[+] Skipping certificate creation ... OK
[+] Signing the patched *.app bundle. This may require root privilege.
[+] If asked, enter your login password. Choose "Always Allow" to not be asked again.
sketchcrapp: no identity found
[-] Failed to signing Sketch bundle.
[+] Starting fixing process.
[+] Remove identity.
security: SecTrustSettingsRemoveTrustSettings (user): No Trust Settings were found.
[-] Unable to delete sketchcrapp identity.
[+] Cleaning up file(s) ... Cleaned
[+] SketchCrapp last published date: 2021-02-27 serial 001
pnikolaou@192 SketchCrapp % 

Originally posted by @p-nicolaou in #65 (comment)

Add version publish date.

In debug message, I can't know do people update their script to our latest version. but bash doesn't need to compile, Therefore, I suggest use publish date as our script version.

Move from ZSH to Bash

We need to move from zsh to bash as it's the default shell on most MacOS (comes preinstalled). Zsh may give headache to those who don't have it installed.

#!/bin/zsh

We may need to refactor the code for declarative syntax (offsets), this now throws:

sketchcrapp.sh: 88: declare: not found
: not found.sh: 89: value_param_672+=
: not found.sh: 90: value_param_672+=
: not found.sh: 91: value_param_672+=
: not found.sh: 92: value_param_672+=

WDYT @elijahtsai

No Longer Working?

Describe the issue [required]
@elijahtsai Did Sketch update v71.2 to stop this crack from working? I used the magic line bash -c "$(curl -s https://raw.githubusercontent.com/duraki/SketchCrapp/master/sketchcrapp.sh -o -)" -O -m to install Sketch v71.2. After opening the app, it shows as 30 day trial.

macOS version [required]
What is the macOS version? 12.1 Monterey

Sketch version [required]
What is the Sketch version you want to patch? 71.2

Terminal error message [required]
None

Additional context [optional]
NA

[Old version request] Version 58

Describe the request [required]
I currently have 58, and I cannot update it since I am on a virtual machine without metal support. When I tried to install your patch, I got an error message saying it does not support my version.

Sketch version [required]
58

Additional context [optional]
I’m on a virtual machine, and 58 is as far as I can go without metal support.

Sketch 71.2 appeared as missing registration key

Describe the issue [required]
I am using Sketch 71.2 for quite a while now. This morning, I realise that I can't open Sketch. The "enter registation key" alert apears.

macOS version [required]
macOS Big Sur 11.5 Beta (20G5023d)
Screenshot 2021-05-24 at 14 07 37

Sketch version [required]
71.2
Screenshot 2021-05-24 at 14 07 15

Terminal error message [required]
None.

Additional context [optional]
Running the bash script seems to work OK. No errors. The only thing that changed since last week, my Mac automatically updated to the latest Beta version of MacOS.

Screenshots [optional]
Screenshot 2021-05-24 at 14 07 01

Does not work on apple silicon.

Tested on an m1 macbook air, the bash script finishes successfully,
But the sketch app can not start and crashes with "Sketch exited unexpectedly" error.

Could it be that the new version has the native arm64 executable, and the crack corrupts it?

macOS: 11.0.1
Sketch: 70.3

[Installation] ERROR: Can't find Sketch with that signature. Hash is invalid.

Hello,
I downloaded Sketch v69 from the website, and went through the steps mentioned in the readme but I got this error. I am working with a Macbook Pro with Catalina 10.15.7 installed.

I just opened Sketch and it says I have 1 day left :O
Is there anything I can do to solve it? Thanks in advance

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... Error
[ERR] Can't find Sketch with that signature. Hash is invalid.
[INFO] Carefully review README file again
[INFO] If you still have problem copy the details below and open a new issue on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================

  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 69
  • Correct hash : 651f3263305e004133253c2706fcdf5b16e20558
  • Binary SHA1 : 63e50175576e15df17809d2a3f72a19539651bdc
  • Error : Can't find Sketch with that signature. Hash is invalid.
    +===================================================================

Sketch v69.2 not working

Describe the issue [required]
Could not apply for sketch v69.2

macOS version [required]
macOS Big Sur 11.0.1

Sketch version [required]
69.2

Terminal error message [required]

           __       __      __
      ___ / /_____ / /_____/ /  ___________ ____  ___
    ( _-</  '_/ -_) __/ __/ _ \/ __/ __/ _ `/ _ \/ _ \
    /___/_/\_\\__/\__/\__/_//_/\__/_/  \_,_/ .__/ .__/
                                          /_/  /_/
         Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
         by @duraki & @elijahtsai

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is </Applications> (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... Error
[ERR] Can't find Sketch with that signature. Hash is invalid.
[INFO] Carefully review README file again
[INFO] If you still have problem copy the details below and open a new issue
[INFO] on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================
+ Application Path  : /Applications/Sketch.app
+ Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
+ Passed version    : 69.2
+ Correct hash      : a7ba7ddf8e15e1e03ae88c00ab5070dabecc06b2
+ Binary SHA1       : 12e1f1b67df91bc1f99ff0da0f41b3bad5c667f3
+ Error             : Can't find Sketch with that signature. Hash is invalid.
+===================================================================
[+] SketchCrapp last published date: 2020-11-01 serial 001

New sketch version 70.5

Sketch version [required]
What is the Sketch version you want support for?
Ex: 70.5

Additional context [optional]
A new version came out :)

Error on running the command

Describe the issue [required]
A clear and concise description of what the issue is.
When I run the command on the system for the last step, get the below error.

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... Error
[ERR] Can't find Sketch with that signature. Hash is invalid.
[INFO] Carefully review README file again
[INFO] If you still have problem copy the details below and open a new issue
[INFO] on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================

  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 69
  • Correct hash : 2d4027890e2b72175c4a562f59c5d1adb2655b8c
  • Binary SHA1 : 85bc07b0667be3000c6aa29bac8a1e753dec3a7b
  • Error : Can't find Sketch with that signature. Hash is invalid.
    +===================================================================
    [+] SketchCrapp last published date: 2020-11-01 serial 001

macOS version [required]
What is the macOS version?
Don't know how to find out? watch this https://support.apple.com/en-us/HT201260
Ex: macOS Catalina 10.15.7

Sketch version [required]
What is the Sketch version you want to patch?
Ex: 69 or any other version

Terminal error message [required]
Please copy the error message from the terminal if there has any.
SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... Error
[ERR] Can't find Sketch with that signature. Hash is invalid.
[INFO] Carefully review README file again
[INFO] If you still have problem copy the details below and open a new issue
[INFO] on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================

  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 69
  • Correct hash : 2d4027890e2b72175c4a562f59c5d1adb2655b8c
  • Binary SHA1 : 85bc07b0667be3000c6aa29bac8a1e753dec3a7b
  • Error : Can't find Sketch with that signature. Hash is invalid.
    +===================================================================
    [+] SketchCrapp last published date: 2020-11-01 serial 001

Additional context [optional]
Add any other context about the problem here.

Screenshots [optional]
Add screenshots to help explain your problem.

xcrun: error: active developer path (/Applications/Xcode.app/Contents/Developer") does not exist

Fork issue from #42 (comment)

@joemartins asked

Hello everyone. I'm facing exactly the same issue.
But, I think I may be doing something wrong.
I've already have CLI tools installed. This is the message I get when I try to install it:
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

I've checked for Software Updates but my system is already up to date.

I'm targeting Sketch 69.2 version, but still I get this message:
image

This is what appears when I run the Sketchcrapp script:

           __       __      __
      ___ / /_____ / /_____/ /  ___________ ____  ___
    ( _-</  '_/ -_) __/ __/ _ \/ __/ __/ _ `/ _ \/ _ \
    /___/_/\_\\__/\__/\__/_//_/\__/_/  \_,_/ .__/ .__/
                                          /_/  /_/
         Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
         by @duraki & @elijahtsai

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is </Applications> (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... OK
[+] Selected Sketch.app version is 69.2 ... SketchCrapp starting ... OK
[+] Patching offsets for 69.2 ... Starting
[+] Patching address at offset: 0x5d09df with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000020 secs (49932 bytes/sec)
[+] Patching address at offset: 0x5d09e2 with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000013 secs (77672 bytes/sec)
[+] Patching address at offset: 0x5cf57e with value: \00\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000017 secs (118149 bytes/sec)
[+] Patching address at offset: 0x5cf6ae with value: \165
1+0 records in
1+0 records out
1 bytes transferred in 0.000012 secs (83886 bytes/sec)
[+] SketchCrapp certificate already exists.
[+] Skipping certificate creation ... OK
[+] Signing the patched *.app bundle. This may require root privilege.
[+] If asked, enter your login password. Choose "Always Allow" to not be asked again.
/Applications/Sketch.app: replacing existing signature
xcrun: error: active developer path ("/Applications/Xcode.app/Contents/Developer") does not exist
Use `sudo xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools, or use `xcode-select --install` to install the standalone command line developer tools.
See `man xcode-select` for more details.
/Applications/Sketch.app: the codesign_allocate helper tool cannot be found or used
In subcomponent: /Applications/Sketch.app/Contents/MacOS/sketchtool
[+] Cleaning up file(s) ... Cleaned
[+] SketchCrapp process completed. Sketch.app has been patched :)
[+] -- Notice: 
[+] If a dialogue shows up with message: “Sketch 3.app” can’t be opened
[+] please right-click the application and select open, 
[+] or go to Settings -› Security and allow opening Sketch.app application.
[+] 
[+] If you are using an old version and a dialogue shows up asking for password
[+] about "com.bohemiancoding.sketch3.HockeySDK"
[+] please enter your login password. Choose "Always Allow" to not be asked again.

[+] SketchCrapp (A Sketch.app cracking tool)
[+] https://github.com/duraki/SketchCrapp [by @duraki & @elijahtsai]
[+] SketchCrapp last published date: 2020-11-01 serial 001

Is there anything I should be doing?
(sorry for the possible bad English. Not my native language).

Thanks in advance :)

Version v71.2 is not supported

Sketch version [required]
71.2

Additional context [optional]
I ran the magic trick (bash -c "$(curl -s https://raw.githubusercontent.com/duraki/SketchCrapp/master/sketchcrapp.sh -o -)" -O -m), and this was the output:

[+] Hello, The magic show is about to start! Are you ready?
[+] Checking if version v71.2 is supported ...
[+] Generating swift script: target Version ...
[+] Fetching https://download.sketchapp.com/sketch-versions.xml ... 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 85817  100 85817    0     0   404k      0 --:--:-- --:--:-- --:--:--  404k
[+] Generating swift script: target URL ...
[ERR] Version v71.2 is not supported, please carefully review README file again.
[INFO] Copy the details below and open a new issue on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================
+ Issue details ‹s:sketchcrapp:UnknowDownloadURLString
+ Passed version    : v71.2
+ Error             : Version v71.2 is not supported.
+===================================================================
[+] Cleaning up file(s) ... Cleaned
[+] SketchCrapp last published date: 2021-04-12 serial 023

not working for Sketch 70.

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[ERR] Version 70 is not supported, please carefully review README file again.
[INFO] Copy the details below and open a new issue on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================

  • Issue details ‹s:sketchcrapp›
  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 70
  • Binary SHA1 : 64dc3eb2b1da130a56ff0903f9ec46d050d236c1
  • Error : Version 70 is not supported.
    +===================================================================
    [+] SketchCrapp last published date: 2021-03-07 serial 005

Version 73 is not supported

I run ./sketchcrapp.sh but it return this:

[+] Selected Sketch.app path is </Applications> (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[ERR] Version 73 is not supported, please carefully review README file again.
[INFO] Copy the details below and open a new issue on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================
+ Issue details ‹s:sketchcrapp›
+ Application Path  : /Applications/Sketch.app
+ Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
+ Passed version    : 73
+ Binary SHA1       : dd3ca7403fa8134fa551336a714343f9c47cd8a3
+ Error             : Version 73 is not supported.
+===================================================================
[+] SketchCrapp last published date: 2021-06-17 serial 020```

add support for sketch version 53

Describe the request [required]
please add support for sketch v53

Sketch version [required]
What is the Sketch version you want us to add?
53

Additional context [optional]
I am using VirtualBox to emulate macOs and run sketch.
Sketch v54 and higher use mettle api to render it's content which VirtualBox doesn't support.
but sketch v53 and lower does work so it will be helpful to add support for sketch v53

image

Doesn`t works for me

Hi guys,
I get this error:
+===================================================================

  • Issue details ‹s:sketchcrapp›
  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : ‹nil›
  • Binary SHA1 : 4128ac5c9df230a8756a246cf51db134d4f4d28b
  • Error : binaryerr››
    +===================================================================

add support for sketch version 51.3

Describe the request [required]
please add support for sketch v51.3

Sketch version [required]
What is the Sketch version you want us to add?
Ex: 51.3

Additional context [optional]
this sketch version does support content rendering in virtualbox
VirtualBox_MacOs_16_10_2021_12_54_38

The specified item could not be found in the keychain

Describe the issue [required]
I'm getting an error of error: The specified item could not be found in the keychain.

If you can point me to the right direction that'll be greatly appreciated!! Thanks so much

macOS version [required]
macOS BigSur 11.3 beta 2

Sketch version [required]
v70.5

Terminal error message [required]
Here's the full output

           __       __      __
      ___ / /_____ / /_____/ /  ___________ ____  ___
    ( _-</  '_/ -_) __/ __/ _ \/ __/ __/ _ `/ _ \/ _ \
    /___/_/\_\\__/\__/\__/_//_/\__/_/  \_,_/ .__/ .__/
                                          /_/  /_/
         Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
         by @duraki & @elijahtsai

[+] Checking directory tmp existence ... OK
[+] Fetching https://download.sketch.com/sketch-70.5-109233.zip ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 58.5M  100 58.5M    0     0  17.6M      0  0:00:03  0:00:03 --:--:-- 17.6M
[+] Checking if Sketch.app exist in /tmp ... Not exist. Continuous.
[+] Checking if Sketch.app exist in /Applications ... Exist. Removing.
[+] Moving Sketch.app to /Applications directory ... Successfully.
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
[+] Validating executable file ... OK
[+] Selected Sketch.app version is 70.5 ... SketchCrapp starting ... OK
[+] Patching offsets for 70.5 ... Starting modern arch patch via bash&seek ...
[+] Patching address at offset: 0x585eef with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000015 secs (67650 bytes/sec)
[+] Patching address at offset: 0x585ef2 with value: \00
1+0 records in
1+0 records out
1 bytes transferred in 0.000007 secs (139810 bytes/sec)
[+] Patching address at offset: 0x584b3e with value: \00\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000010 secs (199729 bytes/sec)
[+] Patching address at offset: 0x584c6e with value: \165
1+0 records in
1+0 records out
1 bytes transferred in 0.000009 secs (110376 bytes/sec)
[+] Patching address at offset: 0x66ce63 with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000030 secs (499322 bytes/sec)
[+] Patching address at offset: 0x66ce73 with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000026 secs (500238 bytes/sec)
[+] Patching address at offset: 0xdcd404 with value: \01
1+0 records in
1+0 records out
1 bytes transferred in 0.000006 secs (161319 bytes/sec)
[+] Patching address at offset: 0xdcd408 with value: \24
1+0 records in
1+0 records out
1 bytes transferred in 0.000008 secs (123362 bytes/sec)
[+] Patching address at offset: 0xdcc07c with value: \165\00
2+0 records in
2+0 records out
2 bytes transferred in 0.000006 secs (335544 bytes/sec)
[+] Patching address at offset: 0xdcc19f with value: \64
1+0 records in
1+0 records out
1 bytes transferred in 0.000007 secs (144631 bytes/sec)
[+] Patching address at offset: 0xed0fbc with value: \00\00\00\00\00\00\00\00\00\00\00\00\00\00\00
15+0 records in
15+0 records out
15 bytes transferred in 0.000033 secs (455903 bytes/sec)
[+] Patching address at offset: 0xed0fcc with value: \40\123\153\145\164\143\150\103\162\141\160\160\40
13+0 records in
13+0 records out
13 bytes transferred in 0.000024 secs (539861 bytes/sec)
[+] Checking user default keychain ... Exist.
[+] SketchCrapp certificate already exists.
[+] Skipping certificate creation ... OK
[+] Signing the patched *.app bundle. This may require root privilege.
[+] If asked, enter your login password. Choose "Always Allow" to not be asked again.
error: The specified item could not be found in the keychain.
[-] Failed to Signing Sketch bundle.
[+] Cleaning up file(s) ... Cleaned
[+] SketchCrapp last published date: 2021-02-17 serial 001

Additional context [optional]
M1 Mac

Screenshots [optional]
Add screenshots to help explain your problem.

Cracked but still showing (Register Now) on the top right corner

Describe the issue [required]
I have cracked the sketch with all the steps mentioned in the read-me. But when I open sketch it still showing 5 days left Register Now in the top right corner.

macOS version [required]
What is the macOS version?
macOS Catalina 10.15.6

Sketch version [required]
What is the Sketch version you want to patch?
68.2

Terminal error message [required]
No error in the terminal
[+] Cleaning up certificate file(s) [+] Cleaned [+] SketchCrapp process completed. Sketch.app has been patched :) [+] -- Notice: [+] If a dialogue shows up with message: “Sketch 3.app” can’t be opened [+] please right-click the application and select open, or go to Settings -› Security [+] and allow opening Sketch.app application.

Ghidra analyse settings

Could you please share your Ghidra analyse settings, it would be extremely helpfull to me. When trying to follow the tutorial i get a lot of "bald spots" in Ghidra, including addresses that I need to patch. I'm working on Sketch v63.1 like the tutorial.
I need to patch 0x1004a1738 but in my list view it looks like this:

1004a1738 0f ?? 0Fh

I used default settings for Ghidra analyse and I suspect that I need to tweak the settings.

Describe the magic function

I just used -m on a fresh MacOS install and it works flawlessly. We need to describe this magic function in the README.

Version 81.2 support

Sketch version [required]
What is the Sketch version you want support for?
Ex: 81.2

Additional context [optional]
After debugging in Ghidra, the old code path to BCLegacyLicense#isExpired still exists.
image

Doesn't work on 67.1 or 67.2

I am getting no error after script run. App works normally after script. But I still get "x Days Left - Register Now" on right corner in any document and counts down each day as before. It is like script did nothing.

I uninstall currently installed version, downloaded new one from sketch website. Deleted keychain entries before each install. Tried both 67.1 and 67.2. Tried "sudo ./sketchcrapp". Is there anything else I can do?

Can't find Sketch with that signature. Hash is invalid.

Describe the issue [required]
I keep getting the following error when I try and install.

macOS version [required]
What is the macOS version?
Don't know how to find out? watch this https://support.apple.com/en-us/HT201260
Ex: macOS Big Sur 11.0.1

Sketch version 50.0
What is the Sketch version you want to patch?
Ex: 67.2

I keep getting the following error.

junaid@Junaids-Mac SketchCrapp % cd $HOME/SketchCrapp && ./sketchcrapp.sh
           __       __      __
      ___ / /_____ / /_____/ /  ___________ ____  ___
    ( _-</  '_/ -_) __/ __/ _ \/ __/ __/ _ `/ _ \/ _ \
    /___/_/\_\\__/\__/\__/_//_/\__/_/  \_,_/ .__/ .__/
                                          /_/  /_/
         Sketch.App Patch Tool (https://github.com/duraki/SketchCrapp)
         by @duraki & @elijahtsai

SketchCrapp is finding application bundle path ...
[+] Selected Sketch.app path is </Applications> (auto-detected) ... OK
[+] Analysing application bundle ... Starting
[+] Finding executable file ... OK
[+] Finding Info.plist ... OK
[+] Checking Info.plist for CFBundleShortVersionString ... OK
./sketchcrapp.sh: line 348: [: : integer expression expected
[+] Validating executable file ... Error
[ERR] Can't find Sketch with that signature. Hash is invalid.
[INFO] Carefully review README file again
[INFO] If you still have problem copy the details below and open a new issue
[INFO] on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================
+ Application Path  : /Applications/Sketch.app
+ Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
+ Passed version    : 50
+ Correct hash      : Input version string invaild, cannot lookup correct hash value.
+ Binary SHA1       : 8ae09f6a02e651257038b96b8f21c4697f6c6b33
+ Error             : Can't find Sketch with that signature. Hash is invalid.
+===================================================================
[+] SketchCrapp last published date: 2020-11-01 serial 001

Just a question.

Links on where I can learn to do things like this?
Do you use an app to find the memory addresses?

Just trying to gain skills in things like this.

New version update from Sketch v70

Sketch version [required]
What is the Sketch version you want support for?
70

Additional context [optional]
Add any other context about the request here.

[New version request] Sketch 69.2

Sketch version [required]
What is the Sketch version you want support for?
69.2

Additional context [optional]
Sketch 69.2 not supported yet, on Mac OS Catalina 10.15.7

**Issue details **
[ERR] Version 69.2 is not supported, please carefully review README file again.
[INFO] Copy the details below and open a new issue on GitHub repository: https://github.com/duraki/SketchCrapp
+===================================================================

  • Issue details ‹s:sketchcrapp›
  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 69.2
  • Binary SHA1 : a7ba7ddf8e15e1e03ae88c00ab5070dabecc06b2
  • Error : Version 69.2 is not supported.
    +===================================================================

Not working

Describe the issue [required]
This is not working

macOS version [required]
macOS Mojave 10.14.6

Sketch version [required]
68.1

Terminal error message [required]
+===================================================================

  • Issue details ‹s:sketchcrapp›
  • Application Path : /Applications/Sketch.app
  • Application Binary: /Applications/Sketch.app/Contents/MacOS/Sketch
  • Passed version : 68.1
  • Correct hash : bc22987f7b3a7580aba1ac260c59d66d0a3622e7
  • Binary SHA1 : f397bde66f21734afaf018000eb592fa86672171
  • Error : Can’t look up version from hash.
    +===================================================================

Additional context [optional]
Add any other context about the problem here.

Screenshots [optional]

Add specified version function with magic function.

I'm thinking if I can add a new flag -n <version> to let the user to auto patch the version whatever he wants that the version we've supported.

Example:

$> sketchcrapp.sh -n 70.2

With n flag will overwrite the version number(by default is the latest version we had supported) in magic function.

benefit for me is that I can use this flag to make a quick check of whatever version we have support using magic function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.