Comprehensive SQL Injection Cheat Sheet

The New Acunetix V12 Engine


A reader e-mailed me a while ago about a fairly comprehensive SQL Injection ‘Cheat Sheet’ they had created and posted up.

I compared it to the other ones I had bookmarked, and it was different enough to be worth posting.

Currently only for MySQL and Microsoft SQL Server, some ORACLE and some PostgreSQL. Most of samples are not correct for every single situation. Most of the real world environments may change because of parenthesis, different code bases and unexpected, strange SQL sentences.

Samples are provided to allow reader to get basic idea of a potential attack and almost every section includes a brief information about itself.

It’s worthy resource to save on your Hacking pendrive and bookmark in your portable Firefox.

http://ferruh.mavituna.com/makale/sql-injection-cheatsheet/

Posted in: Database Hacking, Web Hacking

, , ,


Latest Posts:


Malcom - Malware Communication Analyzer Malcom – Malware Communication Analyzer
Malcom is a Malware Communication Analyzer designed to analyze a system's network communication using graphical representations of network traffic.
WepAttack - WLAN 802.11 WEP Key Hacking Tool WepAttack – WLAN 802.11 WEP Key Hacking Tool
WepAttack is a WLAN open source Linux WEP key hacking tool for breaking 802.11 WEP keys using a wordlist based dictionary attack.
Eraser - Windows Secure Erase Hard Drive Wiper Eraser – Windows Secure Erase Hard Drive Wiper
Eraser is a hard drive wiper for Windows which allows you to run a secure erase and completely remove sensitive data from your hard drive by overwriting it several times with carefully selected patterns.
Insecure software versions are a problem Web Security Stats Show XSS & Outdated Software Are Major Problems
Netsparker just published some anonymized Web Security Stats about the security vulnerabilities their online solution identified on their users’ web applications and web services during the last 3 years.
CTFR - Abuse Certificate Transparency Logs For HTTPS Subdomains CTFR – Abuse Certificate Transparency Logs For HTTPS Subdomains
CTFR is a Python-based tool to Abuse Certificate Transparency Logs to get subdomains from a HTTPS website in a few seconds.
testssl.sh - Test SSL Security Including Ciphers, Protocols & Detect Flaws testssl.sh – Test SSL Security Including Ciphers, Protocols & Detect Flaws
testssl.sh is a free command line tool to test SSL security, it checks a server's service on any port for the support of TLS/SSL ciphers, protocols as well as recent cryptographic flaws and more.


6 Responses to Comprehensive SQL Injection Cheat Sheet

  1. backbone June 5, 2007 at 7:44 am #

    it’s a great cheat sheet, but it very heavely based on sql and ms sql servers… the most killer stuff (chapter 12) has only 2-3 sub chapters where there are discused also mysql injection codes… but if you need sql and ms sql injection codes, this is the best that I have seen… it’s also the first when you search on google “sql injection cheat sheet” :)

  2. Torvaun June 5, 2007 at 8:20 am #

    Excellent, one more resource that I didn’t already have in quality. Darknet strikes again!

  3. Daniel June 5, 2007 at 10:10 pm #

    I actually learned how to do manual SQL injections from this thing and the links provided. like 3 months ago maybe.

    Its sweet.

    I just copied and pasted code, then started to understand it.

  4. J. Lion February 12, 2008 at 6:34 pm #

    Good Resource (bookmarked)

  5. Pantagruel February 13, 2008 at 1:45 am #

    Indeed a very nice cheat sheet. Am not really into databse pentesting, but we will have a shake down of an in-house generated db soon. Guess I’ll have to check this cheat sheet and do some trying.

  6. eM3rC February 13, 2008 at 2:40 am #

    Bookmarked and on my list of things to study.

    @Pantagruel
    If you decided to become a black hat I bet all hell would break loose ;P