Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


megabyte24

Download links broken

2 posts in this topic

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");

?>

0

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.