random gallery image
random tutorial
preview

..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..

read more

random stress testing
HackSuite File Library
File Library
Here you can find the latest files and structure of the THC HackSuite, note that if you have an earlier version of the suite it's not recommended to update files manually. Instead you should overwrite your existing HackSuite environment.
<?php
/* Module creation form

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 03-03-2015
*/
if(!defined('IN_SCRIPT')){
    exit;
}
$sCode .= "                        <form method=\"post\" class=\"developform\">\n";
$sCode .= "                        <div class=\"cc_summary emboss borderr5 border1pxtrans pad5 edgeglow\">\n";
$sCode .= "                            <div class=\"embosshdrnocenter border1pxtrans pad5\">create new module</div>\n";
$sCode .= "                            <div class=\"cc_record modrow\" id=\"a\">\n";
$sCode .= "                                <div class=\"flt pad3 w150\">name of module</div><div class=\"flt pad3 w200\"><input type=\"text\" name=\"sName\" value=\"\" title=\"name of the module\" size=\"35\" /></div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
$sCode .= "                            <div class=\"cc_record modrow\" id=\"b\">\n";
$sCode .= "                                <div class=\"flt pad3 w150\">abbreviation</div><div class=\"flt pad3 w200\"><input type=\"text\" name=\"sAbbr\" value=\"thc_??\" title=\"abbreviation: eg thc_ss\" size=\"35\" max_length=\"6\" /></div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
$sCode .= "                            <div class=\"cc_record modrow\" id=\"c\">\n";
$sCode .= "                                <div class=\"flt pad3 w150\">description</div><div class=\"flt pad3 w200\"><textarea name=\"sDescription\" value=\"\" title=\"description for the module\"></textarea></div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
$sCode .= "                            <div class=\"cc_record modrow\" id=\"d\">\n";
$sCode .= "                                <div class=\"flt pad3 w150\">version</div><div class=\"flt pad3 w200\"><input type=\"text\" name=\"sVersion\" value=\"0.0.1\" title=\"version of the module\" /></div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
$sCode .= "                            <div class=\"cc_record modrow\" id=\"e\">\n";
$sCode .= "                                <div class=\"flt pad3 w150\">author</div><div class=\"flt pad3 w200\"><input type=\"text\" name=\"sAuthor\" value=\"\" title=\"author of the module\" /></div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
// create existing module selection menu
$sCategoryMods "\n            <select name=\"sModCat\">\n";
$sCategoryMods .= "                <option value=\"-1\">select a category</option>\n";
foreach(
$_CONTEXT['modcats'] as $sCat=>$aValues){
    
$sCategoryMods .= "                <option value=\"".$sCat."\">".str_replace("_"," ",$sCat)."</option>\n";
}
$sCategoryMods .= "            </select>\n";
$sCode .= "                            <div class=\"cc_record modrow\" id=\"f\">\n";
$sCode .= "                                <div class=\"flt pad3 w150\">category</div><div class=\"flt pad3 w200\">".$sCategoryMods."</div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
// after module has been created
$sCode .= "                            <div class=\"cc_record modrow\" id=\"indexcontent\">\n";
$sCode .= "                                <div class=\"flt pad3 w150\">index.php</div><div class=\"flt pad3 w300\"><textarea name=\"sIndex\" rows=\"15\" cols=\"40\"></textarea></div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
$sCode .= "                            <div class=\"cc_record modrow\">\n";
$sCode .= "                                <div class=\"modrowleft flt pad3 w150\"></div><div class=\"flt pad3 w200\"><input type=\"submit\" id=\"newfile\" value=\"add new file\"><input type=\"submit\" name=\"submit\" class=\"newmodule\" value=\"Create\" /></div>\n";
$sCode .= "                            </div>\n";
$sCode .= "                            <div class=\"clear\"></div>\n";
$sCode .= "                        </div>\n";
$sCode .= "                        </form>\n";
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 3837
native: 26
modules: 21
apps: 2
support development
It takes lots of calories in order to create new things for the hacksuite, so it would be grand if you could buy me a protein shake or extra energy to keep me going. Thanks!
disclaimer
We are not responsible for any direct or indirect damage caused by abusing the tools provided on hacksuite.com. The suite is developed for educational purposes, use at your own risk!
Created by Remco Kouw. Powered by protein shakes and a high calorie diet.