new HookManager(pProject, nofrida)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
pProject |
* | |
nofrida |
* |
Methods
addRequires(requires)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
requires |
* |
getHookByID(id) → {Hook}
- Source:
To get a hook by its ID.
Parameters:
Name | Type | Description |
---|---|---|
id |
String | The hook ID as provide by the hook trace |
Returns:
The matching hook, then null.
- Type
- Hook
getHooks() → {Array.<Hook>}
- Source:
To get all hooks
Returns:
An array containing all hooks
- Type
- Array.<Hook>
getProbe()
- Source:
help()
- Source:
To print help into CLI
isFridaDisabled() → {Boolean}
- Source:
To get frida_disabled status.
Returns:
Frida-feature status
- Type
- Boolean
lastSession() → {HookSession}
- Source:
To get latest hook session
Returns:
Latest hook session
- Type
- HookSession
list()
- Source:
To list hooks
newSession() → {HookSession}
- Source:
To create a new hook session
Returns:
Current - freshly created - hooking session
- Type
- HookSession
prepareHookScript() → {String}
- Source:
To build global hook scripts
Returns:
Hook script
- Type
- String
prepareRequires()
- Source:
To insert required modules into the generated Frida script
DEXC_MODULE = {};
refreshScanner()
- Source:
- Deprecated:
- Yes
removeRequires(requires)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
requires |
* |
start(hook_script, pType, pExtra, pDevice)
- Source:
To start hooking
start -> script ? -> NO : prepareHookScipt() -> YES: use given script ->
Parameters:
Name | Type | Default | Description |
---|---|---|---|
hook_script |
* | ||
pType |
* |
null
|
|
pExtra |
* |
null
|
|
pDevice |
* |
null
|
startByAttachTo(pPID, pHookScript)
- Source:
Parameters:
Name | Type | Default | Description |
---|---|---|---|
pPID |
* |
null
|
|
pHookScript |
* |
null
|
startByAttachToApp(pAppName, pHookScript)
- Source:
Parameters:
Name | Type | Default | Description |
---|---|---|---|
pAppName |
* | ||
pHookScript |
* |
null
|
startByAttachToGadget(pAppName, pHookScript)
- Source:
Parameters:
Name | Type | Default | Description |
---|---|---|---|
pAppName |
* | ||
pHookScript |
* |
null
|
startBySpawn(pHookScript, pAppName)
- Source:
To start hooking by spawning the target application
Parameters:
Name | Type | Default | Description |
---|---|---|---|
pHookScript |
String |
null
|
Hook script |
pAppName |
String | Application UID |