Codebase list fudgec2 / upstream/latest FudgeC2 / Implant / implant_core / get_loaded_modules.py
upstream/latest

Tree @upstream/latest (Download .tar.gz)

get_loaded_modules.py @upstream/latestraw · history · blame

class GetLoadedModules:
    type = "ML"
    args = None
    input = "list_modules"

    def process_implant_response(self, data, args):
        return f"Module listing: \n{data.decode()}", None

    def implant_text(self):
        var = '''
function {{ ron.obf_get_loaded_modules }} () {
    $Script:tr = Get-Command | Where {$_.Source -Like "FC2"}
}'''
        return var