by Guest » 16 Feb 2025, 10:47
Ich möchte Frida Stalker für alle Threads im Remote -Prozess verwenden. Stalker.Follow Für jeden von ihnen wurde der Prozess abgestürzt, da dies viel Zeit dauert und der Prozess steht. `. Für alle TIDs? < /p>
Hier ist der Beispielcode < /p>
Code: Select all
function StalkerExeample()
{
var threadIds = [];
Process.enumerateThreads({
onMatch: function (thread)
{
threadIds.push(thread.id);
console.log("Thread ID: " + thread.id.toString());
},
onComplete: function ()
{
threadIds.forEach(function (threadId)
{
Stalker.follow(threadId,
{
events: {call: true , ret: true, exec: true ,block: true},
onReceive: function (events)
{
console.log("onReceive called.");
},
onCallSummary: function (summary)
{
console.log("onCallSummary called.");
}
});
});
}
});
}
StalkerExeample();
Ich möchte Frida Stalker für alle Threads im Remote -Prozess verwenden. Stalker.Follow Für jeden von ihnen wurde der Prozess abgestürzt, da dies viel Zeit dauert und der Prozess steht. `. Für alle TIDs? < /p>
Hier ist der Beispielcode < /p>
[code]function StalkerExeample()
{
var threadIds = [];
Process.enumerateThreads({
onMatch: function (thread)
{
threadIds.push(thread.id);
console.log("Thread ID: " + thread.id.toString());
},
onComplete: function ()
{
threadIds.forEach(function (threadId)
{
Stalker.follow(threadId,
{
events: {call: true , ret: true, exec: true ,block: true},
onReceive: function (events)
{
console.log("onReceive called.");
},
onCallSummary: function (summary)
{
console.log("onCallSummary called.");
}
});
});
}
});
}
StalkerExeample();
[/code]