示例#1
0
 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)
示例#2
0
 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)
示例#3
0
 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)
示例#4
0
 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)