HTTP Methods

Check List

Methdology

HTTP Methods

1

We run the following command to identify the active methods on the target using the Curl tool

2

We can do this by using the Nmap tool to identify the active methods on the target

3

We can do this by using the Nmap tool to identify the active methods on the target. After executing the command, if the PUT method is active on the target, using the next command, we try to upload a php file to the target to get RCE

4

If our file is uploaded to the specified path using the PUT method, the site is vulnerable


XSS in Trace Method (Black Box)

1

first Check if the Server Supports TRACE Send a simple TRACE request to check if the server responds

2

If the server supports the Trace method, the next step is to inject JavaScript code

3

Modify the request by injecting an XSS payload inside the Via header If the server reflects this payload in its response without sanitization, it may be vulnerable to XSS

4
circle-info

If a web application connected to this server processes and displays the reflected data inside an HTML page, the script may execute in a victim's browser


Cheat Sheet

Discover the Supported Methods

circle-info

Check Methods

circle-info

Upload phpinfo()

PUT Method

circle-info

Create Web Shell PHP

circle-info

Create Web Shell ASPX

circle-info

Upload Web Shell PHP

circle-info

Execute Web Shell PHP

circle-info

Upload Web Shell ASP

circle-info

Execute Web Shell ASP

circle-info

All Methods Scan

circle-info

PUT Method Scan

circle-info

Start Ngrok

circle-info

Define ENV Ngrok

circle-info

Cert Spoof

circle-info

Post-EXP

circle-info

Generate Web shell PHP

circle-info

Generate Web Shell ASP

circle-info

Listening Metasploit PHP

circle-info

Listening Metaploit ASP

circle-info

Upload Shell PUT Method PHP

Access Control Bypass

circle-info

Create Script

circle-info

Run Script

Cross-Site Tracing Potential

HTTP Method Overriding

circle-info

X-HTTP-Method

circle-info

X-HTTP-Method-Override

circle-info

X-Method-Override

Last updated