Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Tunshi Kongming Legends *.twkpkg

Featured Replies

  • Author
  • Localization

hackspeedok, posted Sat Mar 09, 2019 1:50 am (45613)


up
  • Author
  • Localization

aluigi, posted Sat Mar 09, 2019 7:14 pm (45641)


Bad news, it uses a different 20-bytes xor key for each file but I don't know how it's generated.

The script is useless without these keys:
Code:
idstring "TWKPKG\0\0"
get VER short   # 3
getdstring KEY 16
get INFO_SIZE long

filexor KEY
getdstring ZERO 0x84
get DUMMY long  # 0x12c
get DATA_SIZE long
get FILES long
get FILES long  # same
for i = 0 < FILES
    get SOME_CRC long
    get DUMMY long
next i
for i = 0 < FILES
    get SIZE long
    get OFFSET long
    getdstring DUMMY 0x158  # base64 encrypted data of 256 bytes

    # it requires a 20-bytes XOR for each file!
    log "" OFFSET SIZE
next i
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.