Giter Site home page Giter Site logo

0sir1ss / anubis Goto Github PK

View Code? Open in Web Editor NEW
309.0 6.0 38.0 911 KB

[UNMAINTAINED] A Python script to obfuscate and protect your code through anti debuggers, junk code and custom encryption.

License: MIT License

Python 100.00%
obfuscation obfuscator obfuscators pyobfuscate python python-3 python-obfuscate python-obfuscation-github python-obfuscator python-script

anubis's Introduction

from GitHub import ReadMe

class osiris(ReadMe):
    def __init__(self):
        self.username = "0sir1s"
        self.name = "James"
        self.language = "English"
        self.used_programming_languages = ["Python", "Javascript", "Typescript", "C++"]
        self.location = "United Kingdom"
        self.education = "2nd Year of Computer Science"

    def about(self):
        print(f"""
Hi, I'm {self.name}, or {self.username} online.
In my free time I create projects to help deepen my understanding of code. I find the more you build, the faster you learn.
I have previously used the following programming languages ordered from most to least used: {', '.join(i for i in self.used_programming_languages)}.
You may find some of these projects on my GitHub profile.""")

me = osiris()
me.about()

anubis's People

Contributors

0sir1ss avatar pandoricgalaxy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

anubis's Issues

PyInstaller instead of Nuitka?

As the title states, why?

I tested Nuitka and PyInstaller and Nuitka was far worse in terms of speed than PyInstaller.

requirements.txt

requirements.txt it does not have the requests library, which the script needs so much lol

Importing

While trying to run a obfuscated script with multiple .py files, I got an error just like can't import the a function from b.py

note: All scripts are obfuscated

lmao

what is that lmao it would take 10 sec to deobfuscate it cuz u posted the decryptor πŸ’€

asking for admin

why part of the code includes this
if not ctypes.windll.shell32.IsUserAnAdmin() != 0:
print("Please run this program as administrator.")
sys.exit(0)
the code im obfuscating is hello world

text violet

I thought the ANUBIS part in violet was very beautiful.
I would like to adapt it to my project
I know it has nothing to do with anything related to ''problems'' but if you could help me I would be grateful

Obfucate Full Project

Hi, i wan't to use with all the files in my project, i see an old issue but i don't know exacly hoy to do it.
In my project i have 5 files i want to obfuscate, and another 1 without obfuscation

It is posible?
Thanks a lot!

Questions about usage

If an obfuscated source file is run on a cloud service (but is not distributed to others) then is there any need to compile it?

If the obfuscated source file is not distributed to others, a custom encryption version will still provide greater protection?

Questions and Improvements

Here's some things that could improve this project

  1. Encrypt Strings (PyObfx does this)
  2. Encrypts Bools (PyObfx does this)
  3. Improve the randomness of junkcode (junkcode is currently very predictable)

====================================================
String Encryption,
You could use b64 but this is pretty easy to reverse, i suggest a custom parser.

Questions,
Am i supposed to bundle the ancrypt file with the obfuscated file?
If so doesn't this risk deobfuscation and handing over the tools to deobfuscate?
*Could also randomize the ancrypt file's vars to prevent automated scripts from calling the functions.

No module named 'IIIlIIIlIIIlIlI'

Received a no module named error on an 'import signal'. Any ideas?

# myprogram.py
import signal	# eqivalent L127 in myprogram-obf.py
Traceback (most recent call last):
  File "...\myprogram-obf.py", line 127, in <module>
    import IIIlIIIlIIIlIlI
ModuleNotFoundError: No module named 'IIIlIIIlIIIlIlI'

AttributeError: module 'ctypes' has no attribute 'windll'

I'm running anubis on Linux Centos Stream 8. When I try to run the obfuscated code I got this error:

$ python manage-obf.py runserver
Traceback (most recent call last):
  File "/tmp/tmp11k4sysy", line 154, in <module>
    if not ctypes.windll.shell32.IsUserAnAdmin() != 0:
           ^^^^^^^^^^^^^
AttributeError: module 'ctypes' has no attribute 'windll'

Is this script supposed to work on linux systems or not?

Clarification on Obfuscation process and System Requirements

Hello,

I’m considering using Anubis and have a couple of questions that I hope you can help me with:

For the obfuscation process, is it possible to obfuscate multiple files at once, or is it limited to a single file at a time through the UI? If it’s possible to obfuscate multiple files, could you provide some guidance on how to do this?

I noticed that Anubis seems to require a 64-bit system. Can you confirm if this is the case, and if there are any plans to support 32-bit systems in the future?

Thanks,
Ben.

Encryption

import ancrypt
ancrypt.load(file)
'''
__ANUBIS_ENCRYPTED____ANUBIS_ENCRYPTED____ANUBIS_ENCRYPTED____ANUBIS_ENCRYPTE

How to encrypt py file like this example described above?

Discord Server

I liked this project so much that i have decided, with your permission and your involvement,
turn this project into one of those discord servers that sell programs.
if you would like to actually do this,
I would gladly help, with building the server including everything that relates to it, advertisement, icons and etc and creating a python gui login page, for my fair share of profits
and will need you to fix all bugs and errors and obviously remove the repo, because what's the point of selling something if someone can get it for free on GitHub
dm me on discord : Asima#7769

Regex....

When you have a regex, it will destroy the obfuscation

image

PROJECT DIRECTORIES

Hi, I'd like to obfuscate my whole python folder including all imports from other obfuscated .py scripts! How can I do this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.