langfuck

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 8 Imported by: 0

README

LangFuck - The Ultimate Code Obfuscation Tool

LangFuck is a command-line tool that provides powerful code obfuscation capabilities, allowing you to make your Golang code completely unintelligible while maintaining its functionality. It offers a seamless solution for obfuscating your code, ensuring that it becomes extremely challenging for others to understand.

idk

Features

  • Code obfuscation: LangFuck encrypts your Golang code, making it unreadable to others.
  • Preserves functionality: Despite the encryption, your code will still run perfectly fine.
  • Multiple directory support: Encrypt entire directories of code, increasing the level of confusion.
  • Easy usage: Simple and straightforward to use on your projects.
  • Future expansion: Stay tuned for updates as I plan to support additional programming languages.

Usage

To obfuscate or decrypt your Golang code using LangFuck, use the following command:

langfuck --path [path/to/your/code] --ext [file_extension] --key [encryption_key] [--out [output_directory]] [--dec]
  • --path : Specifies the path to your Golang file or directory that you want to obfuscate or decrypt.
  • --ext : (Optional for directories) Specifies the file extension of the targeted files within the directory (only go is supported now but will add more languages in future versions).
  • --key : Specifies the encryption/decryption key. The default key is 8 if not specified. The current encryption method used is the Caesar cipher. Future versions of LangFuck will incorporate a more advanced encryption algorithm.
  • --out : (Optional) Specifies the output directory for the obfuscated or decrypted code. If not provided, the encrypted/decrypted code will be written to either [path/to/your/code]/Dec or [path/to/your/code]/Enc depending on the usage.
  • --dec : (Optional) Indicates that the operation is decryption instead of obfuscation. If specified, the tool will decrypt the encrypted code.
Examples:
  • Obfuscating a single file:
langfuck --path /path/to/your/code/main.go --key 9
  • Obfuscating a directory of files with the ".go" extension:
langfuck --path /path/to/your/code/ --ext go --key 9
  • Decrypting a directory of files with the ".go" extension:
langfuck --path /path/to/your/code/ --ext go --key 9 --dec
  • Obfuscating a directory and specifying the output directory:
langfuck --path /path/to/your/code/ --ext go --key 9 --out /path/to/out/

Note: When decrypting, the encrypted files should be present in the specified path or directory.

The obfuscated or decrypted code will be generated in the output directory specified by --out, or in the default output directory if --out is not provided.

Contributing

I welcome contributions from the open-source community to enhance LangFuck and extend its capabilities. If you're interested in contributing, please follow the guidelines in CONTRIBUTING.md.

License

This package is licensed under MIT license. See LICENSE for details.se.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL