You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
471 B
22 lines
471 B
10 years ago
|
<?php
|
||
|
usleep(100000);
|
||
|
include_once('param.php');
|
||
|
?>
|
||
|
<!DOCTYPE html>
|
||
|
<html><head><title>CKPool</title><meta content='text/html; charset=iso-8859-1' http-equiv='Content-Type'></head><body>
|
||
|
<?php
|
||
|
function go()
|
||
|
{
|
||
|
$a = getparam('a', true);
|
||
|
if (substr($a, 0, 1) != '1')
|
||
|
return;
|
||
|
if (preg_match('/^[a-zA-Z0-9]{24,}[\._]?[a-zA-Z0-9\._]*$/', $a) === false)
|
||
|
return;
|
||
|
$sta = "../pool/workers/$a";
|
||
|
if (file_exists($sta))
|
||
|
echo file_get_contents($sta);
|
||
|
}
|
||
|
go();
|
||
|
?>
|
||
|
</body></html>
|