..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..
Creates a blueprint/map of a server folder
<?php
/*
File header.php includes the CrackMe class and sets up the environment.
You need to edit this file in order to get Medusa to work.
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 12-11-2014
*/
include_once("../crackmeclass.php");
$cTHC = new THC();
$sDest = $_PATHS['includes_root']."/wordlists.php";
(!IsThere($sDest) ? include_once($_PATHS['end']) : include_once($sDest));
$sDest = $_PATHS['includes_root']."/getdbprofiles.php";
include_once($sDest);
if(!@file_exists("tasks.php")){
die("Unable to locate white hat task file, make sure you setup the paths in header.php properly!");
}
if(defined('INDEX')){
// load supported forums and cmses
$aFiles = $cTHC->GetPHPFiles("../forums");
}
else{
// load supported forums and cmses and get the files that have a system array
$aFiles = $cTHC->GetSystemFiles("../forums");
}
?>