Giter Site home page Giter Site logo

4w4k3 / insanity-framework Goto Github PK

View Code? Open in Web Editor NEW
217.0 217.0 100.0 43.04 MB

Generate Payloads and Control Remote Machines. [Discontinued]

License: BSD 3-Clause "New" or "Revised" License

R 1.74% Python 96.47% Shell 1.80%
pentest python remote-control

insanity-framework's Issues

Create a configuration to determine what version of python is installed

As you know I've done some looking through the code, in some places you have a system call (which should be replaced by a subprocess call eventually) saying something like os.system("python27 some command") and in other places you'll have something along the lines of os.system("python some command"). So what suggesting is to make a way to determine what version of python the user has installed and default to either `python27 if they have 2.7.x and 3.x, or python if they have 2.7.x. Along with this, since there are so many commands, to avoid repeating yourself, create a function that calls the commands, something like:

def exec_com(command, opening=some_func_to_determine_python):
    # somehow split the command into a list
    return subprocess.call([opening, command_split])

SyntaxError: invalid syntax

SyntaxError: invalid syntax

Traceback (most recent call last):
File "dammed.py", line 445, in
main()
File "dammed.py", line 428, in main
asker()
File "dammed.py", line 199, in asker
os.rename('dist/new.exe', 'dist/' + name)
OSError: [Errno 2] No such file or directory

error

HTTP request sent, awaiting response... 404 Not Found
2022-02-08 12:55:48 ERROR 404: Not Found.

sudo wine: command not found
sudo wine: command not found
sudo wine: command not found
sudo wine: command not found

?? what can ı do
parrot os

Pycrypto in multiple places

The point of the requirements.txt file is to install the dependent libraries that are needed for python itself, to run this file you pip install -r requirements.txt which will install pycrypto. Your latest push fix missing pycrypto is unnecessary, and adds a double install when the requirements are already satisfied. I suggest that you remove either the requirements.txt file, or you remove the #os.system() install of pycrypto

how to use function??

how to use File Transfer, Webcam Snaps and Streaming, Keylogging, Print Screens function???

can't generate the payload

after installing it with the prerequisites
and choosing the payload with the LHOST and LPORT
I get this message

wine: cannot find '/root/.wine/drive_c/Python27/python.exe' Traceback (most recent call last): File "dammed.py", line 439, in <module> main() File "dammed.py", line 421, in main asker() File "dammed.py", line 192, in asker os.rename('dist/new.exe', 'dist/' + name) OSError: [Errno 2] No such file or directory

any thoughts ?

Cant use the tool

I got this error :

InSaNiTy > D
Traceback (most recent call last):
  File "enc.py", line 8, in <module>
    from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
Type LHOST: 

or this :

Traceback (most recent call last):
  File "dammed.py", line 439, in <module>
    main()
  File "dammed.py", line 304, in main
    begin()
  File "dammed.py", line 36, in begin
    template = open('Templates/insane_enc.py', 'r')
IOError: [Errno 2] No such file or directory: 'Templates/insane_enc.py'

Create a configuration for Insanity

Referencing #7

I'm going to take an educated guess and assume that what is happening is that the users aren't running enc.py first and are trying to create payloads, so what I'm suggesting is writing a configuration for Insanity that will create all needed files, extensions, etc the first time it is run that way everything is already in play and ready for the user to begin. What do you think?

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.