random gallery image
random tutorial
preview

..or more modules you must have seen the iframes used for realtime result display. In this tutorial I'm going to show you how to insert them into your module and how they..

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
/* Security notifications

Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 24-02-2015
*/
if(!defined('IN_SCRIPT')){
    exit;
}
$_CONTEXT['sec_notes'] = "";
// detect if a bruteforce attack has taken place
include_once($_PATHS['includes_root']."/detect_bf.php");
if(isset(
$_CONTEXT['bf_detected'])){
    
// check if a bruteforce attack has been detected
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"cc_record\">\n";
    
$_CONTEXT['sec_notes'] .= "                                <div class=\"flt pad3\" id=\"bf\">- <a href=\"#\" class=\"mlink\" id=\"bf\">Possible bruteforce attack on login</a></div>\n";
    
$_CONTEXT['sec_notes'] .= "                            </div>\n";
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"clear\"></div>\n";
}
if(!
$_CONTEXT['pass_access']){
    
// password access
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"cc_record\">\n";
    
$_CONTEXT['sec_notes'] .= "                                <div class=\"flt pad3\" id=\"nopass\">- <a href=\"#\" class=\"mlink\" id=\"nopass\">No password has been set for your environment</a></div>\n";
    
$_CONTEXT['sec_notes'] .= "                            </div>\n";
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"clear\"></div>\n";
}
if(!
$_CONTEXT['ip_access']){
    
// ip access
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"cc_record\">\n";
    
$_CONTEXT['sec_notes'] .= "                                <div class=\"flt pad3\" id=\"noip\">- <a href=\"#\" class=\"mlink\" id=\"noip\">Environment is possibly accessible from any ip address</a></div>\n";
    
$_CONTEXT['sec_notes'] .= "                            </div>\n";
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"clear\"></div>\n";
}
$aLogFolder explode("/",$_PATHS['log_root']);
if(
$aLogFolder[count($aLogFolder)-1]=="Logs"){
    
// you might want to change your Log folder, because some files can be readable and directly accessible through an http request
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"cc_record\">\n";
    
$_CONTEXT['sec_notes'] .= "                                <div class=\"flt pad3\" id=\"samelog\">- <a href=\"#\" class=\"mlink\" id=\"samelog\">You might want to change the path of your log folder</a></div>\n";
    
$_CONTEXT['sec_notes'] .= "                            </div>\n";
    
$_CONTEXT['sec_notes'] .= "                            <div class=\"clear\"></div>\n";
}
// see if we have notifications to show
if($_CONTEXT['sec_notes']!=""){
    
$_CONTEXT['sec_notes'] = "                        <div class=\"cc_summary emboss borderr5 border1pxtrans pad5 edgeglow\">\n<div class=\"embosshdrnocenter border1pxtrans pad5\">Security Notifications</div>\n".$_CONTEXT['sec_notes']."</div>\n";
    
$_CONTEXT['htmlo'] = str_replace("</head>","<script type=\"text/javascript\" src=\"Templates/".$_PATHS['style_user']."/js/tooltip.js\"></script>\n</head>",$_CONTEXT['htmlo']);

}
?>
powered by
site stats
cms statistics:
version: 0.6.0
downloads: 4372
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.