Finds Cipher in lua scripts.
Project description
FivemCipherFinder (v2.4.0)
Visitors
This is a Fivem Cipher finder for those that don't want Ciphers in their scripts :D
The idea behind these scripts is to find one or more Cipher in your script files. Currently, there is only the Python version available, but I will soon add the C++ variant.
Desc:
The script will walk through your Server's directories and scan, for example, \x41\x42\x43. When it found something it will write the line and trigger it into a Log file.
Installation
Py-Version: 3.8 and above Newest python version
Please make sure, that when you're on Windows based system, that you've added Python to your environment variables. You can test that with simply typing python --version into your CMD or Terminal
run pip install FivemCipherFinder or download the latest release and unpack it.
Also please consider using the pip way to install except you know what you're doing
Make sure to read the Troubleshooting page first before you add me on Discord.
For manual installation
I just put the commands here
git clone https://github.com/exersalza/FivemCipherFinder.git && cd FivemCipherFinderpip install -r reqpython3 -m build . && pip install .Then you can just typefind-cipherin your server resources directory.
Usage
Syntax: find-cipher [-h] [-p [PATH]] [-x [EXCLUDE_PATH ...]] [-n] [-v] [--v2]
Options are:
-p|--path-> Redirect the search from the current path.to another one.-x|--exclude-> Exclude paths that you dont want to scan.-n|--no-log-> Prevents that an logfile is being written. Works hand in hand with-v-v|--verbose-> To show the found ciphers inside the Console as soon as they were found.--v2-> For the gibberish search. Likelocal fjdlsajfdsancu = ...
It's a console tool so you can use find-cipher just like that in your Resources folder or you can specifiy you folder with find-cipher ~/FiveM/server-data/resources as example.
Should you struggle with returning ciphers in your script, try using the
--v2 flag behind the command like find-cipher . --v2 cars,mlos.
As you can see in the last example, you can exclude Directories so can prevent false-positives like \[cars\],\[mlos\],easy-admin but make sure you add \ before curly and square brackets, otherwise your terminal will throw an error.
The script logs found Cipher in a file names CipherLog-HH-MM-SS.txt so can easily find your log files.
Troubleshooting
First things first, read the error/warning message
Should the installation with pip fail with the error code externally-managed-environment, add --break-system-packages. Pip changed something in their internals in the newer versions.
Also make sure (on Windows) that you have your python scripts folder inside your path variable. Should the folder be missing, it shows at the pip installation as a warning. how to add something to the path variable
Known-false-positives
EasyAdminencrypted/obfuscated scripts
Contributing
Feel free to open a PR with your changes, as every PR the checks should run without a fail to run workflows localy please consider using act
Use the manual installation guide for getting the project. Installation
ToDo
- Detect cipher spreader
Add de obfuscator for detectet cipherFind random generated character variable names
Contact
Discord: exersalza / exersalza[>'-']>#1337 | [DE/EN]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file FiveMCipherFinder-2.4.0.tar.gz.
File metadata
- Download URL: FiveMCipherFinder-2.4.0.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a7f291ce12dfffd5470afe2582da00730da8851d91a40e1628dfa206f95448
|
|
| MD5 |
04146b5c66fb39020cd71a1c1ef7b67d
|
|
| BLAKE2b-256 |
eb0999913c2d41a107a5aa49aef72513af782ac2ce66a90b5c7e83cb52710d80
|
File details
Details for the file FiveMCipherFinder-2.4.0-py3-none-any.whl.
File metadata
- Download URL: FiveMCipherFinder-2.4.0-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25285de384446c57505f7c6584af54cada3020376568e9b102ad0432ed50c70d
|
|
| MD5 |
b3c5a8fd32aadd002f43965b05962108
|
|
| BLAKE2b-256 |
8044cfa87f1610dd5d8733d0cd2bda27fa09fab02aead32b38d965ee1a9cc152
|