Beispiel #1
0
 def do_attacksurface(self, args):
     """
     := attacksurface
     """
     try:
         if self.apk and self.components:
             self.logger.log("info", "Loading attacksurface module ...")
             from core.brains.apk.attacksurface import AttackSurface
             self.attack_surface = AttackSurface(self.apk, self.components)
             self.attack_surface.run()
     except ImportError as e:
         CommandError(e.message)
Beispiel #2
0
 def do_attacksurface(self, args):
     """
     := attacksurface
     """
     try:
         if self.apk and self.components:
             self.logger.log("info", "Loading attacksurface module ...")
             from core.brains.apk.attacksurface import AttackSurface
             self.attack_surface = AttackSurface(self.apk, self.components)
             self.attack_surface.run()
             # Helps with visual spacing after the results are printed
             print("\n")
     except ImportError as e:
         CommandError(e.message)