Penetration Test-http method

Source: Internet
Author: User

In addition to the HTTP transmission, in addition to the regular get, post methods, there are another 6 methods, as follows (get and post general method is not described):


PUT: This method allows the client to upload a new file on the Web Server. An attacker could use this method to upload a malicious file (for example, an ASP file that executes a command by calling Cmd.exe).


Delete: This method allows the client to delete files on the Web Server.


CONNECT: This method allows the client to use the Web server as a proxy.


TRACE: This method simply returns these to the client, regardless of the character sent to the Server. Can be used for cross-site tracing attacks.


Test method:


    1. Use NC (Netcat) to send options to see which methods are supported on the target site:

NC www.targetweb.com 80


options/http/1.1


Host:www.targetweb.com


http/1.1 OK
server:microsoft-iis/5.0
date:tue, OCT 2006 08:00:29 GMT
Connection:close
allow:get, HEAD, POST, TRACE, OPTIONS (scrambled data, but normal will return These)



This article is from the "boundless" blog, please make sure to keep this source http://7492110.blog.51cto.com/7482110/1862674

Penetration Test-http method

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.