PHP Anti-web scanner scripting Tips _php Tutorial

Source: Internet
Author: User
Most web scanners, including uploads, management background scanners, determine the existence of a page by judging the 200 return of HTTP, and the scan period will begin to scan the vulnerability on the basis of the existence of the page. Since there is no guarantee that the internal logic is tight, then the input/output this bottleneck, when the wrong password or failure to enter, we ourselves returned a 400 error HTTP message to mislead the scanner to no longer scan (including which manual intruders)
Take PHP for example:
Copy CodeThe code is as follows:
Ob_start ();
if (' Password '! = $_get[' Password ')
Header ("http/1.1 404 Not Found");
?>



<title>Sample</title>





http://www.bkjia.com/PHPjc/319508.html www.bkjia.com true http://www.bkjia.com/PHPjc/319508.html techarticle most web scanners (including uploads, management background scanners) are determined by the 200 return of HTTP to determine the existence of the page, on the basis of the existence of the page, these scanning period will begin to ...

  • 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.