Jump to content
Nytro

HTTP Methods Identification

Recommended Posts

Posted

[h=2]HTTP Methods Identification[/h]

This is a small script that uses netcat in order to connect to a remote web server and to discover which HTTP methods supports.You can see below the source code:

#!/bin/bash

for webservmethod in GET POST PUT TRACE CONNECT OPTIONS PROPFIND;

do
printf "$webservmethod " ;
printf "$webservmethod / HTTP/1.1\nHost: $1\n\n" | nc -q 1 $1 80 | grep "HTTP/1.1"

done

lazymap4.jpeg?w=645

Source Code

In the next image you can see the script in use:

lazymap3.jpeg?w=645

Demonstration

Sursa: HTTP Methods Identification

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...