Implemented Windows Version fingerprinting

This commit is contained in:
Jakob Friedl
2025-05-21 14:06:04 +02:00
parent c55a9f9443
commit 71336a6fa7
8 changed files with 161 additions and 26 deletions

View File

@@ -101,7 +101,7 @@ proc agentInteract*(cq: Conquest, name: string) =
cq.writeLine(fgYellow, "[+] ", resetStyle, fmt"Started interacting with agent ", fgYellow, agent.name, resetStyle, ". Type 'help' to list available commands.\n")
cq.interactAgent = agent
while command != "exit":
while command != "back":
command = cq.readLine()
cq.withOutput(handleAgentCommand, command)

View File

@@ -13,7 +13,7 @@ var parser = newParser:
command("help"):
nohelpflag()
command("exit"):
command("back"):
nohelpflag()
proc handleAgentCommand*(cq: Conquest, args: varargs[string]) =
@@ -29,7 +29,7 @@ proc handleAgentCommand*(cq: Conquest, args: varargs[string]) =
case opts.command
of "exit": # Exit program
of "back": # Return to management mode
discard
of "help": # Display help menu