From 6b7583dbe8a1e7e21a6a2dd8043db287125c8f08 Mon Sep 17 00:00:00 2001 From: Takahiro Yoshimura Date: Thu, 28 Mar 2024 21:24:59 +0900 Subject: [PATCH] Now we can take package name nearly free --- trueseeing/app/cmd/android/engage.py | 4 ++-- trueseeing/app/cmd/android/recon.py | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/trueseeing/app/cmd/android/engage.py b/trueseeing/app/cmd/android/engage.py index b43e546..36a8e5f 100644 --- a/trueseeing/app/cmd/android/engage.py +++ b/trueseeing/app/cmd/android/engage.py @@ -768,7 +768,7 @@ async def _engage_fuzz_intent(self, args: deque[str]) -> None: async def _engage_deploy_package(self, args: deque[str]) -> None: cmd = args.popleft() - context: APKContext = await self._helper.get_context().require_type('apk').analyze(level=1) + context: APKContext = self._helper.get_context().require_type('apk') apk = context.target from time import time @@ -813,7 +813,7 @@ async def _engage_deploy_package(self, args: deque[str]) -> None: async def _engage_undeploy_package(self, args: deque[str]) -> None: _ = args.popleft() - context: APKContext = await self._helper.get_context().require_type('apk').analyze(level=1) + context: APKContext = self._helper.get_context().require_type('apk') from time import time from pubsub import pub diff --git a/trueseeing/app/cmd/android/recon.py b/trueseeing/app/cmd/android/recon.py index 6d99e07..34171b8 100644 --- a/trueseeing/app/cmd/android/recon.py +++ b/trueseeing/app/cmd/android/recon.py @@ -143,9 +143,6 @@ async def _recon_watch_start(self, args: deque[str]) -> None: ctx = self._get_apk_context() pkg = ctx.get_package_name() - if self._target_only: - await ctx.analyze(level=1) - async def _log() -> None: pid: Optional[int] = None if self._watch_logcat or self._watch_intent: