17) || ($l > 30) || ($cnt == "DO")) { sleep(10); header('HTTP/1.0 404 Not Found'); echo "

404 Not Found

"; echo "The page that you have requested could not be found."; die(); } sleep(5); include "_stinc.php"; $wbs = "dl2"; $cloud = "d2m6lcl2e8wdcn.cloudfront.net"; $docscloud = "docs.netcontrol2.com"; //$wbs = "dl"; $nobot = TRUE; switch ($id) { //version 11 case "SEP1100REUR": case "SEP1100RHDS": case "SEP1100RAUS": //$url = "http://www.netcontrol2.com/files/net1000r.exe"; //$url = "http://".$wbs.".netcontrol2.com/net1100r.exe"; $url = generatename($id, ".exe"); break; case "SEP1100PROEUR": case "SEP1100PROHDS": case "SEP1100PROAUS": //$url = "http://".$wbs.".netcontrol2.com/net1100pr.exe"; $url = generatename($id, ".exe"); break; case "SEP1100SCEUR": case "SEP1100SCHDS": case "SEP1100SCAUS": //$url = "http://".$wbs.".netcontrol2.com/net1100sc.exe"; $url = generatename($id, ".exe"); break; case "SEP1100SCCORP": $url = generatename($id, ".exe"); $url = "http://dl2.netcontrol2.com/net1100sccorp.exe"; break; case "SEP1100PEUR": case "SEP1100PHDS": case "SEP1100PAUS": //$url = "http://".$wbs.".netcontrol2.com/net1100pub.exe"; if ($cnt != "IN") $url = generatename($id, ".exe"); break; case "SMS1100REUR": case "SMS1100RHDS": case "SMS1100RAUS": //$url = "http://".$wbs.".netcontrol2.com/ns11.msi"; $url = generatename($id, ".msi"); break; case "SMS1100PROEUR": case "SMS1100PROHDS": case "SMS1100PROAUS": //$url = "http://".$wbs.".netcontrol2.com/mb1100pr.exe"; $url = generatename($id, ".exe"); break; case "SMB1100REUR": case "SMB1100RHDS": case "SMB1100RAUS": //$url = "http://".$wbs.".netcontrol2.com/mb1100r.exe"; $url = generatename($id, ".exe"); break; case "SEP1100RKZ": $url = "http://".$cloud."/net1100kz.exe"; break; case "SMT1100REUR": case "SMT1100RHDS": case "SMT1100RAUS": $url = "http://".$wbs.".netcontrol2.com/nt11std.msi"; $url = generatename($id, ".msi"); break; case "SMT1100PROEUR": case "SMT1100PROHDS": case "SMT1100PROAUS": $url = "http://".$wbs.".netcontrol2.com/nt11pro.msi"; $url = generatename($id, ".msi"); break; case "SDM1100REUR": case "SDM1100RHDS": case "SDM1100RAUS": $url = "http://dl2.netcontrol2.com/netctl-std.dmg"; break; case "SDM1100PROEUR": case "SDM1100PROHDS": case "SDM1100PROAUS": $url = "http://dl2.netcontrol2.com/netctl-pro.dmg"; break; //version 10 case "SEP1000REUR": case "SEP1000RHDS": case "SEP1000RAUS": //$url = "http://www.netcontrol2.com/files/net1000r.exe"; $url = "http://".$cloud."/net1000r_.exe"; $url = generatename($id, ".exe"); break; case "SEP1000PROEUR": case "SEP1000PROHDS": case "SEP1000PROAUS": $url = "http://".$cloud."/net1000pr.exe"; $url = generatename($id, ".exe"); break; case "SEP1000SCEUR": case "SEP1000SCHDS": case "SEP1000SCAUS": $url = "http://".$cloud."/net1000sc_.exe"; $url = generatename($id, ".exe"); break; case "SEP1000PEUR": case "SEP1000PHDS": case "SEP1000PAUS": $url = "http://www.netcontrol2.com/downloads"; break; case "SMS1000REUR": case "SMS1000RHDS": case "SMS1000RAUS": $url = "http://".$cloud."/ns10.msi"; $url = generatename($id, ".msi"); break; case "SMS1000PROEUR": case "SMS1000PROHDS": case "SMS1000PROAUS": $url = "http://".$cloud."/mb1000pr.exe"; $url = generatename($id, ".exe"); break; case "SEP1000RKZ": $url = "http://".$cloud."/net1000kz.exe"; break; case "SMT1000REUR": case "SMT1000RHDS": case "SMT1000RAUS": $url = "http://".$cloud."/nt10std.msi"; $url = generatename($id, ".msi"); break; case "SMT1000PROEUR": case "SMT1000PROHDS": case "SMT1000PROAUS": $url = "http://".$cloud."/nt10pro.msi"; $url = generatename($id, ".msi"); break; case "MX1000STDSTD": $url = "http://".$cloud."/ncstdstd.dmg"; break; case "MX1000STDPRO": $url = "http://".$cloud."/ncstdpro.dmg"; break; case "SEP900PROEUR": case "SEP900PROHDS": $url = "http://".$cloud."/net900pr_.exe"; $url = generatename($id, ".exe"); stinc(1); //$url = "http://www.netcontrol2.com/files/net900pr_.exe"; break; case "SEP900PROAUS": $url = "http://".$cloud."/net900praus.exe"; $url = generatename($id, ".exe"); stinc(1); break; case "SEP900RAUS": $url = "http://".$cloud."/net900raus.exe"; $url = generatename($id, ".exe"); stinc(2); break; case "SEP900REUR": case "SEP900RHDS": $url = "http://".$cloud."/net900r_.exe"; $url = generatename($id, ".exe"); stinc(2); //$url = "http://www.netcontrol2.com/files/net900r.exe"; break; case "SEP900PAUS": case "SEP900PEUR": case "SEP900PHDS": case "v9demoxml.exe": $url = "http://www.netcontrol2.com/downloads"; $nobot = false; stinc(3); //$url = "http://www.netcontrol2.com/files/net900pub.exe"; break; case "SMS900RAUS": case "SMS900REUR": case "SMS900RHDS": $url = "http://www.netcontrol2.com/files/ns9.msi"; $url = generatename($id, ".msi"); //$url = "http://".$cloud."/ns9.msi"; break; case "SMS900PROEUR": $url = "http://".$cloud."/mb900PROR.exe"; $url = generatename($id, ".exe"); // $url = "http://www.netcontrol2.com/files/mb900PROR.exe"; break; case "SMT900PROEUR": $url = "http://".$cloud."/ns9tchrPRO.msi"; $url = generatename($id, ".msi"); //$url = "http://www.netcontrol2.com/files/ns9tchrPRO.msi"; break; case "SEP900SCEUR": case "SEP900SCHDS": $url = "http://".$cloud."/net900sc_.exe"; $url = generatename($id, ".exe"); stinc(4); //$url = "http://www.netcontrol2.com/files/net900sc.exe"; break; case "SEP900SCAUS": $url = "http://".$cloud."/net900scaus.exe"; $url = generatename($id, ".exe"); stinc(4); break; case "GUIDE111ST": $url = "http://".$docscloud."/PART1-11-ST.pdf"; $nobot = false; break; case "GUIDE111PR": $url = "http://".$docscloud."/PART1-11-PR.pdf"; $nobot = false; break; case "GUIDE111SC": $url = "http://".$docscloud."/PART1-11-SC.pdf"; $nobot = false; break; case "GUIDE211ST": $url = "http://".$docscloud."/PART2-10-ST.pdf"; $nobot = false; break; case "GUIDE111ST-RU": $url = "http://".$docscloud."/PART1-11-ST-RU.pdf"; $nobot = false; break; case "GUIDE111PR-RU": $url = "http://".$docscloud."/PART1-11-PR-RU.pdf"; $nobot = false; break; case "GUIDE111SC-RU": $url = "http://".$docscloud."/PART1-11-SC-RU.pdf"; $nobot = false; break; case "GUIDE211ST-RU": $url = "http://".$docscloud."/PART2-11-ST-RU.pdf"; $nobot = false; break; case "GUIDE110ST": $url = "http://".$docscloud."/PART1-10-ST.pdf"; $nobot = false; break; case "GUIDE110PR": $url = "http://".$docscloud."/PART1-10-PR.pdf"; $nobot = false; break; case "GUIDE110SC": $url = "http://".$docscloud."/PART1-10-SC.pdf"; $nobot = false; break; case "GUIDE210ST": $url = "http://".$docscloud."/PART2-10-ST.pdf"; $nobot = false; break; case "GUIDE110ST-RU": case "GUIDE110STRU": $url = "http://".$docscloud."/PART1-10-ST-RU.pdf"; $nobot = false; break; case "GUIDE210ST-RU": case "GUIDE210STRU": $url = "http://".$docscloud."/PART2-10-ST-RU.pdf"; $nobot = false; break; case "GUIDE110MC": $url = "http://".$docscloud."/mobile.pdf"; $nobot = false; break; case "DOC1PDF.pdf": $url = "http://".$docscloud."/PART1-900.pdf"; $nobot = false; break; case "DOC2PDF.pdf": $url = "http://".$docscloud."/PART2-900.pdf"; $nobot = false; break; case "DOC3PDF.pdf": $url = "http://".$docscloud."/PART1-900-PRO.pdf"; $nobot = false; break; case "DOC4PDF.pdf": $url = "http://".$docscloud."/PART1-900-SC.pdf"; $nobot = false; break; case "232800.exe": $url = "http://www.netcontrol2.com/downloads"; $nobot = false; break; case "232700.exe": $url = "http://www.netcontrol2.com/downloads"; $nobot = false; break; case "232516.exe": $url = "http://www.netcontrol2.com/downloads"; $nobot = false; break; case "232600.exe": $url = "http://www.netcontrol2.com/downloads"; $nobot = false; break; case "232501.pdf": $url = "http://netcontrol2.com/files/nc2manual-p1.pdf"; break; case "232901.pdf": $url = "http://netcontrol2.com/files/nc2901.pdf"; break; case "232502.pdf": $url = "http://netcontrol2.com/files/nc2manual-p2.pdf"; break; case "233700.exe": case "232701.exe": case "232708.exe": case "232709.exe": case "241117.exe": case "256300.exe": case "256301.zip": case "256302.exe": case "811210.exe": $url = "http://www.netcontrol2.com/downloads"; $nobot = false; break; case "EC10FL": $expdate = intval((time()+7*60*60*24) / (60*60*24)); $sid ^= 0x832892; stinc(6); if (abs($expdate-$sid) <= 7) $url = "http://".$docscloud."/pctlfull.exe"; break; case "---.exe": $url = "NONE"; break; case "nc2client.adm": $url = "http://www.netcontrol2.com/files/nc2client.adm"; $nobot = false; break; case "nc2teacher.adm": $url = "http://www.netcontrol2.com/files/nc2teacher.adm"; $nobot = false; break; } if ($url!="NONE") { if ($nobot && _bot_detected()) { header('HTTP/1.0 404 Not Found'); echo "

404 Not Found

"; echo "The page that you have requested could not be found."; //file_put_contents("dlog.txt", date("d.m.y H:i:s", time()+60*60*3)." BOT!: ".$id." :: ".$_SERVER['REMOTE_ADDR']." :: ".$_SERVER['HTTP_USER_AGENT']." --\n", FILE_APPEND); } else { header("Location: ".$url); } die(); } else { if ($id!=""){ echo "Net Control 2 Download\n"; echo "

The download link you have used is not valid now.



\n"; echo "Actual download links you can find on our Downloads page:
"; echo "http://www.netcontrol2.com/downloads"; echo ""; } else { header("Location: http://www.netcontrol2.com"); } } ?>