User Tools

Site Tools


hacking:sql_injection:mysql:obtain_version_and_other_info

Hacking- SQL Injection - MySQL - Obtain version and other info

Version of database and more details for SQL Server.

It's a constant.

You can just select it like any other column, you don't need to supply table name.

Also, you can use insert, update statements or in functions.

SELECT @@version
 
INSERT INTO members(id, USER, pass) VALUES(1, ''+SUBSTRING(@@version,1,10) ,10)
hacking/sql_injection/mysql/obtain_version_and_other_info.txt · Last modified: 2020/07/15 09:30 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki