Вход Регистрация
Файл: accmarket.net/hack.php
Строк: 28
<?php

 define
('_ON_CMS', 1);
$rootpath = '';
require_once 
'includes/start.php';
require_once 
'includes/function.php';
require_once 
'includes/header.php';

$signs = 999;
function 
gettime()
{
    
$part_time = explode(' ', microtime());
    
$real_time = $part_time[1] . substr($part_time[0], 1);
    return 
$real_time;
}

$start = gettime();

$log = file('hack.dat');
$log = array_reverse($log);
$text = implode('', $log);
$string = mb_substr($text, $n, $signs, 'UTF8');
$m = $n + $signs;
if (!empty(
$string))
{
echo 
$string;
} else {
echo 
'(Логи чисты!)';
}
if (
$string != '') {
echo 
'<br/><a href="hack.php?'.$wp.'&amp;n='.$m.'">Next>></a><br/>';
}

echo 
'<br/><a href="hack.php?'.$wp.'&amp;clean">Чистка логов!</a><br/>';

if (isset(
$_GET['clean'])) {
$fp = fopen('hack.dat', 'w');
fclose($fp);
echo 
'Логи ощичены!<br/>';
}

require_once 
'includes/footer.php';     

?>
Онлайн: 1
Реклама