Skip to content

Commit

Permalink
Defining options in correct module
Browse files Browse the repository at this point in the history
  • Loading branch information
alterakey committed Mar 28, 2024
1 parent 591f6d4 commit 12dde54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
3 changes: 2 additions & 1 deletion trueseeing/app/cmd/android/engage.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def get_commands(self) -> CommandMap:

def get_options(self) -> OptionMap:
return {
'vers':dict(n='vers=X.Y.Z', d='specify frida-gadget version to use [xf,xfs]')
'vers':dict(n='vers=X.Y.Z', d='specify frida-gadget version to use [xf,xfs]'),
'w':dict(n='wNAME=FN', d='wordlist, use as {NAME} [xz]'),
}

async def _engage_tamper_discard(self, args: deque[str]) -> None:
Expand Down
7 changes: 1 addition & 6 deletions trueseeing/app/cmd/android/recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

if TYPE_CHECKING:
from typing import Optional, Tuple, Literal, AsyncIterator, Dict
from trueseeing.api import CommandHelper, Command, CommandMap, OptionMap
from trueseeing.api import CommandHelper, Command, CommandMap
from trueseeing.core.android.context import APKContext

UIPatternType = Literal['re', 'xpath']
Expand Down Expand Up @@ -50,11 +50,6 @@ def get_commands(self) -> CommandMap:
'ru':dict(e=self._recon_dump_ui, n='ru [output.xml]', d='recon: dump device UI'),
}

def get_options(self) -> OptionMap:
return {
'w':dict(n='wNAME=FN', d='wordlist, use as {NAME} [xz]'),
}

def _get_apk_context(self) -> APKContext:
return self._helper.get_context().require_type('apk')

Expand Down

0 comments on commit 12dde54

Please sign in to comment.