def default(self, argv): """Fallback to plugin command (if any)""" if argv[0] in plugins.keys(): if tunnel: return plugins.run(argv) self.nocmd = "[-] Must connect to run `%s` plugin (`help exploit`)" return super().default(argv)
def default(self, argv): """Fallback to plugin command (if any)""" if tunnel and argv[0] in plugins.keys(): return plugins.run(argv) else: return super().default(argv)
def default(self, argv): """Fallback to plugin command (if any)""" if tunnel and argv[0] in plugins.keys(): plugins.run(argv) else: return super().default(argv)