XSS in location.hash.match() function
I was solving a CTF. Just reading the source code of the web page, I found a vulnerable piece of code:
var r4c='(.*?)’;
var results = location.hash.match(‘token\\(‘+r4c+’\\);’);
I am unable to match any string with ‘token\\(‘+r4c+’\\);’… Continue reading XSS in location.hash.match() function