![]() |
|
[Tutorial] String Based SQL Injection - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43) +----- Forum: SQL Injection Attacks (https://hackforums.net/forumdisplay.php?fid=103) +----- Thread: [Tutorial] String Based SQL Injection (/showthread.php?tid=4543637) |
[Tutorial] String Based SQL Injection - -zERAiT - Nov 18, 2014 String Based SQL Injection
In this tutorial we'll be going through an String Based SQL Injection. What is String Based SQL Injection? String Based SQL injection happens when the site is vulnerable to SQL injection but doesn't show us the results needed to be displayed after executing our SQLi query. Some known issues listed below:
Example Union Based PHP Code String Based PHP Code Exploiting an String Based SQL Vulnerability We'll be using the site below for an example. PHP Code Finding the amount of columns PHP Code PHP Code PHP Code This means that we have 10 columns. Finding vulnerable columns PHP Code Getting database PHP Code Getting tables from database PHP Code Getting columns from table You'll have to convert your table name into hex and add "0x" infront of it. Quote:http://www.swingnote.com/tools/texttohex.php PHP Code Getting data from columns PHP Code You can read my other tutorials by clicking below.
Thats it for now, if you still have any questions related to String Based SQL Injection then feel free to hit me up. Thanks for viewing my thread.🤝 * - SuperConductor - Nov 18, 2014 Hey it looks rly nice but my problem is that i cant find a index.php? ... on my target site Can you pm me and help me? * - Lil Benadryl - Nov 18, 2014 (Nov 18, 2014 02:48 PM)johannessch Wrote: Hey it looks rly nice but my problem is that i cant find a index.php? ... on my target site Use a dork if you're targeting a specific website: Code site:yourwebsitehere.com inurl:.php?id=Or something along those lines.🤝 * - How bout using your brain - Nov 18, 2014 Would have been nice to explain why there is string based injection in the first place. There are already like 100+ string based injection tutorials on here, so this offers nothing new. However, giving a background on how this actually works, would have made this tutorial a bit more special and interesting for beginners. * - MER1 - Jan 2, 2015 Thanks, this really helped me with SQLi * - Root_x7 - Apr 20, 2015 Nice Tutorial Buddy ! Thanks For Sharing |