..cool, 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..
Creates a blueprint/map of a server folder
<?php
/*
Allowed upload extensions
Author: Remco Kouw
Site: http://www.hacksuite.com
Last Edit: 12-11-2014
*/
if(!defined('IN_SCRIPT')){
exit;
}
// maybe more additions in the future
if(!isset($_CONTEXT['upload'])){
$_CONTEXT['upload'] = array();
}
$_CONTEXT['upload']['ext'] = array("jpg","png","gif","php","css","js","html","htm","txt");
?>