Very good, I have guiding me
-------------------------------------------------- ---------
Author: Invincible most lonely [E.S.T]
Source: Evil Eight Bao China
Original source: unknown
Disclaimer: This article is a foreign friend who has given friends to my email. The original author is written by Dr_amado. I even spend an hour of time, so please indicate it.
Hacking with javascript
This tutorial mainly describes how to use JavaScript to bypass some simple or more advanced HTML form restrictions and cookie / session verification.
Simple form limit
1. Betvap item
You will often touch some pages. You will need to fill all the entries to be submitted, but we can use these restrictions. If you look at the source code of the page, find the part of the code submitted by the form, you will find There is an onSubmit property in the Form tab. When you see this property, we are very hope to try to bypass these restrictions. Everyone knows, JavaScript can control all elements in the page, including form elements. So we You can use JavaScript modification, delete, and add any elements to each page we browsed.
Therefore, we can use the JavaScript to clear the OUSUBMIT property in the form, so we can submit a form without restricted success.
The onSubmit property typically points to a function, this function is used to check the correct format of the submitting Form form data. (Translator Note: I am here as an example of a free mailbox application in China):
Function fcheck () {
IF (! form.readed.checked)
{
Alert ("You need to register after accepting the Terms of Service!");
Form.Readed.focus ();
Return False;
}
...