..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..
AntiFTP uses wordlists in order to bruteforce FTP user accounts
<?php
/* New directory handler
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
exit;
}
if(!is_dir($sDest)){
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Invalid source directory<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
if(@mkdir(ExploitFilter($sDest."/".$_POST['sNewName'],0777))){
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Successfully created new directory<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Failed to create new directory<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
}
?>