Giter Club home page Giter Club logo

anubis's Introduction

Anubis

 

[UNMAINTAINED] Anubis

Github top language Github stars License

About   |   Features   |   Technologies   |   Requirements   |   Starting   |   License   |   Author


🎯 About

I was looking around online and github when I realised that there were little Python obfuscators. First there's pyarmor but that can be deobfuscated, however it still is quite good. Then there's many tools like pyminifier but they all do the same thing and don't provide any real protection against your code. Another good solution I found was this obfuscator here but purchasing it costs USD $1998. Luckily I made my own version named Carbon which you can use for free.

Anyways, I decided to create my own obfuscator, which provides a plethora of features such as junk code and custom encryption, and includes the obfuscation found in Carbon.

You can see the difference it makes from this source here to this obfuscated one liner here and you can see what Carbon does here

✨ Features

✔️ Anti Debugger - Stop the use of debuggers whilst this program is running
✔️ Junk Code - Add junk code to the program
✔️ Carbon Obfuscation - Rename classes, functions, variables and parameters along with removing comments and docstrings
✔️ Custom Encryption - A one liner which uses custom encryption
✔️ Compile to exe with Nuitka

🚀 Technologies

The following tools were used in this project:

✅ Requirements

Before starting, you need to have Python installed.

If you wish to compile your project to an exe you will need Nuitka along with a C compiler. Nuitka will automatically download the MinGW64 compiler if no usable one is found.

🏁 Starting

# Clone this project
$ git clone https://github.com/0sir1ss/Anubis

# Access
$ cd Anubis

# Install dependencies
$ pip install -r requirements.txt

# Run the project
$ python anubis.py

If you do not compile to an exe and instead choose to distribute with the custom encryption you will need the ancrypt file
You can build this with the following command:

python setup.py build_ext --inplace

📝 License

This project is under license from MIT. For more details, see the LICENSE file.

Made with ❤️ by 0sir1s

 

Back to top

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.

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

Regex....

When you have a regex, it will destroy the obfuscation

image

requirements.txt

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

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?

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'

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

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

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.

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

Encryption

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

How to encrypt py file like this example described above?

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.

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?

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?

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!

lmao

what is that lmao it would take 10 sec to deobfuscate it cuz u posted the decryptor 💀

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.