Snortblog

February 9, 2009

Test for Webdav over SSL

Filed under: Computers, Doing — Tags: , , — snort @ 1:15 pm

openssl s_client -connect localhost:443
After the key exchange, enter the following:
OPTIONS / HTTP/1.1
host: localhost

After hitting enter once or twice, I got this:
HTTP/1.1 200 OK
Server: Changed to protect the innocent 1.0
X-Powered-By: Some server
Allow: GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONS

The Allow header shows that WebDAV methods are enabled, even though cadaver wouldn’t connect.

Powered by WordPress