Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Help us keep the site running.
Zero Tolerance for Disrespect

kof97ol - XOR encrypted DDS files

Featured Replies

Solved by ikskoks

  • Author
1 hour ago, ikskoks said:

您是否尝试过使用 ImageHeat?

i tried it

  • ikskoks changed the title to kof97ol - XOR encrypted DDS files
  • Supporter
  • Solution

Encrypted with XOR. Key is 0xFF.

ReverseBox based solution below:
 

from reversebox.encryption.encryption_xor_basic import xor_cipher_basic


def main():
    file_1 = open("hrun_res008.dds", "rb")
    encrypted_data = file_1.read()
    file_1.close()
    decrypted_data: bytes = xor_cipher_basic(encrypted_data, b'\xFF')
    file_2 = open("hrun_res008_decrypted.pvr", "wb")
    file_2.write(decrypted_data)
    file_2.close()
    print("File decrypted successfully!")


if __name__ == '__main__':
    main()

 

Create an account or sign in to comment

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.