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: Monday, June 24, 2024 at 11:56:14 AM

Updated on: Thursday, July 25, 2024 at 1:11:53 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
Mon Jun 24 2024
Found 1 result
Data
91-93
Firefox logo
Firefox 127.0 desktop macOS 10.15
Mon Jun 24 2024
Found 1 result
Data
91-93
Safari logo
Safari 17.4 desktop macOS 10.15.7
Mon Jun 24 2024
Found 1 result
Data
91-93