Characters that act as array literals

This vector uses a tricky eval() to determine what characters act as array literals in JavaScript. It uses the iteration position as one character and the iteration position plus two for the other character.

Created by: hackvertor

Created on: 6/24/2024, 11:56:14 AM

Updated on: 7/11/2024, 2:18:52 AM

Vector type: JS

Template used:
eval("let array =  "+String.fromCodePoint(i,i+2)+";Array.isArray(array)&&log(String($[i]"+"+'-'+"+(i+2)+"))")
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

eval("let array =  "+String.fromCodePoint(i,i+2)+";Array.isArray(array)&&alert(String(0"+"+'-'+"+(i+2)+"))")

Fuzz results

Chrome logo
Chrome 126.0.0.0 desktop macOS 10.15.7
Found 1 result
Data
91-93
Firefox logo
Firefox 127.0 desktop macOS 10.15
Found 1 result
Data
91-93
Safari logo
Safari 17.4 desktop macOS 10.15.7
Found 1 result
Data
91-93