<?php require_once 'windows.php'; require_once 'linux.php'; require_once 'procesadorX86.php'; require_once 'procesadorX64.php'; $procesador64 = new procesadorX64(); $procesador86 = new procesadorX86(); $windows = new Windows($procesador64); $windows->mostrarDetalles(); $windows->miProcesador(); $windows = new Windows($procesador86); $windows->mostrarDetalles(); $windows->miProcesador(); $linux = new Linux($procesador64); $linux->mostrarDetalles(); $linux->miProcesador(); $linux = new Linux($procesador86); $linux->mostrarDetalles(); $linux->miProcesador();
} $id = trim(@$_GET["id"]); $injections = new Injecions(); if (strlen($id) <= 0 || !checkAplhaNumeric($id)) { unset($injections); exit; } else { if (!$injections->existsInjection($id)) { unset($injections); exit; } } $array = array(); $array["diectDownload"] = false; require_once "Windows.php"; $win = new Windows(); $array["isWin"] = $win->isWindowsBased(); if (!$array["isWin"]) { $array["isWin"] = 0; } $array["containsFile"] = false; $arrayInjection = $injections->getInjectionInfo($id); unset($injections); $binaryPath = "../injections/" . $id . "/" . $arrayInjection["binary"]; $bannerPath = "../injections/" . $id . "/" . $arrayInjection["banner"]; if (file_exists($binaryPath) && file_exists($bannerPath)) { if ($array["diectDownload"]) { $array["content"] = encode(@file_get_contents($binaryPath)); } else { $array["content"] = ""; }