MINI
C:
/
SiakApp
/
web
/
Upload File:
files >> C:/SiakApp/web/index.php
<?php /*$ComputerName="."; $classname="Win32_Processor"; try { $WBEMObject = new COM("winmgmts:\\\\{$ComputerName}\\root\\cimv2"); $objWBEM = $WBEMObject->Get($classname); $objProp = $objWBEM->Properties_; $objWBEMCol = $WBEMObject->InstancesOf($classname); $data = array(); foreach($objWBEMCol as $objItem) { $data[]=$objItem; } $key=$data[0]->ProcessorId; for($i=0;$i<5;$i++) $key=base64_encode($key); $mytemp = getcwd()."/wni.txt"; $key_f = file_get_contents($mytemp); if($key!=$key_f){ include "error.php"; exit; } } catch(Exception $e) { echo $e->message; exit; } */ define('SF_ROOT_DIR', dirname(__FILE__).'/..'); define('SIAK_ROOT_INCLUDE', dirname(__FILE__).'/../apps/ddn/lib/'); /* define('SF_APP', 'frontend'); define('SF_ENVIRONMENT', 'prod'); define('SF_DEBUG', true); */ require_once(dirname(__FILE__).'/../config/ProjectConfiguration.class.php'); $configuration = ProjectConfiguration::getApplicationConfiguration('ddn', 'prod', true); //dev||prod sfContext::createInstance($configuration)->dispatch(); ?>
Copyright ©2021 || Defacer Indonesia