Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 

megabyte24

Download links broken

Recommended Posts

megabyte24    0

On http://www.legroom.net/software/uniextract, when selecting any of the program download links, brings one to http://www.legroom.net/scripts/download.php?file=xxxxxxxxxxxxxxx, which downloads the below PHP file, instead of parsing it and redirecting to the appropriate local / remote link:

<?

# File download wrapper for statistics

# Setup environment

#$remote = 'http://download.c1pher.com';

$local = 'http://www.legroom.net/files/software';

# Validate file

$file = $_GET['file'];

switch ($file) {

case 'uniextract161':

$dest = "$local/uniextract161.exe";

break;

case 'uniextract161_noinst':

$dest = "$local/uniextract161_noinst.rar";

break;

case 'uniextract161_source':

$dest = "$local/uniextract161_source.rar";

break;

case 'uniextract16':

$dest = "$local/archive/uniextract16.exe";

break;

case 'uniextract16_noinst':

$dest = "$local/archive/uniextract16_noinst.rar";

break;

case 'uniextract16_source':

$dest = "$local/archive/uniextract16_source.rar";

break;

case 'archive':

$dest = "$local/archive/archive.php";

break;

case 'autoflac12':

$dest = "$local/autoflac12.exe";

break;

case 'autoflac12_noinst':

$dest = "$local/autoflac12_noinst.rar";

break;

case 'autoflac12_source':

$dest = "$local/autoflac12_source.rar";

break;

default:

echo "You have specified an invalid file.";

exit(1);

}

# Redirect user

header("Location: $dest");

?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×