Skip to content

A Cutting-Edge Python Obfuscator Engineered for Enhanced Security and Intellectual Property Protection. Safeguard your code with advanced techniques and robust encryption, ensuring it remains confidential and impenetrable to prying eyes.

License

Notifications You must be signed in to change notification settings

gumbobrot/RoseGuardian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoseGuardian Logo

🌹 A Python Code Obfuscator 🛡️

RoseGuardian

Top Language Stars License

About   |   Features   |   Usage   |   Todo   |   Examples   |   License   |   Author


About 🌹

RoseGuardian is a powerful Python code obfuscator designed to safeguard your intellectual property. It employs advanced techniques to obscure your source code, making it significantly more challenging for potential reverse engineers to understand or modify.

Features ✨

  • 🔐 Strong Class and Function Renaming
  • 📥 Code Compression with zlib
  • 📦 Create Marshalized Objects
  • 📜 Remove Comments

Usage 🚀

For optimal obfuscation, it is recommended to set the junk layers to 10 and utilize obfuscation method 1.

# Clone the project
$ git clone https://github.com/DamagingRose/RoseGuardian.git

# Navigate to project directory
$ cd RoseGuardian

# Run the project
$ python RoseGuardian.py <your_file> <junk_layers> <obfuscation_method>

Todo 📝

  • Rename Variables and Parameters
  • Remove Docstrings
  • Add library support

Examples 📋

Command:

# Obfuscates test.py with 2 junk layers and obfuscation method 1
$ python RoseGuardian.py test.py 2 1

Before (test.py):

import random, string
import base64

def hello():
   
    global var
    
    var = 'hii' # hi
    
    print(var)

print(random.choices(string.ascii_letters, k=5))

hello()

print(base64.b64encode(var.encode('utf-8')))

class banana(): # banana
    ss = b'\nPEWPEW'

    print(ss)

def counter(num):

    for i in range(num):

        print('dogs are cool!')

counter(5)

# lalala

After (obfuscated_test.py):

__obfuscator__ = 'RoseGuardian'
__author__ = 'gumbobr0t'
__github__ = 'https://github.com/DamagingRose/RoseGuardian'
__license__ = 'EPL-2.0'


def complicated_function():
    result = 0
    for i in range(1, 11):
        result += i**3 - i**2 + i
    return result

class ComplicatedAlgorithm:
    def __init__(self):
        self._ = None
        self.__ = None

    def execute(self):
        pass

def execute_complicated_algorithm():
    _ = ComplicatedAlgorithm()
    _._ = lambda _, __: _.___(__) + _.___(_.___(_.__(_.___(_.__))))

def analyze_data():
    import random
    
    data = [random.randint(1, 100) for _ in range(10)]
    result = sum(data) / len(data)


import marshal, base64, zlib; exec(marshal.loads(zlib.decompress(base64.b64decode(b'eJxNkNFLwzAQxudr/orzKQ3MPm1DhD6piAxkIFgRQdI06W5rcyOXDfzvTdeADYHku3C/77vw4WaxwOFEIULQvqVhCRwD+k7kaqPZblZCiNY6IPdlXt/x4C6FehCQVtdTo3u46HCV6YQK5B5RXvUpoWKRqioRJjHZlGZPaCwXk1up2SD+9DZGG3gJx2qtlJjb5e4pTtlsVtYbau3ILvNVnqO7u5dKjWam18zwgbXZ6if/8jjFTaUKGvntd8912vOQzCpPuXVvu/r3k45D4c9DHtRRAAT04zd1dvbwT5AtdQw6WDBE/a0ceTPWWok/MtZvYw=='))))
def gravimetric_flux():
    pass

class warp_inverter:
    def __init__(self):
        self._ = None
        self.__ = None

    def subspace_transducer(self, _):
        return self.subspace_transducer(_)

def chronal_conduit():
    _ = warp_inverter()
    _._ = lambda _, __: _.___(__) + _.___(_.___(_.__(_.___(_.__))))

def singularity_stabilizer():
    _ = gravimetric_flux()
    _._ = lambda _, __: _.___(__) + _.___(_.___(_.__(_.___(_.__))))

def entropic_reactor():
    pass

License 📄

This project is licensed under the EPL-2.0 license.

Author 🎓

Developed with ❤️ by gumbobrot

Back to top

About

A Cutting-Edge Python Obfuscator Engineered for Enhanced Security and Intellectual Property Protection. Safeguard your code with advanced techniques and robust encryption, ensuring it remains confidential and impenetrable to prying eyes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages