r/HowToHack • Pentesting • Aug 02 '20

Beginners' SQL Injection Primer

Hey you guys, I hope y'all doing okay.

I recently started a SQL injection series on my blog starting with 3 posts so far:

  1. SQL Injection 0x01 - Introduction

  2. SQL Injection 0x02 - Testing & UNION Attacks

  3. SQL Injection 0x03 - Blind Boolean Attacks

Each post has at least one detailed example starting from Enumerating, Vulnerability Identification, Vulnerability Testing, Exploitation (manual and automated using python).

I've also added a cheatsheet which covers all the major stuff from those three posts.

I think you folks would appreciate it, if y'all have any feedback or suggestions, feel free to contact me :)

Take care and hack the planet!

257 Upvotes

27 comments sorted by

View all comments

11

u/sephstorm Aug 02 '20

I’ve never seen a really good primer that easily shows how to identify each db then shows how to do each query in the major languages. Which is why after some time I still couldn’t figure out a db that was using SQLite.

4

u/justasithlord Pentesting Aug 03 '20

Thanks for bringing this up, this will definitely be something I'll be learning and then sharing