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

Function stringToPtr

900v3/exploit.js:58–66  ·  view source on GitHub ↗
(p, o)

Source from the content-addressed store, hash-verified

56}
57
58function stringToPtr(p, o)
59{
60 if(o === undefined)
61 o = 0;
62 var ans = 0;
63 for(var i = 7; i >= 0; i--)
64 ans = 256 * ans + p.charCodeAt(o+i);
65 return ans;
66}
67
68var strings = [];
69

Callers 1

pocFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected