One Hat Cyber Team
Your IP :
216.73.217.131
Server IP :
185.33.55.30
Server :
Linux cl30.webspacecontrol.com 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
Server Software :
Apache
PHP Version :
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
sitepad
/
lib
/
View File Name :
sreq.php
<?php error_reporting(E_ALL); function inputsec($string){ //get_magic_quotes_gpc is depricated in php 7.4 if(version_compare(PHP_VERSION, '7.4', '<')){ if(!get_magic_quotes_gpc()){ $string = addslashes($string); }else{ $string = stripslashes($string); $string = addslashes($string); } }else{ $string = addslashes($string); } // This is to replace ` which can cause the command to be executed in exec() $string = str_replace('`', '\`', $string); return $string; } function softdie($txt){ $array = array(); $array['sreq'] = $GLOBALS['sreq']; $array['result'] = $txt; echo '<aefer>'.base64_encode(serialize($array)).'</aefer>';die(); } // First Delete yourself ! @unlink(__FILE__); // Do we need to rename the .htaccess back ? if(file_exists('soft_htaccess')){ @rename('soft_htaccess', '.htaccess'); } // The requirements $sreq = unserialize(base64_decode('[[[sreq]]]')); // Do we need to do any checking ? if(is_array($sreq)){ foreach($sreq as $k => $v){ if($v['type'] == 'function_exists'){ if(function_exists($v['name'])){ $sreq[$k]['result'] = 0; // Function exists }else{ $sreq[$k]['result'] = 1; // Error } } if($v['type'] == 'extension'){ if(extension_loaded($v['name'])){ $sreq[$k]['result'] = 0; // Extension loaded }else{ $sreq[$k]['result'] = 1; // Error } } if($v['type'] == 'version'){ if($v['check'] == 'mysql'){ // Need to do this } if($v['check'] == 'perl'){ // Need to do this } if($v['check'] == 'php'){ $sreq[$k]['result'] = phpversion(); // Dump the PHP version } } } } set_time_limit(0); softdie('DONE'); ?>