HookSession

HookSession

Represents a session of hooking.

A session comonly starts when the Frida final script is loaded and finish at the next start.

(TODO : or when the device is disconnected)

Constructor

new HookSession(manager)

Source:
Parameters:
Name Type Description
manager *

Members

frida

Source:

To hold some references from frida-node

hookManager

Source:

The associated HookManager (TODO : 1 hookManager by device)

message

Source:

The stack containing the received message

sets_matches

Source:

Follow hookset matches

time

Source:

The timestamp of the session

Methods

addMatch(hookset, name, value)

Source:
Parameters:
Name Type Default Description
hookset *
name *
value * null

hasMessages()

Source:

messages()

Source:

push()

Source:

To push a new message from a hook into the session. Each message are an instance of HookMessage

toJsonObject()

Source: