megabyte24 Posted January 22, 2013 Share Posted January 22, 2013 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 userheader("Location: $dest");?> Link to comment Share on other sites More sharing options...
zeroFX Posted January 22, 2013 Share Posted January 22, 2013 You can create "rebuild" the links to the files from a working one. Looks like this: http://www.legroom.net/files/software/uniextract161.exe or http://www.legroom.net/files/software/uniextract161_noinst.rar Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now