..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 you don't..
THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data
<?php
/* Uninstall apps, modules and callbacks
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 13-04-2015
*/
if(!defined('IN_SCRIPT')){
exit;
}
if(isset($_GET['apps'])){
/* uninstall app */
$sPath = "";
$sBuffer = "";
if(0!=($iExtra = @count($aExtra))){
// find a match and make a buffer
$sBuffer = "<?php\n";
$sBuffer .= "/*\n";
$sBuffer .= "Installed apps\n\n";
$sBuffer .= "Author: Remco Kouw\n";
$sBuffer .= "Site: http://www.hacksuite.com\n";
$sBuffer .= "Last Edit: ".date('d-m-Y',time())."\n";
$sBuffer .= "*/\n";
$sBuffer .= "if(!defined('IN_SCRIPT')){\n";
$sBuffer .= "\texit;\n";
$sBuffer .= "}\n";
$sBuffer .= "\$aExtra = array();\n";
$i = 0;
for($x=0;$x<$iExtra;$x++){
if($aExtra[$x][0]==$_GET['apps']){
$sPath = ExploitFilter(str_replace("//","/",$_PATHS['root']."/".$aExtra[$x][1]),0,1);
continue;
}
$sBuffer .= "\$aExtra[".$i."] = array(\"".$aExtra[$x][0]."\",\"".$aExtra[$x][1]."\");\n";
$i++;
}
$sBuffer .= "?>";
if($sPath==""){
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Can't find app</div>";
}
else{
// remove app
$oIterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($sPath),RecursiveIteratorIterator::CHILD_FIRST);
foreach($oIterator as $oPath){
if($oPath->isDir()){
@rmdir($oPath->__toString());
}
else{
@unlink($oPath->__toString());
}
}
@rmdir($sPath);
// update installed apps file
if(!function_exists("WriteF")){
$sDest = $_PATHS['functions_root']."/fwrite.php";
(!IsThere($sDest) ? include_once($_PATHS['end']) : include_once($sDest));
}
if(!WriteF($_PATHS['data_root']."/extra.php",$sBuffer,"w")){
// update failed
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Failed to uninstall the app, please remove the app from extra.php in /Data</div>";
}
else{
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Successfully removed app</div>";
}
}
}
else{
// no apps installed
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."No apps installed</div>";
}
}
elseif(isset($_GET['module'])){
/* uninstall module */
$sPath = ExploitFilter($_PATHS['root']."/Modules/".$_GET['module'],0,1);
$oIterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($sPath),RecursiveIteratorIterator::CHILD_FIRST);
foreach($oIterator as $oPath){
if($oPath->isDir()){
@rmdir($oPath->__toString());
}
else{
@unlink($oPath->__toString());
}
}
@rmdir($sPath);
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Successfully uninstalled module<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
elseif(isset($_GET['callback'])){
/* uninstall callback */
if(!function_exists("GetFilesByDirectory")){
include_once($_PATHS['functions_root']."/getfilebydir.php");
}
$aFiles = GetFilesByDirectory($_PATHS['root']."/Modules/thc_ss/CALLBACKS");
$sFile = "";
for($x=0;$x<count($aFiles);$x++){
@include_once("Modules/thc_ss/CALLBACKS/".$aFiles[$x]);
if($_CBACKD[0]==$_GET['callback']){
$sFile = $_PATHS['root']."/Modules/thc_ss/CALLBACKS/".$_CBACKD[1];
break;
}
}
if($sFile!=""){
if(!@unlink($sFile)){
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Failed to remove callback<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Successfully uninstalled callback<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
}
else{
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Can't find callback<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
}
else{
// unknown tool
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."This kind of tool doesn't exist<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
?>