parent
7dd87d6f0a
commit
c9e0cc9c92
|
@ -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";
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue