-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced old getSize functions from upload methods, should fix #82
Revised upload.php, now proxy and pauth should be available on plugins and small changes related to auul Updated and added some plugins
- Loading branch information
Showing
9 changed files
with
125 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
|
||
if (!defined('RAPIDLEECH')) { | ||
require_once('index.html'); | ||
exit(); | ||
} | ||
|
||
if (!file_exists(HOST_DIR . 'download/GenericXFS_DL.php')) html_error('Cannot load "'.htmlentities(HOST_DIR).'download/GenericXFS_DL.php" (File doesn\'t exists)'); | ||
require_once(HOST_DIR . 'download/GenericXFS_DL.php'); | ||
|
||
class rapidrar_com extends GenericXFS_DL { | ||
public $pluginVer = 22; | ||
public function Download($link) { | ||
$this->wwwDomain = false; // Switch to true if filehost forces it's domain with www. | ||
$this->cname = 'xfss'; // Session cookie name | ||
$this->httpsOnly = true; // Force https on all the site, supersedes $this->sslLogin when true | ||
$this->sslLogin = false; // Force https on login post only. | ||
$this->embedDL = false; // Try to unpack player's js for finding download link. (Only hosts with video player) | ||
$this->unescaper = false; // Enable JS unescape decoder | ||
|
||
$this->Start($link); | ||
} | ||
|
||
protected function FreeDL($step = 1) { | ||
// Hacky Trick :P | ||
if ($step == 1) { | ||
$this->page = $this->GetPage($this->link, $this->cookie, array('op' => 'download1', 'id' => $this->fid, 'method_free' => 'Free%20Download')); | ||
$this->cookie = GetCookiesArr($this->page, $this->cookie); | ||
$step++; | ||
} | ||
return parent::FreeDL($step); | ||
} | ||
} | ||
|
||
// Written by Th3-822. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
$upload_services[] = 'katfile.com'; | ||
$max_file_size['katfile.com'] = 2048; // Filesize limit (MB) | ||
$page_upload['katfile.com'] = 'katfile.com.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
if (!defined('RAPIDLEECH')) exit; | ||
$_T8 = array('v' => 9); // Version of this config file. (Do Not Edit) | ||
|
||
/* # Plugin's Settings # */ | ||
$_T8['domain'] = 'katfile.com'; // May require the www. (Check first if the site adds the www.). | ||
$_T8['anonUploadDisable'] = false; // Disallow non-registered users upload. (XFS Pro) | ||
$_T8['anonUploadLimit'] = 0; // File-size limit for non-registered users (MB) | 0 = Plugin's limit | (XFS Pro) | ||
|
||
// Advanced Settings (Don't edit it unless you know what are you doing) | ||
$_T8['port'] = 80; // Server's port, default: 80 | 443 = https. | ||
$_T8['xfsFree'] = false; // Change to true if the host is using XFS free. | ||
$_T8['path'] = '/'; // URL path to XFS script, default: '/' | ||
$_T8['sslLogin'] = true; // Force https on login. | ||
$_T8['opUploadName'] = 'upload'; // Custom ?op=value for checking upload page, default: 'upload' | ||
$_T8['flashUpload'] = false; // Forces the use of flash upload method... Also filename for .cgi if it's a non empty string. (XFS Pro) | ||
|
||
$acc_key_name = str_ireplace(array('www.', '.'), array('', '_'), $_T8['domain']); // (Do Not Edit) | ||
|
||
/* # Account Info # */ | ||
$upload_acc[$acc_key_name]['user'] = ''; //Set your login | ||
$upload_acc[$acc_key_name]['pass'] = ''; //Set your password | ||
|
||
if (!file_exists(HOST_DIR . 'upload/GenericXFSHost.inc.php')) html_error('Cannot load "'.htmlentities(HOST_DIR).'upload/GenericXFSHost.inc.php" (File doesn\'t exists), please install lastest version from: http://rapidleech.com/forum/viewtopic.php?f=17&t=80 or http://pastebin.com/E0z7qMU1 '); | ||
require(HOST_DIR . 'upload/GenericXFSHost.inc.php'); | ||
|
||
// Written by Th3-822 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,4 @@ | ||
<?php | ||
$upload_services[]="mediafire.com_member"; | ||
$max_file_size["mediafire.com_member"]=200; | ||
$page_upload["mediafire.com_member"] = "mediafire.com_member.php"; | ||
|
||
/******************mediafire.com****************************\ | ||
mediafire.com Member Upload Plugin | ||
WRITTEN by Raj Malhotra on 06 Feb 2011 | ||
\******************mediafire.com****************************/ | ||
?> | ||
$upload_services[] = 'mediafire.com_member'; | ||
$max_file_size['mediafire.com_member'] = 20480; | ||
$page_upload['mediafire.com_member'] = 'mediafire.com_member.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters