FivemCipherFinder (v2.6.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 # FivemCipherFinder (v2.6.0)
Installation
To install FivemCipherFinder, follow these steps:
-
Make sure you have Python 3.8 or above installed on your system. If not, you can download the latest version of Python from the official website here.
-
Open your command prompt or terminal and run the following command to install FivemCipherFinder using pip:
pip install FivemCipherFinder
Alternatively, you can download the latest release of FivemCipherFinder from the GitHub repository here and unpack it manually.
- Clone the Repo with one of those 2 commands:
git clone https://github.com/exersalza/FivemCipherFinder
orgit clone git@github.com:exersalza/FivemCipherFinder
- Change into the directory you just cloned with:
cd FivemCipherFinder
- To build and run use this Command:
python3 -m build . && pip install . --user
. Alternatively create a local venv to not interfere with other project dependencies:python3 -m venv venv
. You can activate it with.\venv\Scripts\activate.bat
on Windows orsource venv/bin/activate
on unix-like systems.
Note: If you are using a Windows-based system, make sure you have added Python to your environment variables. You can test this by typing
python --version
into your command prompt or terminal. If Python is not recognized, you may need to add it to your system’s PATH variable. You can find instructions on how to do this here. - Clone the Repo with one of those 2 commands:
-
Once installed, you can use the
find-cipher
command in your server’s resources directory to start using FivemCipherFinder.
Usage
To use FivemCipherFinder, you can run the find-cipher
command with various options. Here are the available options:
-p|--path
: Redirect the search from the current path.
to another one.-x|--exclude
: Exclude paths that you don’t want to scan.-n|--no-log
: Prevents the creation of a log file.-v|--verbose
: Show the found ciphers in the console as soon as they are found.--v2
: Enable the gibberish search mode, which can detect ciphers likelocal fjdlsajfdsancu = ...
. Will soon be deprecated, only use if you want to be really sure about something. CAN THROW A LOT OF FALSE POSITIVES.--no-del
: Don’t remove the training file.--plug-dir
: Specify a Plugin directory. See theplugins
directory for further information. Keep in mind, that the Script needs to be able to access the choosen directory.-w|--no-wizard
: Don’t run the eraser wizard after the program ran.--get-remote-plugins
: Download the latest plugins from the remote repository.
Example Command: find-cipher -v --plug-dir ~/cipherfinderPlugins
You can run the find-cipher
command in your server’s resources folder, or you can specify a different folder by providing the path as an argument. For example:
find-cipher -p ~/FiveM/server-data/resources
If you are having trouble with returning ciphers in your script, you can try using the --v2
flag to enable the gibberish search mode. For example:
find-cipher --v2 -x cars,mlos
This line also excludes the two directories called cars and mlos
In the above example, the directories cars
and mlos
are excluded from the search to prevent false positives. Make sure to add a backslash \
before curly and square brackets to avoid errors in the terminal.
FivemCipherFinder logs the found ciphers in a file named CipherLog-HH-MM-SS.txt
, making it easy to review the results.
Keep in mind
- The CipherFinder can’t find 100% of maybe placed ciphers.
- Should you use a Code Formatter, it’s possible when you use the Eraser function, that your scripts can fail to start because of syntax errors. Read the Disclaimer.
- Cipher spreader can hide everywhere, consider reinstalling yarn and webpack, also make sure you changed your default ports like ssh and rdp.
Troubleshooting
If you encounter any issues with FivemCipherFinder, here are some troubleshooting steps you can follow, please try all of them first before you contact me or another developer:
-
Read the error or warning message carefully to understand the problem.
-
If you are installing FivemCipherFinder using pip and encounter the error code
externally-managed-environment
, try adding the--break-system-packages
flag to the pip command. This is a change in pip’s internals in newer versions. -
On Windows, make sure that your Python scripts folder is added to your system’s PATH variable. If the folder is missing, it will be shown as a warning during the pip installation. You can find instructions on how to add something to the PATH variable here.
Known False Positives
EasyAdmin
- Encrypted/obfuscated scripts
Plugins
If you would like to have a Plugin that fetches data while the cipherfinder is running you can read into it further under Plugins.
If you want a Pre-Written plugin that sends a message onto an Webhook
Contributing
If you would like to contribute to FivemCipherFinder, you can open a pull request with your changes. The project has checks in place to ensure that the pull request passes without any issues. You can use the manual installation guide provided in the Installation section to set up the project locally.
Todo
- Detect cipher spreader
- Add deobfuscator for detected ciphers
- Find randomly generated character variable names
- Add an UI and Exe/Bin
- Hook System
Disclaimer
Contact
If you have any questions or need assistance with FivemCipherFinder, you can reach out on Discord:
- Discord: exersalza / exersalza[>‘-’]>#1337 | [DE/EN]
Feel free to contact me for any inquiries or support related to FivemCipherFinder.
Credits
- exersalza → Main Dev
- ZerxGit → Inspiration for the whole Project
- Firav → Big baller in testing my stuff
Github Repository: GitHub - exersalza/FivemCipherFinder: A Fivem Cipher finder for those that don't want Ciphers in their scripts :D