Break through the limit of input box length during SQL injection attacks

Source: Internet
Author: User

In actual tests, we often encounter such a situation that the server's asp script does not limit user input, however, by setting the maxlength attribute on the input box on the webpage, many of our attacks are not allowed. some people may want to test the webpage locally and submit it locally. However, the problem is that some websites can simply compare the values of HTTP_REFERER and SERVER_NAME to prevent it.
A lot of people can't do it. There is a simpler way to change HTTP_REFERER by writing a SOCKET program.

------------ Len. reg -----------------
Windows Registry Editor Version 5.00

 

[HKEY_CURRENT_USERSoftwareMicrosoftInternet assumermenuext extension (& E)]
@ = "C: \ Documents ents and Settings \ Administrator \ Desktop \ len.htm"
"Contexts" = dword: 00000004

 

----------- End ----------------------


-----------Len.htm ------------------

---------- End -----------------------


Usage: Import len. reg to the Registry first (note the file path)
Then copy len.htm to the location specified in the registry.
Open the webpage, place the cursor on the input box to change the length, right-click it, and you will see an additional option called extension.
Click OK!

 

Note: The same script can be used to restrict input content.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.