Q. How do I fingerprint or identify remove web server a from UNIX / Linux shell prompt?
A. You can use standard utilities such as
a) telnet command
b) curl command
telnet - Identify remote web server
Use telnet to connect to remove web server, enter
$ telnet www.vivekgite.com www
Output:
Trying 74.86.49.130... Connected to www.vivekgite.com. Escape character is '^]'.
Request header, enter the following command and hit [ENTER] key twice:
HEAD / HTTP/1.0
Output:
HTTP/1.0 200 OK
Connection: close
X-Pingback: http://www.cyberciti.biz/tips/xmlrpc.php
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Date: Mon, 28 Jan 2008 08:50:55 GMT
Server: lighttpd
Connection closed by foreign host.curl - Identify remote web server
Type the command as follows:
$ curl -I http://www.remote-server.com/
$ curl -I http://vivekgite.com/
Output:
HTTP/1.1 200 OK
Content-type: text/html
Content-Length: 0
Date: Mon, 28 Jan 2008 08:53:54 GMT
Server: lighttpdFeatured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 2 comments… read them below or add one }
Use Hmap for linux users
WOW! telnet works most of the time.
does anyone know how I can block suck requests that give away important info about my server, as I believe that would usually be the first place to start a hack or attack.