View Full Version : System information via webserver
Straight to it:
Is there any way to determine what OS and tools (PHP, MySQL, etc) a web server has, via the internet?
Eg. Loggin onto my web server from another computer and looking up what OS said web server has, etc.
Thanks in advance.
Belarc is good for this but it requires a download so probably not what you're looking for.
http://www.belarc.com/free_download.html
There are sites that just look at the HTTP Headers passed in and simply report that back...do a Google for that and you should find something close to what you're looking for.
You could do something like this;
c:\>telnet your_server_address 80
HEAD / HTTP/1.0 <enter> <enter>
You could do something like this;
c:\>telnet your_server_address 80
HEAD / HTTP/1.0 <enter> <enter>
That won't give him a report of installed scripting language support though will it? Come to think of it, I don't think Belarc does either.
I wrote this prog in python long time go. ;) It reports OS and Webserver version as well as the versions of PHP MySQL etc.
import sys, socket
if len(sys.argv) < 2:
query_host = raw_input('Enter hostname: ')
else:
query_host = sys.argv[1]
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((query_host, 80))
s.send('HEAD / HTTP/1.0\n\n')
data = s.recv(1024)
s.shutdown(2)
s.close()
print data
You could do something like this;
c:\>telnet your_server_address 80
HEAD / HTTP/1.0 <enter> <enter>
Thanks a bunch, I'll try that tomorrow from the Uni.
Sorry about the lack of eloquence in the original post. I was running late and needed to post that fast. :D
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.