Reflected XSS into a JavaScript string with angle brackets ... (Video solution, Audio)

preview_player
Показать описание
This video shows the lab solution of "Reflected XSS into a JavaScript string with angle brackets and double quotes HTML-encoded and single quotes escaped" from Web Security Academy (Portswigger)

Рекомендации по теме
Комментарии
Автор

are you teaching to solve or teaching to understand

musaumarfaruq
Автор

I would also like the breakdown of how the payload works.

whetfaartz
Автор

I don't understand. How payload is working
var searchTerms = '\\'-alert(1)//';
I get that // is for commenting out the ';
and '\\' basically means '\'
but i don't understand -alert(1)
if it is minus operation then it shouldn't work. we cant minus two strings.
Help me out here

krishnajaiswal
join shbcf.ru