Skip to content
WJunction - Webmaster Forum

Fileserve PHP Auto Uploader 2011 (PHP script)

Status
Not open for further replies.

13 comments

lol all the encoding in index.php just for

PHP:
set_time_limit(0);

require("config.php");
require("includes/php.php");

:facepalm:
 
Credit where credit is due? You stole/copied more than half the code from phpUploader and you call it your own lol.

EDIT: And then you try to 'encrypt' with a fail base64 algorithm lol.
 
and the 2nd encoded bit, at least there arnt any nastys hidden in there :P

PHP:
if (!empty($_POST['links']))
{

	$isrename = $_POST['renamefiles'];
	$isdelfile = $_POST['delfile'];
	$newname = $_POST['newname'];
	$isupload = $_POST['hostupload'];
	$links = explode("\n", $_POST['links']);
	if (file_exists("includes/download.php"))
	{
		include_once("includes/download.php");
	}
	sleep(2); 

	$filelist = array();
	$handle = opendir($filespath);
	while (false !== ($files = readdir($handle)))
	{
		if ($files !== '.' && $files !== '..')
		{
			array_push($filelist, $files);
		}
	}
	closedir($handle);
	sort($filelist);
	if ($isrename)
    {
        if(file_exists("includes/rename.php"))
            include_once("includes/rename.php");
    }
    
	$filelist = array();
    $handle = opendir($filespath);
    while (false !== ($files = readdir($handle)))
    {
		if ($files !== '.' && $files !== '..')
		{
        	array_push($filelist, $files);
        }
    }
    closedir($handle);
    sort($filelist);
    if ($isupload)
	{
		if (file_exists("includes/upload.php"))
			include_once("includes/upload.php");
	}

echo ""; 

    if($isdelfile)
    { 
    	foreach ($filelist as $file)
        {
            $filelocation = $filespath . $file;
            unlink ($filelocation);
            echo "<br /><br />Deleted <strong>" . $file . " </strong>from files<br />";
        }
        echo "<br /><br />";
        echo "******* Done *******";
    	sleep(2); 
    }
}
 
I'll revise my statement. All you've done is taken code from phpUploader, and encoded it with base64 to call it your own lol. And maybe changed the visual look. What's the point?
 
Im surprised people here will just upload a warez encoded script on there server/hosting and run it.

There could be anything hidden in it
 
Closed. Not only are you suspicious ripping phpUploader, but you encode all parts of it. That's a potential security risk right there. Take your fail elsewhere.
 
Status
Not open for further replies.

About the author

A
Active Member · Joined
Mindy
51
Messages
9
Reactions
8
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom