Blog dedicated to Oracle Applications (E-Business Suite) Technology; covers Apps Architecture, Administration and third party bolt-ons to Apps

Tuesday, April 7, 2009

How to find out what webserver is running on remote server

Vivek Gite has a nice article here on how to fingerprint/identify web server.  You can do it from your unix server with curl command:

$ curl -I http://windows.justanexample.com/
HTTP/1.1 403 Forbidden
Content-Length: 218
Content-Type: text/html
Server: Microsoft-IIS/6.0
Date: Tue, 07 Apr 2009 17:26:05 GMT

Here's an excerpt from man entry for curl

DESCRIPTION

curl is a tool to transfer data from or to a  server,  using one of the supported protocols (HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP or  FILE).   The  command is designed to work without user interaction.

curl offers a busload of useful tricks like  proxy  support,user authentication, ftp upload, HTTP post, SSL connections, cookies, file transfer resume and  more. The amount of features will make your head spin!

I'll update this post with more curl examples.

No comments: