Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cryptogenic/PS5-IPV6-Kernel-Exploit
/ htons
Function
htons
document/en/ps5/exploit.js:230–232 ·
view source on GitHub ↗
(port)
Source
from the content-addressed store, hash-verified
228
229
// Network functions to make address/port stuff easier to edit (thx ChendoChap)
230
function
htons(port) {
231
return
((port & 0xFF) << 8) | (port >>> 8);
232
}
233
234
function
aton(ip) {
235
let
chunks = ip.split(
'.'
);
Callers
1
userland
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected