Characters that expand upon toUpperCase()

Chrome logo 8

Useful to bypass strict length checks and differentials between toUpperCase() / toLowerCase() .

Created by: DreyAnd

Created on: Wednesday, April 10, 2024 at 10:34:26 PM

Updated on: Tuesday, September 24, 2024 at 7:19:39 AM

Vector type: JS

Code used before fuzz:
function isASCII(str) {
  for (var i = 0; i < str.length; i++) {
    if (str.charCodeAt(i) > 127) {
      return false;
    }
  }
  return true;
}
Template used:
const c = String.fromCodePoint(i)
const c_upper = c.toUpperCase()
if (c_upper.length > c.length && isASCII(c_upper)){
    log(c)
}
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

const c = String.fromCodePoint(i)
const c_upper = c.toUpperCase()
if (c_upper.length > c.length && isASCII(c_upper)){
    alert(c)
}

Fuzz results

Chrome logo
Chrome 124.0.0.0 Unknown Unknown

Updated

Fri Apr 19 2024
Found 8 results
Data
Data
Data
Data
Data
Data
ß
Data
Data