Ejemplo n.º 1
0
 def execute(self):
     jarfile = self.input_filename + ".jar"
     if self.logger:
         self.logger.info("Creating " + self.output_directory + "/" + jarfile + "...")
     command = LaunchDex2JarInteractor.DEX2JAR + " -f " + self.input_filepath + \
               " -o " + self.output_directory + "/" + jarfile
     launch_shell_command_interactor = LaunchShellCommandInteractor(command)
     launch_shell_command_interactor.execute()
Ejemplo n.º 2
0
 def execute(self):
     jarfile = self.input_filename + ".jar"
     if self.logger:
         self.logger.info("Creating " + self.output_directory + "/" +
                          jarfile + "...")
     command = LaunchDex2JarInteractor.DEX2JAR + " -f " + self.input_filepath + \
               " -o " + self.output_directory + "/" + jarfile
     launch_shell_command_interactor = LaunchShellCommandInteractor(command)
     launch_shell_command_interactor.execute()
Ejemplo n.º 3
0
 def execute(self):
     if self.logger:
         self.logger.info("Creating " + self.output_directory + "/smali/...")
         self.logger.info("Creating " + self.output_directory + "/AndroidManifest.xml...")
         self.logger.info("Creating " + self.output_directory + "/res/...")
         self.logger.info("Creating " + self.output_directory + "/assets/...")
     command = "java -jar " + LaunchApkToolInteractor.APKTOOL_PATH + \
               " -q d -f " + self.input_filepath + " " + self.output_directory
     launch_shell_command_interactor = LaunchShellCommandInteractor(command)
     launch_shell_command_interactor.execute()
Ejemplo n.º 4
0
 def execute(self):
     if self.logger:
         self.logger.info("Creating " + self.output_directory +
                          "/smali/...")
         self.logger.info("Creating " + self.output_directory +
                          "/AndroidManifest.xml...")
         self.logger.info("Creating " + self.output_directory + "/res/...")
         self.logger.info("Creating " + self.output_directory +
                          "/assets/...")
     command = "java -jar " + LaunchApkToolInteractor.APKTOOL_PATH + \
               " -q d -f " + self.input_filepath + " " + self.output_directory
     launch_shell_command_interactor = LaunchShellCommandInteractor(command)
     launch_shell_command_interactor.execute()