We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cb8912a + 32a7d5a commit 1884cd3Copy full SHA for 1884cd3
1 file changed
nxc/connection.py
@@ -255,13 +255,12 @@ def proto_flow(self):
255
256
self.print_host_info()
257
if self.login() or (self.username == "" and self.password == ""):
258
- if hasattr(self.args, "module") and self.args.module:
+ self.logger.debug("Calling command arguments")
259
+ self.call_cmd_args()
260
+ if self.args.module:
261
self.load_modules()
262
self.logger.debug("Calling modules")
263
self.call_modules()
- else:
- self.logger.debug("Calling command arguments")
264
- self.call_cmd_args()
265
self.disconnect()
266
267
def call_cmd_args(self):
0 commit comments