..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 function. what..
Mister LG can create upload forms and test targets on file upload vulnerabilities
<?php
/* This is the task bot */
if(!isset($_GET['start']) || !isset($_GET['module'])){
// prevent errors from occuring when someone doesn't specify the correct parameters (if error reporting displays warnings)
exit;
}
include_once("./Functions/raw_to_array.php");
$sDest = "./Data/running.txt";
if(false!==($aFileData = RawToArray($sDest))){
for($x=0;$x<count($aFileData);$x++){
if($aFileData[$x][2]==0 && $aFileData[$x][1]==$_GET['start'] && $aFileData[$x][0]==$_GET['module']){
// note for later releases, set task class dynamic, eg task_long for very long tasks
echo"<div class=\"task\"><b>".$_GET['module']."</b>: ".(time() - $aFileData[$x][1])." (s)</div>\n";
break;
}
elseif($aFileData[$x][2]!=0 && $aFileData[$x][1]==$_GET['start'] && $aFileData[$x][0]==$_GET['module']){
echo"<div class=\"task\"><b>".$_GET['module']."</b>: completed</div>\n";
break;
}
}
}
else{
echo"<div class=\"task\"><b>no tasks running</b></div>\n";
}
?>