..I will show you how to make a multi bridge between THC_DO, THC_SS and THC_II and keep track of the output in realtime using iframes. So what exactly are we going to do? First of all if..
THC Sscan is a very versatile tool for scanning (html) files
<?php
/* Fetches loaded google dorks and sql error statements
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
exit;
}
$aItems = array();
$aItems['sqli'] = $_PATHS['data_root']."/sqlerrors.txt";
$aItems['dorks'] = $_PATHS['data_root']."/googledorks.txt";
foreach($aItems as $sKey=>$sValue){
if(!IsThere($sValue)){
include_once($_PATHS['end']);
}
$_CONTEXT[$sKey] = @file($sValue);
}
// make a selection menu?
if(isset($_CONTEXT['makeselect'])){
if(isset($_CONTEXT['dorks'][0]) && $_CONTEXT['dorks'][0]!=""){
// there are google dorks available
$_CONTEXT['dselect'] = "\n <select name=\"iDork\" class=\"dorkz\">\n";
for($x=0;$x<count($_CONTEXT['dorks']);$x++){
$_CONTEXT['dselect'] .= $x==0 ? " <option value=\"-1\" selected=\"selected\">select an option</option>\n" : "";
$_CONTEXT['dselect'] .= " <option value=\"".$x."\">".trim($_CONTEXT['dorks'][$x])."</option>\n";
}
$_CONTEXT['dselect'] .= " </select>\n";
$_CONTEXT['dselect'] = str_replace("\n","",str_replace("\t","",$_CONTEXT['dselect']));
}
if(isset($_CONTEXT['sqli'][0]) && $_CONTEXT['sqli'][0]!=""){
// there are sql errors available
$_CONTEXT['sselect'] = "\n <select name=\"iSQL\" class=\"sqlz\">\n";
for($x=0;$x<count($_CONTEXT['sqli']);$x++){
$_CONTEXT['sselect'] .= $x==0 ? " <option value=\"-1\" selected=\"selected\">select an option</option>\n" : "";
$_CONTEXT['sselect'] .= " <option value=\"".$x."\">".trim($_CONTEXT['sqli'][$x])."</option>\n";
}
$_CONTEXT['sselect'] .= " </select>\n";
$_CONTEXT['sselect'] = str_replace("\n","",str_replace("\t","",$_CONTEXT['sselect']));
}
}
?>