![]() |
|
Bing SQL Scanner - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: PHP (https://sinister.li/Forum-PHP) +--- Thread: Bing SQL Scanner (/Thread-Bing-SQL-Scanner) |
Bing SQL Scanner - NoNs - 10-21-2015 PHP Code: Code:
<?php
/*
[PHP] BingSql Scanner
Dorker & Scanner SQLi
Coder: inj3ctor_m4
*/
error_reporting(0);
set_time_limit(0);
echo"
____ ____ ___
/\ _`\ __ /\ _`\ /\_ \
\ \ \L\ \ /\_\ ___ __\ \,\L\_\ __ \//\ \
\ \ _ <'\/\ \ /' _ `\ /'_ `\/_\__ \ /'__`\ \ \ \
\ \ \L\ \\ \ \/\ \/\ \/\ \L\ \/\ \L\ \/\ \L\ \ \_\ \_
\ \____/ \ \_\ \_\ \_\ \____ \ `\____\ \___, \/\____\
\/___/ \/_/\/_/\/_/\/___L\ \/_____/\/___/\ \/____/
/\____/ \ \_\
\_/__/ \/_/
\n";
echo "Usage : php ".$_SERVER["PHP_SELF"]." dork untilpage\n\n";
$b = "http://www.bing.com/search?q=";
$i = urlencode($argv[1]);
$n = "&first=";
$g = 1;
$id = $argv[2]*10-9;
while($g <= $id){
$gt = file_get_contents($b.$i.$n.$g);
preg_match_all('(<div class="sb_tlst">.*<h3>.*<a href="(.*)".*>.*</a>.*</h3>.*</div>)siU',$gt,$get);
$g=$g+10;
foreach($get[1] as $go){
$ctx = stream_context_create(array('http' => array('timeout' => 4)));
$ft = file_get_contents($go,false,$ctx);
if (preg_match("/error in your SQL syntax|mysql_fetch_array()|execute query|mysql_fetch_object()|mysql_num_rows()|mysql_fetch_assoc()|mysql_fetch​_row()|SELECT * FROM|supplied argument is not a valid MySQL|Microsoft OLE DB Provider for ODBC Drivers error|Syntax error|Fatal error/i",$ft)) {
echo urldecode($go)." >> Infected\n";
}
else{
echo urldecode("$go")."\n";
}
}}
?>RE: Bing SQL Scanner - BreShiE - 10-21-2015 This could be so much better. How about writing a tutorial on manually dorking on bing, or perhaps every search engine? That'd be something I'd like to see, not some basic ass script. Sorry dude. RE: Bing SQL Scanner - Dyme - 10-21-2015 (10-21-2015, 03:20 PM)BreShiE Wrote: How about writing a tutorial on manually dorking on bing, or perhaps every search engine? That'd be something I'd like to see, not some basic ass script. Sorry dude. Yes that is what we need! Another dispensable tutorial on a subject that has already been written about a countless number of times! Now that's HQ!!! RE: Bing SQL Scanner - BreShiE - 10-22-2015 (10-21-2015, 10:25 PM)Dyme Wrote: Yes that is what we need! Another dispensable tutorial on a subject that has already been written about a countless number of times! Now that's HQ!!! Proceed forth and multiply my good fellow. RE: Bing SQL Scanner - fighterofpkfm - 11-26-2015 how to we use this script? RE: Bing SQL Scanner - Oni - 11-26-2015 (11-26-2015, 02:10 PM)fighterofpkfm Wrote: how to we use this script? You grab a pair of rusty scissors and castrate yourself. RE: Bing SQL Scanner - B!t - 11-26-2015 This script so so old, and got still shared a lot... i dont understand it at all ![]() fighterofpkfm if you want to use this php script you need to install it at your own pc or host this script somewhere else. after you did some of these thing you should tae a look at the argv inputs and then it should be clear how to use this script ![]() basic command to start a php script : php yourscript.php Regards B!t |