..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..
Mister LG can create upload forms and test targets on file upload vulnerabilities
<?php
/* Delete File handler
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 14-11-2014
*/
if(!defined('IN_SCRIPT')){
exit;
}
if(!is_file($sDest)){
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['error']."Invalid source file<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
if(!@unlink($sDest)){
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Failed to remove file<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
else{
$sCode .= "<div class=\"spacingmsg\">".$_CONTEXT['result_headers']['result']."Successfully removed file<p><a href=\"development.php?action=list\">[ back ]</a></p></div>\n";
}
}
?>