mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
8e6cc4e899
- 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
26 lines
808 B
Python
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
|