temporary patch to fix invalid js payloads

This commit is contained in:
Somdev Sangwan
2018-11-20 23:06:25 +05:30
committed by GitHub
parent 1b6e204e66
commit 1d7e943f35

View File

@@ -22,7 +22,7 @@ badTags = ('iframe', 'title', 'textarea', 'noembed',
tags = ('html', 'd3v', 'a', 'details') # HTML Tags tags = ('html', 'd3v', 'a', 'details') # HTML Tags
# "Things" that can be used between js functions and breakers e.g. '};alert()// # "Things" that can be used between js functions and breakers e.g. '};alert()//
jFillings = ('-', '*', ';', '/') jFillings = (';')
# "Things" that can be used before > e.g. <tag attr=value%0dx> # "Things" that can be used before > e.g. <tag attr=value%0dx>
lFillings = ('', '%0dx') lFillings = ('', '%0dx')
# "Things" to use between event handler and = or between function and = # "Things" to use between event handler and = or between function and =