Fix command line arguments

mdns
root 2017-08-09 14:52:32 -04:00
parent 517508d0d6
commit 834b9be663
1 changed files with 5 additions and 4 deletions

View File

@ -86,16 +86,17 @@ class MainMenu(cmd.Cmd):
# parse/handle any passed command line arguments
self.args = args
self.handle_args()
dispatcher.send('[*] Empire starting up...', sender="Empire")
# instantiate the agents, listeners, and stagers objects
self.agents = agents.Agents(self, args=args)
self.credentials = credentials.Credentials(self, args=args)
self.stagers = stagers.Stagers(self, args=args)
self.modules = modules.Modules(self, args=args)
self.listeners = listeners.Listeners(self, args=args)
self.handle_args()
dispatcher.send('[*] Empire starting up...', sender="Empire")
# print the loading menu
messages.loading()