Пример #1
0
    def do_frida(args):

        """
        Description: Runs the Frida instrumentation toolkit against a target process

        Requirements: Loaded APK

        Usage: frida
        """

        try:
            from framework.brains.dynamic.frida.instrumentation import Instrumentation
            i = Instrumentation(globals()["apk"])
            i.run_instrumentation()
        except ImportError as e:
            print(t.red("[{0}] ".format(datetime.now()) + "Unable to import Instrumentation"))
            Logger.run_logger(e.message)
Пример #2
0
    def do_frida(args):
        """
        Description: Runs the Frida instrumentation toolkit against a target process

        Requirements: Loaded APK

        Usage: frida
        """

        try:
            from framework.brains.dynamic.frida.instrumentation import Instrumentation
            i = Instrumentation(globals()["apk"])
            i.run_instrumentation()
        except ImportError as e:
            print(
                t.red("[{0}] ".format(datetime.now()) +
                      "Unable to import Instrumentation"))
            Logger.run_logger(e.message)
Пример #3
0
    def do_frida(args):

        """
        Description: Runs the Frida instrumentation toolkit against a target process

        Requirements: Loaded APK

        Usage: frida
        """

        try:
            from framework.brains.dynamic.frida.instrumentation import Instrumentation
            if globals()["apk"] is not None:
                i = Instrumentation(globals()["apk"])
                i.run_instrumentation()
            else:
                print(t.red("[{0}] ".format(datetime.now())) +
                      t.white("Module not available"))
                print(t.red("[{0}] ".format(datetime.now())) +
                      t.white("You cannot run the frida module without a loaded APK"))
        except ImportError as e:
            print(t.red("[{0}] ".format(datetime.now()) + "Unable to import Instrumentation"))
            Logger.run_logger(e.message)