Skip to content

Commit

Permalink
Now we can take package name nearly free
Browse files Browse the repository at this point in the history
  • Loading branch information
alterakey committed Mar 28, 2024
1 parent 0b93e4d commit 6b7583d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions trueseeing/app/cmd/android/engage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions trueseeing/app/cmd/android/recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6b7583d

Please sign in to comment.