Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //File Decoded by http://phpdecoder.wordpress.com/
- $filetypeaudl = 'HD';
- $_POST['realitykings'];
- $realitykings = '';
- if (isset( $_GET['audl'] )) {
- $realitykings = 'ok';
- }
- if ($realitykings == 'ok') {
- if (( ( ( $_GET['premium_acc'] == 'on' && $_GET['premium_user'] ) && $_GET['premium_pass'] ) || ( ( $_GET['premium_acc'] == 'on' && $premium_acc['realitykings']['user'] ) && $premium_acc['realitykings']['pass'] ) )) {
- $_GET['typefile'];
- $filetype = '';
- if (isset( $_GET['audl'] )) {
- $filetypeaudl;
- $filetype = '';
- }
- parse_url( 'http://members.realitykings.com/' );
- $Url = '';
- geturl( $Url['host'], ($Url['port'] ? $Url['port'] : 80), $Url['path'] . ($Url['query'] ? '?' . $Url['query'] : ''), 0, $cookie, 0, 0, $_GET['proxy'], $pauth );
- $page = '';
- is_page( $page );
- $cookie = GetCookies( $page ) . '; authe=1';
- parse_url( 'http://members.realitykings.com/' );
- $Url = '';
- $username = ($_GET['premium_user'] ? $_GET['premium_user'] : $premium_acc['realitykings']['user']);
- $password = ($_GET['premium_pass'] ? $_GET['premium_pass'] : $premium_acc['realitykings']['pass']);
- base64_encode( $username . ':' . $password );
- $auth = '';
- $post = array( );
- geturl( $Url['host'], ($Url['port'] ? $Url['port'] : 80), $Url['path'] . ($Url['query'] ? '?' . $Url['query'] : ''), 0, $cookie, 0, 0, $_GET['proxy'], $pauth, $auth );
- $page = '';
- is_page( $page );
- is_present( $page, '401 Unauthorized', 'Error logging in - are your logins correct?' . $username . ':' . $password );
- GetCookies( $page );
- $cookie = '';
- str_replace( 'auth=deleted; ', '', $cookie );
- $cookie = '';
- parse_url( $LINK );
- $Url = '';
- geturl( $Url['host'], ($Url['port'] ? $Url['port'] : 80), $Url['path'] . ($Url['query'] ? '?' . $Url['query'] : ''), 0, $cookie, 0, 0, $_GET['proxy'], $pauth, $auth );
- $page = '';
- is_page( $page );
- is_present( $page, 'This video is unavailable', 'Video not found' );
- if (stristr( $LINK, 'classic.realitykings.com' )) {
- if (stristr( $page, 'Full Video' )) {
- $linknext = cut_str( $page, 'Download/View Options', '</table>' ) . '</table>';
- cut_str( $linknext, 'class="odd"><a href="', '"' );
- $linkwmv = '';
- cut_str( $linknext, $linkwmv, 'full 1080p HD' );
- $linkmp4 = '';
- cut_str( $linkmp4, 'class="odd"><a href="', '"' );
- $linkmp4 = '';
- cut_str( $linknext, $linkmp4, 'Mobile (MP4)' );
- $link1080p = '';
- cut_str( $link1080p, 'class="odd"><a href="', '"' );
- $link1080p = '';
- cut_str( $linknext, $link1080p, '</table>' );
- $linkmobile = '';
- cut_str( $linkmobile, 'class="odd"><a href="', '"' );
- $linkmobile = '';
- if ($filetype == 'WMV') {
- $linkwmv;
- $linkdown = '';
- }
- else {
- if ($filetype == 'MP4') {
- $linkmp4;
- $linkdown = '';
- }
- else {
- if ($filetype == 'HD') {
- $link1080p;
- $linkdown = '';
- }
- else {
- $linkmobile;
- $linkdown = '';
- }
- }
- }
- }
- else {
- $linknext = cut_str( $page, '<p>Download This Movie</p>', '</table>' ) . '</div>';
- cut_str( $linknext, '<a href="', '"' );
- $linkwmv = '';
- cut_str( $linknext, $linkwmv, 'MPEG' );
- $linkmp4 = '';
- cut_str( $linkmp4, '<a href="', '"' );
- $linkmp4 = '';
- if ($filetype == 'WMV') {
- $linkwmv;
- $linkdown = '';
- }
- else {
- $linkmp4;
- $linkdown = '';
- }
- }
- }
- else {
- if (stristr( $LINK, 'members.realitykings.com' )) {
- if (stristr( $page, 'Full Video' )) {
- $linknext = cut_str( $page, 'Download/View Options', '</table>' ) . '</table>';
- cut_str( $linknext, 'class="odd"><a href="', '"' );
- $linkwmv = '';
- cut_str( $linknext, $linkwmv, 'full 1080p HD<' );
- $linkmp4 = '';
- cut_str( $linkmp4, 'class="odd"><a href="', '"' );
- $linkmp4 = '';
- cut_str( $linknext, $linkmp4, 'Mobile (MP4)' );
- $link1080p = '';
- cut_str( $link1080p, 'class="odd"><a href="', '"' );
- $link1080p = '';
- cut_str( $linknext, $link1080p, '</table>' );
- $linkmobile = '';
- cut_str( $linkmobile, 'class="odd"><a href="', '"' );
- $linkmobile = '';
- if ($filetype == 'WMV') {
- $linkwmv;
- $linkdown = '';
- }
- else {
- if ($filetype == 'MP4') {
- $linkmp4;
- $linkdown = '';
- }
- else {
- if ($filetype == 'HD') {
- $link1080p;
- $linkdown = '';
- }
- else {
- $linkmobile;
- $linkdown = '';
- }
- }
- }
- }
- else {
- $linknext = cut_str( $page, '<p>Download This Movie</p>', '</table>' ) . '</div>';
- cut_str( $linknext, '<a href="', '"' );
- $linkwmv = '';
- cut_str( $linknext, $linkwmv, 'MPEG' );
- $linkmp4 = '';
- cut_str( $linkmp4, '<a href="', '"' );
- $linkmp4 = '';
- if ($filetype == 'WMV') {
- $linkwmv;
- $linkdown = '';
- }
- else {
- $linkmp4;
- $linkdown = '';
- }
- }
- }
- else {
- $linknext = cut_str( $page, '<p>Download This Movie</p>', '</table>' ) . '</div>';
- cut_str( $linknext, '<a href="', '"' );
- $linkwmv = '';
- cut_str( $linknext, $linkwmv, 'MPEG' );
- $linkmp4 = '';
- cut_str( $linkmp4, '<a href="', '"' );
- $linkmp4 = '';
- if ($filetype == 'WMV') {
- $linkwmv;
- $linkdown = '';
- }
- else {
- $linkmp4;
- $linkdown = '';
- }
- }
- }
- if (!$linkdown) {
- html_error( 'Get link download error' );
- }
- $linkdown = 'http://' . $Url['host'] . $linkdown;
- parse_url( $linkdown );
- $Url = '';
- geturl( $Url['host'], ($Url['port'] ? $Url['port'] : 80), $Url['path'] . ($Url['query'] ? '?' . $Url['query'] : ''), 0, $cookie, 0, 0, $_GET['proxy'], $pauth, $auth );
- $page = '';
- is_page( $page );
- if (!preg_match( '%ocation: (.+)\r\n%', $page, $ref )) {
- html_error( 'Get download link error' );
- }
- $ref[1];
- $linkdown = '';
- parse_url( $linkdown );
- $Url = '';
- if (( function_exists( encrypt ) && $cookie != '' )) {
- encrypt( $cookie );
- $cookie = '';
- }
- basename( $Url['path'] );
- $FileName = '';
- insert_location( '' . $PHP_SELF . '?filename=' . urlencode( $FileName ) . '&host=' . $Url['host'] . '&port=' . urlencode( ($Url['port'] ? $Url['port'] : 80) ) . '&path=' . urlencode( $Url['path'] . ($Url['query'] ? '?' . $Url['query'] : '') ) . '&referer=' . urlencode( $Referer ) . '&cookie=' . urlencode( $cookie ) . '&email=' . ($_GET['domail'] ? $_GET['email'] : '') . '&partSize=' . ($_GET['split'] ? $_GET['partSize'] : '') . '&method=' . $_GET['method'] . '&proxy=' . ($_GET['useproxy'] ? $_GET['proxy'] : '') . '&saveto=' . $_GET['path'] . '&link=' . urlencode( $link ) . ($_GET['add_comment'] == 'on' ? '&comment=' . urlencode( $_GET['comment'] ) : '') . ($pauth ? '' . '&pauth=' . $pauth : '') . (isset( $_GET['audl'] ) ? '&audl=doum' : '') );
- return 1;
- }
- html_error( 'Sorry free download not support, pls add account premium to download' );
- return 1;
- }
- $username = ($_GET['premium_user'] ? $_GET['premium_user'] : '');
- $password = ($_GET['premium_pass'] ? $_GET['premium_pass'] : '');
- print '' . '<form method="post" action="' . $PHP_SELF . '">' . $nn;
- print '' . '<b>Please select type video you want download:</b><br>' . $nn;
- print '' . '<input name="link" value="' . $LINK . '" type="hidden">' . $nn;
- print '' . '<input name="referer" value="' . $referer . '" type="hidden">' . $nn;
- print '' . '<input name="realitykings" value="ok" type="hidden">' . $nn;
- print '' . '<input name="premium_acc" value="on" type="hidden">' . $nn;
- print '' . '<input name="premium_user" value="' . $username . '" type="hidden">' . $nn;
- print '' . '<input name="premium_pass" value="' . $password . '" type="hidden">' . $nn;
- print '<p><select size="1" name="typefile">
- <option value="WMV">WMV</option>
- <option value="MP4">MP4</option>
- <option value="HD">MP4 (H264) full 1080p HD</option>
- <option value="Mobile">Mobile (MP4) for iPod / PSP</option>
- </select></p>';
- print '<input name="submit" value="Next" type="submit"></form>';
- ?>
Add Comment
Please, Sign In to add comment