MCPcopy Create free account
hub / github.com/Cryptogenic/PS5-IPV6-Kernel-Exploit / aton

Function aton

document/en/ps5/exploit.js:234–241  ·  view source on GitHub ↗
(ip)

Source from the content-addressed store, hash-verified

232 }
233
234 function aton(ip) {
235 let chunks = ip.split('.');
236 let addr = 0;
237 for(let i = 0; i < 4; i++) {
238 addr |= (parseInt(chunks[i]) << (i * 8));
239 }
240 return addr >>> 0;
241 }
242
243 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
244 ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Callers 1

userlandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected