Quote Originally Posted by musa View Post
your co-worker did not responded to my pm./

anyway.

fuck about your shit "secrets", here it is, to sum up:

1) cURL login and form and parse the output to get the download link and the member cookie:
curl_setopt($ch, CURLOPT_COOKIEFILE, "the_cookie.txt");

2) open a socket on the download link,:
$fp = @fsockopen($host, $port, $errno, $errstr, 3);
3) putting the right headers/cookies in it:
fputs($fp, $your_headers);
including cookie:
$your_headers .= "Cookie: PHPSESSID=".$session."; key=".$var."\r\n";
(you can read the cookie's keys/values preg_match()'ing from the cookie.txt)
4) then output the stream to the visitor:
while (!feof($sock)){
echo fread($sock, 8192);
}
fclose($sock);



kthxba?

mfw those who know don't respond to my pm -->
mfw i post the response here --> x'D

sry for my bad english

case closed.
It is weird though, you used many bad words in your reply, was my reply really that heart piercing? because actually, I am telling you in a professional way and even signed up for you just to give you answer. So, just to tell you, this is really not what I expected from a person who ask for an answer. I even tried my best to help you because I know, I've been at your place last time. If i'm wrong, then correct me but this will be the last time I will reply to this thread. Thank you.

Quote Originally Posted by Robin H View Post
Great to have a new useful member!
Haha, thank you.
PyroStrex Reviewed by PyroStrex on . how to curl and proxy download hey, i would like to know how this ( shimory DOT com ) works TECHNICALLY. i suppose first layer is cURL in order to grab the cookie and the downloading link (like http//srv43.fil3s0n1c.com/ef4888/dfeee/file.zip). but HOW is it possible to make the visitor download the file INSTANTLY (shimory does not even grabs the file through like wget() but deservs it immediatly to the visitor, kind of proxy, with a link like http://serv02.sh1m0ry.com/yourfiledearvisitor.zip). i would like to know how to Rating: 5