Let's Learn About Sql Injection
( এখানে single quote এর পরিবর্তে আরো অন্যান্য special character ও হতে পারে, যেমনঃ ) , “ , )) ,’) , \ etc
এর পরবর্তী কাজ হচ্ছে এটাকে fix করা , চলুন দেখে নেয়া যাক Error Fixing System ,
--+, #,%23,-- -,--space, ; , %60
Example :
http://testphp.vulnweb.com/artists.php?artist=1'--+ (Error Not Fixed)
http://testphp.vulnweb.com/artists.php?artist=1-- (Error Fixed)http://testphp.vulnweb.com/artists.php?artist=1 (এখানে সব query লিখতে হবে ) --
আমাদের প্রথম কাজ শেষ এখন ২য় কাজ হল column count করা।
টেবিল এর columns count করার জন্য order by বা group by ব্যবহার করতে হয়। যেহেতু আমরা জানিনা যে কইটা column আছে তাই (brute force attack) এর মত করে column বসাতে থাকবো । আমাদের টার্গেট url এ group by 10 দিলাম। ( wait for next part )