forked from ltt2801/new-vinaget-script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
54 lines (51 loc) · 1.62 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
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/*
* New Vinaget by LTT
* Version: 3.3 LTS
* Based on Vinaget 2.7.0 Final Revision 94
* 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]
- LTT
*/
$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->ltt_version = file_get_contents("version.txt");
$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();