Rbshield

Rbshield is a simple Ruby obfuscator that helps protect your Ruby scripts by encoding them. It transforms your source code into an obfuscated format, making it harder for others to read and understand.

Features

  • Simple command-line interface.
  • Base64 encoding of Ruby scripts.
  • Dummy variable insertion for added obfuscation.

Installation

gem install rbshield

Usage

To obfuscate a Ruby file, use the following command:

require 'rbshield'

# Replace 'tes.rb' with the name of the file to obfuscate
Rbshield::Obfuscator.obfuscate_file('tes.rb')