Sinisterly
How to find a website DB version? - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Hacking (https://sinister.li/Forum-Hacking)
+--- Forum: Network Hacking (https://sinister.li/Forum-Network-Hacking)
+--- Thread: How to find a website DB version? (/Thread-How-to-find-a-website-DB-version)



How to find a website DB version? - Hack3rcon - 03-24-2020

Hello,
How can I understand a website using which DB? MySQL, MS-SQL or...

Thank you.


RE: How to find a website DB version? - Darkbyte - 03-24-2020

Usually just running commands to force a error then run functions like SLEEP() that only work on certain databases ect.

Also sql map can do this for you:
[Image: EKUfXb7.png]

If you need to do it manual check out the sqlmap source code and see how they do it Smile.
https://github.com/sqlmapproject/sqlmap

You can also check paths like /phpmyadmin/ , ports like 3306 ect.


RE: How to find a website DB version? - Hack3rcon - 03-24-2020

sqlmap source code?
My problem is that all sqlmap examples need a URL like "URL\.php?id=51" , but the website that I want to test not show anything in the web browser address bar!


RE: How to find a website DB version? - Darkbyte - 03-24-2020

Hmm do you have a entry point for injections?

Sounds like you are dealing with post data or a custom url rule , is it possible to pm me the site? No worries if not.


RE: How to find a website DB version? - Hack3rcon - 03-24-2020

I send a PM to you.

Thank you.