..we will make a new module and not just some new module, nope let's make a fully automatic injection script! This tutorial is the first step into making this. Let's first explain what..
AntiFTP uses wordlists in order to bruteforce FTP user accounts
<?php
/* Detects if the module makes use of an iframe file
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 21-03-2015
*/
if(!defined("IN_SCRIPT")){
exit;
}
if(isset($_CONTEXT['module_current']) && $_CONTEXT['module_current']!=""){
if(file_exists($_PATHS['module_default_root']."/screen.php")){
// iframe that shows attack
$_CONTEXT['screen'] = array();
$_CONTEXT['screen']['src'] = $_PATHS['module_default_root_http']."/screen.php";
$_CONTEXT['screen']['w'] = 800;
$_CONTEXT['screen']['h'] = 200;
$_CONTEXT['screen']['name'] = "screen";
}
}
?>