Characters that can be used in eval to write code in between

Firefox logo 24

I was asking myself which characters can be used in eval with single quotes that still allow code execution.

Created by: m-boll

Created on: Sunday, May 12, 2024 at 5:02:52 PM

Updated on: Monday, November 4, 2024 at 9:44:45 AM

Vector type: JS

Vector charset: UTF-8

Template used:
eval('$[chr]log($[i])$[chr]')
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...

Sample payloads

eval('	alert(9)	')
eval('alert(11)')
eval('alert(12)')
eval(' alert(32) ')
eval(';alert(59);')
eval(' alert(160) ')
eval(' alert(5760) ')
eval(' alert(8192) ')
eval(' alert(8193) ')
eval(' alert(8194) ')
eval(' alert(8195) ')
eval(' alert(8196) ')
eval(' alert(8197) ')
eval(' alert(8198) ')
eval(' alert(8199) ')
eval(' alert(8200) ')
eval(' alert(8201) ')
eval(' alert(8202) ')
eval('
alert(8232)
')
eval('
alert(8233)
')

Fuzz results

Firefox logo
Firefox 125.0 Unknown Unknown

Updated

Sun May 12 2024
Found 24 results
Loading...