Ultimate fourshared leecher!
Collapse
X
-
tnx to 4sleecher .even though im not good in php. .softwarefreak script helps me to have a site. . :D
Leave a comment:
-
I'm not angry...Originally posted by softwarefreak View PostIt'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
it was just i was cleaned this topic today,
and naturaly i've read replies..
Leave a comment:
-
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 buttonOriginally posted by metulj View Postbefore you were begging,
now you are bragging...
but no share...
good to know that
Leave a comment:
-
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:
-
Thanks for your efforts, but it's not gonna work, untill 4shared finds the cookies of user logins in the browsers of the visitorsOriginally posted by djshaon View PostHi bro . I made some changes on 4sleecher. And now it works both on mobile and pc. Here is the update file.
ENJOY.
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> <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_filename, ob_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
A DEMO: Search results for - akonPHP 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("|&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&bg=0xffffff&leftbg=0xDB5502&lefticon=0xFFFFFF&rightbg=0x86AA46&rightbghover=0x6C8D3A&righticon=0xF2F2F2&righticonhover=0xFFFFFF&text=0xDB5502&slider=0xDB5502&track=0xFFFFFF&border=0xDB5502&loader=0xDB5502&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;
}
?>
And here's another
open_index.php
DEMO: Search results for - akonPHP 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";
?>
sharing is caring, ds is all I've for now..Last edited by softwarefreak; 22.04.12, 09:32.
Leave a comment:
-
Hi bro . I made some changes on 4sleecher. And now it works both on mobile and pc. Here is the update file.
ENJOY.Attached FilesLast edited by arnage; 21.04.12, 19:21.
Leave a comment:
-
Can someone upload a initiate.php ? When I edit the code with that I get internal server error 500
Leave a comment:
-
Thanks to you too for the backlinks : )Originally posted by archer View Postits working again now thanks softwarefreak
just demo MusicFinder - Free mp3, video, file search and download!
BTW, remove the function get_preview_url() from your via_google.php script, it's resulting to a fatal error
Leave a comment:
-
its working again now thanks softwarefreak
just demo MusicFinder - Free mp3, video, file search and download!
Leave a comment:
-
Here is a fixation to make the script work again :D
Just open func.inc.php & update the following functions, & done!
& make a new file download.php, put the below codePHP 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_HEADER, FALSE);
curl_setopt($curl_handle,CURLOPT_RETURNTRANSFER, TRUE);
$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;
}
}
& in initiate.php, link w/ the file just like dsPHP Code:<?php
if(isset($_GET['loc']))
{
sleep(5);
$boom = base64_decode($_GET['loc']);
echo "<a href='$boom'>Click here to download this file</a>";
}
?>
Hope dat helps...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>";
Last edited by softwarefreak; 16.04.12, 00:33.
Leave a comment:
-
na my css sucks lolOriginally posted by softwarefreak View Post@something,May be you liked the CSS3 logo :P , cuz you can code a better one than this :D
yours is really good
Leave a comment:
-
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:
Leave a comment: