====== Identifying web server methods using netcat ====== This script uses netcat to identify web server methods. Manual analysis is recommended and in some cases needed to verify certain WEBDAV methods like PROPFIND (cadaver is a favorite tool for this). #!/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