• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
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.