Characters allowed at IPv6 but don't change the hostname

Checks what characters can be used as valid IPv6 hostname

Created by: d0ge

Created on: Monday, June 10, 2024 at 8:29:10 AM

Updated on: Saturday, July 6, 2024 at 10:19:41 AM

Vector type: JS

Template used:
if (new URL("https://" + String.fromCodePoint($[i]) + "::ffff:7f00:1]/").hostname === '[::ffff:7f00:1]'){log($[i])}
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

if (new URL("https://" + String.fromCodePoint(91) + "::ffff:7f00:1]/").hostname === '[::ffff:7f00:1]'){alert(91)}
if (new URL("https://" + String.fromCodePoint(65095) + "::ffff:7f00:1]/").hostname === '[::ffff:7f00:1]'){alert(65095)}
if (new URL("https://" + String.fromCodePoint(65339) + "::ffff:7f00:1]/").hostname === '[::ffff:7f00:1]'){alert(65339)}

Fuzz results

Firefox logo
Firefox 126.0 desktop macOS 10.15
Found 3 results
DecHexChr
915b[
DecHexChr
65095fe47
DecHexChr
65339ff3b
Safari logo
Safari 17.5 desktop macOS 10.15.7
Found 1 result
DecHexChr
915b[
Chrome logo
Chrome 125.0.0.0 desktop macOS 10.15.7
Found 3 results
DecHexChr
915b[
DecHexChr
65095fe47
DecHexChr
65339ff3b