Skip to main content

Finds Cipher in lua scripts.

Project description

FivemCipherFinder (v2.4.2)

Visitors

Pylint and Flake8 PyTest Code style: black

FivemCipherFinder is a tool designed to assist in the removal of Ciphers from your scripts. It is a console-based tool that can be used by anyone, regardless of their coding experience. The main purpose of FivemCipherFinder is to find and identify Ciphers in your script files.

Installation

To install FivemCipherFinder, follow these steps:

  1. 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.

  2. 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.

    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.

  3. 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 like local fjdlsajfdsancu = ....

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 cars,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.

Troubleshooting

If you encounter any issues with FivemCipherFinder, here are some troubleshooting steps you can follow:

  1. Read the error or warning message carefully to understand the problem.

  2. 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.

  3. 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

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

FiveMCipherFinder-2.4.2.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FiveMCipherFinder-2.4.2-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file FiveMCipherFinder-2.4.2.tar.gz.

File metadata

  • Download URL: FiveMCipherFinder-2.4.2.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for FiveMCipherFinder-2.4.2.tar.gz
Algorithm Hash digest
SHA256 e42270dd86eea822a14d2f7b36aa395f0896f9f01825494eccfcbb247000a18e
MD5 16183db1e11bbcd1eb8071026b45d64b
BLAKE2b-256 68d91e54c0d45e2b39ce42ee012779563b68e2e7dd5070112d2cb77a80720d29

See more details on using hashes here.

File details

Details for the file FiveMCipherFinder-2.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for FiveMCipherFinder-2.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e6ac6d8a75eb2553df850320e482a47e249bdee587de56ed09fceedfbc140ca3
MD5 afa591b46328ae2dc9a878fb529b6f6e
BLAKE2b-256 a6f16dd720ae16773aefac6e794975eee2356a90b51e619ca7f511b3d626ba47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page