Files
Pennyw0rth-NetExec/cme/modules/python_injector.py
T
byt3bl33d3r 8e6cc4e899 DB schema for the smb protocol is now final!
- added two more attributes to use in modules:opsec_safe and multiple_hosts

- renamed db function names

- Added the python_injector module and it's necessary files as a reminder
2016-12-20 00:23:40 -07:00

26 lines
808 B
Python

class CMEModule():
'''
TO DO
Idea stolen from Veil-Catapult/Veil-Pillage (https://github.com/Veil-Framework)
Uploads a barebones python environment to a host and uses it to execute shellcode.
This is awesome for hosts where Powershell is not installed, additionally all binaries that are uploaded are signed so AV solutions will not flag on them.
However it does touch disk.
'''
name = 'python_injector'
description = 'Uploads a barebones python environment and uses it to execute shellcode'
supported_protocols = ['smb']
opsec_safe = False
multiple_hosts = True
def options(self, context, module_options):
'''
PATH Path to the raw shellcode to inject
'''
def on_admin_login(self, context, connection):
pass