From c9e0cc9c92b900e65af3e1ac86d782d0719ad66d Mon Sep 17 00:00:00 2001 From: benpturner Date: Sat, 29 Dec 2018 12:47:57 +0000 Subject: [PATCH] Updated listmodules view --- Files/Sharp.cs | 1 + ImplantHandler.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Files/Sharp.cs b/Files/Sharp.cs index 9654699..9a5aa62 100644 --- a/Files/Sharp.cs +++ b/Files/Sharp.cs @@ -372,6 +372,7 @@ public class Program if (c.ToLower().StartsWith("listmodules")){ var appd = AppDomain.CurrentDomain.GetAssemblies(); + output += "[+] Modules loaded: \n\n"; foreach (var ass in appd) { output += ass.FullName.ToString() + "\n"; diff --git a/ImplantHandler.py b/ImplantHandler.py index 5bd6253..b20641c 100644 --- a/ImplantHandler.py +++ b/ImplantHandler.py @@ -580,6 +580,9 @@ def runcommand(command, randomuri): elif "listmodules" in command.lower(): modules = os.listdir("%s/Modules/" % POSHDIR) + print ("") + print ("[+] Available modules:") + print ("") for mod in modules: if (".exe" in mod) or (".dll" in mod) : print (mod)