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

Function ptrToString

900v3/exploit.js:47–56  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

45var string_id = 10000000;
46
47function ptrToString(p)
48{
49 var s = '';
50 for(var i = 0; i < 8; i++)
51 {
52 s += String.fromCharCode(p % 256);
53 p = (p - p % 256) / 256;
54 }
55 return s;
56}
57
58function stringToPtr(p, o)
59{

Callers 2

pocFunction · 0.70
makeReaderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected