Implemented Windows Version fingerprinting
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user