This is a Python/JS script that can be used to decrypt data encrypted using the Xecrypt encryption algorithm.
-
Ensure you have Python 3 installed on your system.
-
Clone this repository or download the script file (
xecrypt_decrypt.py
) directly. -
Open a terminal or command prompt and navigate to the directory where the script is located.
-
Run the script with the following command:
python3 xecrypt_decrypt.py [encrypted file]
Replace [encrypted file] with the path to the file containing the encrypted data.
-
The script will attempt to decrypt the data and display the decrypted output on the screen.
-
Enter any character (except 'q') and press Enter to continue to the next decryption attempt.
-
To exit the script, enter 'q' and press Enter.
-
Incude the js file in your project.
-
Call XUcrypt(XEcryptString).
Example
console.log(XUcrypt(<encrypted data>));
Example
print(XUcrypt(open('xe.txt', 'r').read()))
Note:
This is not my own script. I needed it for https://www.hackthissite.org/missions/realistic/6/index.html. Initially i found this, but only supports Python2, so i ported it to python3. And about the Javascript, i found that about 10 minutes later (here) so i decided to include that in the repo as well. I decided to port the Javascript to python.