Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Checking DataBase being deployed on a Website |
|---|---|
| Date: | Thu, 10 Nov 2005 19:48:03 +0000 |
On Thu, 2005-11-10 at 12:54 +0800, Paul Wong wrote:
What if the database, is running on a seperate server not the same as the web server ?
Without access to the application running on your web server (and thusly being able to read the config files), finding this out would be quite hard - your first options for this, off the top of my head would probably be: a) Finding it by network reconnaissance and hoping that it's either in the same address range, has some obvious-looking forward DNS, etc. b) Get information on this from the application, which you might get if, for instance, the app doesn't handle errors properly and will return to you some database-specific errors which haven't been wrapped (which may give you a better idea where the database server is and will probably give you at least some platform-specific DB info). c) Guess (chances are if it's PHP, it's my/postgresql, chances are if it's ASP, it's mssql). This obviously doesn't help much if it's not an SME app and therefore stands a chance of running on something other than postgre/my/mssql. On Thu, 2005-11-10 at 09:56 +0530, crazy frog crazy frog wrote:
a simple port scan will tell you about database server?3306->mysql,(default)...same with others run on a specific ports until changed.
Additionally, securing a sql server used as the database server for a webapp on the same machine so that it only listens on localhost is one of the most basic of possible security measures; unless there are specific reasons for binding to a perimeter interface (or the admin is stupid), it's unlikely that a server would be listening on anything other than localhost unless it had to. What exactly is the nature of your inquiry, why/how do you want to know, and what sort of access do you have to the box in question? Are you looking for something general here (postgre/my/mssql/oracle/db2 etc), or something more specific? - James.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Cisco PIX with SSH enabled on external port for maintenance, Chris Largret |
|---|---|
| Next by Date: | RE: Windows Distro, Murad Talukdar |
| Previous by Thread: | Re: Checking DataBase being deployed on a Website, Paul Wong |
| Next by Thread: | Re: Checking DataBase being deployed on a Website, Jepson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |