FivemCipherFinder (v2.3.0)
Disclaimer:
This script is owned by my friend (exersalza)
and I have obtained explicit permission to share it here. Please note that while the tool aims to be as accurate as possible, it may not achieve 100% accuracy in detecting and removing ciphers.
FivemCipherFinder is a Python-based tool designed to assist in the removal of Ciphers from your scripts.
Description:
This tool navigates through your server’s directories and scans for instances such as \x41\x42\x43. Once a match is detected, it writes the line and logs it into a dedicated file.
Languages
The script is written in Python.
Usage
Syntax: find-cipher [search path] [exclude paths]... [OPTIONS]...
Options include:
--verbose→ Displays the found ciphers within the Console--v2→ Useful for searches involving complex, unreadable code (gibberish). Example:local fjdlsajfdsancu = ...
This is a console-based tool. You can use find-cipher directly in your Resources folder, or you can specify your folder with a command like find-cipher ~/FiveM/server-data/resources.
If you are having difficulties with persistent ciphers in your script, consider using the --v2 flag behind the command. For example: find-cipher . --v2 cars,mlos.
In the above example, you can exclude directories to avoid false positives such as \[cars\],\[mlos\],easy-admin. Please ensure you prefix square and curly brackets with \, or your terminal might throw an error.
The tool logs detected Ciphers in a file named CipherLog-HH-MM-SS.txt, enabling easy access to your log files.
Installation Instructions for Python
Requires Python 3.8 or above.
Run pip install FivemCipherFinder or download the latest release and unpack it.
Troubleshooting
If the installation using pip fails with the error code externally-managed-environment, append --break-system-packages. This is due to changes in recent versions of pip.
Known False Positives
EasyAdminencrypted scripts
Reporting Issues
If the tool fails to detect a cipher, we encourage you to report the issue. This will aid in improving the accuracy of the tool for future uses. To report an issue, please use the “Issues” section in the GitHub repository.
Github Repository: GitHub - exersalza/FivemCipherFinder: A Fivem Cipher finder for those that don't want Ciphers in their scripts :D
