Ultimate fourshared leecher!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • djshaon
    replied
    bt how. tell us

    Leave a comment:


  • ukitero
    replied
    tnx to 4sleecher .even though im not good in php. .softwarefreak script helps me to have a site. . :D

    Leave a comment:


  • metulj
    replied
    Originally posted by softwarefreak View Post
    It's coool, don't get angry, its just a html form code of 4shared login, with you user id & pass in hidden fields, so dat 4shared injects the cookies when they hit the button
    I'm not angry...
    it was just i was cleaned this topic today,
    and naturaly i've read replies..

    Leave a comment:


  • softwarefreak
    replied
    Originally posted by metulj View Post
    before you were begging,
    now you are bragging...
    but no share...
    good to know that
    It's coool, don't get angry, its just a html form code of 4shared login, with you user id & pass in hidden fields, so dat 4shared injects the cookies when they hit the button

    Leave a comment:


  • metulj
    replied
    Originally posted by Macneth View Post
    lol i cant fixed it by myself so i find a way my visitors still download the files hehe..btw thanks bro..
    before you were begging,
    now you are bragging...
    but no share...
    good to know that

    Leave a comment:


  • Macneth
    replied
    lol i cant fixed it by myself so i find a way my visitors still download the files hehe..btw thanks bro..

    Leave a comment:


  • softwarefreak
    replied
    Originally posted by djshaon View Post
    Hi bro . I made some changes on 4sleecher. And now it works both on mobile and pc. Here is the update file.

    ENJOY.
    Thanks for your efforts, but it's not gonna work, untill 4shared finds the cookies of user logins in the browsers of the visitors

    macneth is one way forward w/ a login button LOL

    Added after 8 minutes:

    Here is a via_google_v2 script for downloading latest mp3s w/ your site name
    PHP Code:
    <?php
    /*
    4sleecher v1.0
    (c)softwarefreak
    contact@softwarefreak.in
    */
    define("SF_IN_TEMP"FALSE);
    require_once 
    "func.inc.php";
    if(isset(
    $_GET['q']))
    {
    $q trim($_GET['q']);
    $q clear_mess($q);

    }

    else

    {
        
    $q "";
    }
    $title "Search results for - $q";
    require_once 
    "head.php";
    //the file that was saved in the cache folder or the file to be saved
     
    $cache_filename 'cache/'.md5($_SERVER['REQUEST_URI']);
    //if,it exists,lets include it & save the resource
     
    if(load_cache(0$cache_filename))
    {
    require_once 
    $cache_filename;
    }
    else
    {

    if(isset(
    $_GET['p']) && $_GET['p'] != "" && $_GET['p'] > 0)
    {
        
    $p = (int)$_GET['p'];
    }
    else
    {
    $p 0;
    }
    $start $p*10;
    $query str_replace(" ""+"$q);
    $url "http://www.google.com/cse?as_q=site:fisierulmeu.ro+download+$query+mp3&start=$start&filter=0";
    $file fetch_url($url);
    //print_r($file);
    $no_match preg_match("/Your search(.*)did not match any documents/i"$file$matches);
    ob_start();

    if(
    $no_match)
    {
        echo 
    '<div class="links"><img src="delete.png" style="float:left;margin-right:5px;"/>No search results were found, please try with a different keyword...</div>';
        
    $spell preg_match('/Did you mean:/'$file);
        if(
    $spell)
        {
            
    $suggest preg_match('/<b><i>(.*)<\/i><\/b>/i'$file$suggestion);
            if(
    $suggest)
            {
                
    $correct strip_tags(trim(strtoupper($suggestion[1])));
        echo 
    '<div class="sub"><img src="cp.png" style="float:left;margin-right:5px;"/>Did you mean? <a href="xml_api.php?q='.$correct.'"><font color="red">'.$correct.'</font></a></div>';
            }
        }
    }
    else
    {
    $pattern '/<td nowrap align="right"><font size="-1">Results(.*)from/i';
    $match preg_match($pattern$file$m);
    //print_r($m);
    if($match)
    {
    $num explode("<b>"$m[1]);
    $total str_ireplace("</b> of about"""$num[2]);
    $total str_ireplace("of """$total);
    $page str_ireplace("</b>"""$num[3]);
    $page str_replace(","""$page);
    $page str_ireplace("from"""$page);
    $page str_ireplace(" """$page);
    {
    $chunk explode('<a class="l" href="'$file);
    $pages count($chunk);
    echo 
    '<div class="header"><img src="next.png" style="float:left;margin-right:5px;"/>Search results for - '.strtoupper($q).' (files found - '.$page.')</div>';
    include(
    'simple_html_dom.php');
    $html str_get_html($file);

    foreach(
    $html->find('a[class=l]') as $e
    {
        
    $e->plaintext preg_replace('/\[?(www\.)?FisierulMeu\.ro\]?/i'''$e->plaintext);
        
    $e->plaintext str_ireplace('download '''$e->plaintext);
        
    $e->plaintext str_ireplace(' ...'''$e->plaintext);
        
    $e->plaintext str_ireplace(' -'''$e->plaintext);
        
    $e->href str_ireplace('http://fisierulmeu.ro/'''$e->href);
        echo 
    "<div class='links'><a href='int.php?file=".base64_encode($e->href)."'><img src=\"ico/mp3.png\" style=\"float:left;margin-right:5px;\"/>".$e->plaintext;
    echo 
    "</div>";
    }
    $html->clear(); 
    unset(
    $html);
    echo 
    '<div class="header"><a href="?q='.$q.'&p='.($p-1).'"><button class="navbutton">Prev</button></a>&nbsp;<a href="?q='.$q.'&p='.($p+1).'"><button class="navbutton">Next</button></a></div>';
    }
    }
    else
    {
        echo 
    '<div class="links"><img src="delete.png" style="float:left;margin-right:5px;"/>No search results were found, please try with a different keyword...</div>';
    }
    }
    //grab the buffer, & save it to a file for caching
    file_put_contents($cache_filenameob_get_contents());  
    ob_end_flush();
    //flush the current buffer output
    }
    require_once 
    'all_about_music.php';
    require_once 
    'last_search.php';
    require_once 
    'extra.inc.php';
    require_once 
    "foot.php";
    /*
    4sleecher v1.0
    (c)softwarefreak
    contact@softwarefreak.in
    */
    ?>

    & make another file int.php
    PHP Code:
    <?php
    /*
    4sleecher v1.0
    (c)softwarefreak
    contact@softwarefreak.in
    */

    require_once "func.inc.php";
    $url 'http://fisierulmeu.ro/'.base64_decode($_GET['file']);
    $fetch fetch_url($url);
    $match preg_match("|&amp;soundFile=http://(.*?)'>|is"$fetch$matches);
    if(
    $match)
    {
    $dl $matches[1];
    $dl str_ireplace('www.fisierulmeu.ro''www.softwarefreak.in'$dl);
    $dl "http://".$dl;
    ?>
    <html>
    <body>
    <?php
    echo '
    <center><h1 style="color: #808080;font-family: Tahoma, Arial, Verdana;font-weight: bold;">Music preview</h1>
            <script language="JavaScript" src="http://fisierulmeu.ro/player/audio-player.js"></script>
            <object type="application/x-shockwave-flash" data="http://fisierulmeu.ro/player/player.swf" id="audioplayer1" height="24" width="290">
            <param name="movie" value="http://fisierulmeu.ro/player/player.swf">
            <param name="FlashVars" value=\'playerID=1&amp;bg=0xffffff&amp;leftbg=0xDB5502&amp;lefticon=0xFFFFFF&amp;rightbg=0x86AA46&amp;rightbghover=0x6C8D3A&amp;righticon=0xF2F2F2&amp;righticonhover=0xFFFFFF&amp;text=0xDB5502&amp;slider=0xDB5502&amp;track=0xFFFFFF&amp;border=0xDB5502&amp;loader=0xDB5502&amp;soundFile='
    .$dl.'\'>
            <param name="quality" value="high">
            <param name="menu" value="false">
            <param name="wmode" value="transparent">
            </object><br /><br />'
    ;
       
       echo 
    "<a href='$dl' style='color: #808080;font-family: Tahoma, Arial, Verdana;font-weight: bold;font-size: 15px;'>Click here to download this file</a></center>";
        
    ?>
       </body>
    </html>
        <?php
    }
    else
    {
    header("Location: 404.php");

    exit;
    }

    ?>
    A DEMO: Search results for - akon

    And here's another

    open_index.php
    PHP Code:
    <?php
    error_reporting
    (0);
    define("SF_IN_TEMP"FALSE);

    if(isset (
    $_GET['q']))
    {
     
    $q strip_tags(trim(str_replace(' ''+'$_GET['q'])));
     }
     else
     {
     
    $q "akon";
     }
     
    $title "Search results for - $q";
    require_once 
    'head.php';
    include_once(
    'simple_html_dom.php');
    $file file_get_contents("http://openwebindex.com/mp3/$q/");
    if(!empty(
    $file))
    {
    $html str_get_html($file);
    $count count($html->find('a[title]'));

    echo 
    '<div class="header"><img src="'.ROOT.'next.png" style="float:left;margin-right:5px;"/>Related files (found in public domains)</div>';
    for (
    $i=1$i $count$i++)
     { 

    echo 
    "<div class='links'><img src=\"".ROOT."ico/mp3.png\" style=\"float:left;margin-right:5px;\"/>".$html->find('a[title]'$i)."</div>";
    }
    }

    $html->clear(); 
    unset(
    $html);

    require_once 
    'all_about_music.php';
    require_once 
    'last_search.php';
    require_once 
    "foot.php";
    ?>
    DEMO: Search results for - akon

    sharing is caring, ds is all I've for now..
    Last edited by softwarefreak; 22.04.12, 09:32.

    Leave a comment:


  • djshaon
    replied
    Hi bro . I made some changes on 4sleecher. And now it works both on mobile and pc. Here is the update file.

    ENJOY.
    Attached Files
    Last edited by arnage; 21.04.12, 19:21.

    Leave a comment:


  • laro696
    replied
    Can someone upload a initiate.php ? When I edit the code with that I get internal server error 500

    Leave a comment:


  • softwarefreak
    replied
    Originally posted by archer View Post
    its working again now thanks softwarefreak
    just demo MusicFinder - Free mp3, video, file search and download!
    Thanks to you too for the backlinks : )

    BTW, remove the function get_preview_url() from your via_google.php script, it's resulting to a fatal error

    Leave a comment:


  • archer
    replied
    its working again now thanks softwarefreak
    just demo MusicFinder - Free mp3, video, file search and download!

    Leave a comment:


  • softwarefreak
    replied
    Here is a fixation to make the script work again :D
    Just open func.inc.php & update the following functions, & done!

    PHP Code:
    function get_file_name($file)
    {
        
    $pattern '|<span id="fileNameTextSpan">(.*?)</span>|is';
        
    $match preg_match($pattern$file$matches);
        if(
    $match)
        {
                    return 
    $matches[1];
        }
        else
        {
            return 
    "unknown";
        }
    }
    function 
    get_file_size($file)
    {
    $pattern '|<span title="Size: (.*?)"><b>|is';
    $match preg_match($pattern$file$matches);
    if(
    $match)
    {
        return 
    $matches[1];
    }
    else
    {
        return 
    "unknown";
    }
        
    }
    function 
    fetch_url($url)
    {
    $ua "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.152 Safari/535.19";
    $curl_handle curl_init();
    curl_setopt($curl_handle,CURLOPT_URL,$url);
    //curl_setopt($curl_handle,CURLOPT_CONNECTTIMEOUT,5);
    curl_setopt($curl_handle,CURLOPT_USERAGENT$ua);
    //curl_setopt($curl_handle,CURLOPT_FRESH_CONNECT, TRUE);
    curl_setopt($curl_handle,CURLOPT_REFERER"http://www.google.com");
    curl_setopt($curl_handle,CURLOPT_HEADERFALSE);
    curl_setopt($curl_handle,CURLOPT_RETURNTRANSFERTRUE);
    $fetch curl_exec($curl_handle);
    curl_close($curl_handle);
    return 
    $fetch;
    }
    function 
    get_download_url($file)
    {
        
    $match preg_match('|count="false"(.*?)href="(.*?)"></g:plusone>|is'$file$matches);
    if(
    $match)
    {
        return 
    $matches[2];
    }
    else
    {
        return 
    FALSE;
        
    }

    & make a new file download.php, put the below code

    PHP Code:
    <?php
    if(isset($_GET['loc']))
    {
    sleep(5);
    $boom base64_decode($_GET['loc']);
    echo 
    "<a href='$boom'>Click here to download this file</a>";
    }
    ?>
    & in initiate.php, link w/ the file just like ds

    PHP Code:
    echo "<div class='header'><a href='/download.php?loc=".base64_encode($download_url)."' class='navbutton' style='padding:5px;display: block;width: 129px;height: 15px;font-size: 12px;' title='Click to download this file'>Download this file</a></div>"
    Hope dat helps...
    Last edited by softwarefreak; 16.04.12, 00:33.

    Leave a comment:


  • Macneth
    replied
    working now...thanks bro...but the edited via_google.php has not have preview
    Last edited by Macneth; 07.04.12, 06:49.

    Leave a comment:


  • something else
    replied
    Originally posted by softwarefreak View Post
    @something,May be you liked the CSS3 logo :P , cuz you can code a better one than this :D
    na my css sucks lol

    yours is really good

    Leave a comment:


  • iwa
    replied
    How to show flash player in result search via_google.php

    Can help me to show flash player in result search via_google.php

    Leave a comment:

Working...