megabyte24

Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About megabyte24

Profile Information

  • OS
    none specified
  1. 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"); ?>