![]() |
|
SQLi targeting fails ! - 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: SQLi targeting fails ! (/showthread.php?tid=4449772) |
SQLi targeting fails ! - mymahesh11 - Sep 16, 2014 As I am newbie to SQLi I face so many problems fetching records. Code gyancho.com/gyancho.php?id=-20 union SELECT 1,2,group_concat(1),4,5,6--The above works perfect I get appropriate results as 1 5.6.11-log and further But when I trying to concat two things together it doesn't work as I want. Code gyancho.com/gyancho.php?id=-20 union SELECT 1,2,group_concat(version(),database()),4,5,6--Now above returns an error as 403 ERROR , FORBIDDEN Now what should I do? >_< GYANcho >_<
* - -Acid - Sep 16, 2014 Well the site is not opening for me..i don't know why. Forbidden error is waf. But try to put seperator between version and database like PHP Code This is just a guess from my side as i am not able to open the site. * - mymahesh11 - Sep 16, 2014 The site is different π I replaced the name of site with Gyancho πππ And also I tried this using separator but not working! * - -Acid - Sep 16, 2014 LOl...π€£ so pm me site..i'll check what is the problem...or post site here.. * - ridhisidhi12 - Sep 16, 2014 U got 43 forbidden error.Then try URL ENCODING to bypass 403 error. like /*!00000%55nion*/ ------> %55 is for U * - -Acid - Sep 16, 2014 PHP Code * - mymahesh11 - Sep 16, 2014 HUH! Thats pretty cool work! by SPID3R π€© (Sep 16, 2014 09:51 AM)ridhisidhi12 Wrote: U got 43 forbidden error.Then try URL ENCODING to bypass 403 error. like Tried almost all combination camel case, url encoding, hex encoding but no use π * - c.h.r.o.n.i.c.a.l - Sep 16, 2014 It's obviously a WAF (Web Application Firewall) Encode your URL and include random shit that won't mess up the query, like ridhisidhi12 suggested. * - mymahesh11 - Sep 16, 2014 I tried encoding URL, first characters or or entire word... But shit doesn't allow me |