forked from giaythuytinh176/vinaget-script
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
42 lines (42 loc) · 1.51 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
/*
* Home page: http://vinaget.us
* Blog: http://blog.vinaget.us
* Script Name: Vinaget
* Version: 2.7.0 Final
* Description:
- Vinaget is script generator premium link that allows you to download files instantly and at the best of your Internet speed.
- Vinaget is your personal proxy host protecting your real IP to download files hosted on hosters like RapidShare, megaupload, hotfile...
- You can now download files with full resume support from filehosts using download managers like IDM etc
- Vinaget is a Free Open Source, supported by a growing community.
* Code LeechViet by VinhNhaTrang
* Developed by - ..:: [H] ::..
- [FZ]
*/
$using = isset($_COOKIE['using']) ? $_COOKIE['using'] : 'default';
$using = isset($_REQUEST['using']) ? $_REQUEST['using'] : $using;
setcookie('using', $using);
ob_start();
ob_implicit_flush(TRUE);
ignore_user_abort(0);
if (!ini_get('safe_mode')) set_time_limit(30);
define('vinaget', 'yes');
require_once('class.php');
$obj = new stream_get();
$obj->using = $using;
$obj->current_version = 94;
$obj->msg = false;
if (!empty($_COOKIE['msg'])) $obj->msg = htmlspecialchars($_COOKIE['msg']);
setcookie('msg', '');
$host = $obj->list_host;
$skin = "skin/{$obj->skin}";
error_reporting($obj->display_error ? E_ALL : 0);
if ($obj->Deny == false){
require_once("{$skin}/function.php");
if (isset($_POST['urllist'])) $obj->main();
elseif (isset($_GET['infosv'])) showStat();
elseif (!isset($_POST['urllist'])) include("{$skin}/index.php");
}
else include("{$skin}/login.php");
ob_end_flush();
?>