JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 14.03.2011, 11:28
shomu
Guest
 
Posts: n/a
Exclamation Uploaded.to problem

Uploaded.to is not working any more.
JDownloader does not login my account (which is valid). In addition JDownloader displays Links as offline, but the Files are definitely online (I checked by visiting Web-link).
The problem came over night. Yesterday everything was fine!

Last edited by Jiaz; 15.03.2011 at 09:55.
Reply With Quote
  #2  
Old 14.03.2011, 11:31
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,675
Default

we are working on it, uploaded changed their page
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 14.03.2011, 11:33
shomu
Guest
 
Posts: n/a
Default

Ah... I see. Thanks for the quick reply.
Reply With Quote
  #4  
Old 15.03.2011, 03:25
4nt4r3s
Guest
 
Posts: n/a
Default

hey jiaz

while coding the plugin you might have wondered why io/ticket/captcha/<fileid> does not return any content. (At least I guess that's why the update isnt out yet). Those bastards at ul.to have inserted null-bytes at the beginning of the content string(They do not like JD and other free-download tools, do they?). Some code like(WARNING - dirty C Code):

Code:
  while(1)
  {
    memset(&tmp, 0, sizeof(tmp));
    if(recv(s, tmp, sizeof(tmp)-1, 0))
    {
      for(ct=0; ct < 1000; ct++)
      {
        if(tmp[ct] == '\0')
        {
          tmp[ct] = ' ';
        }
      }
      printf("%s", tmp);  // <- ths will show the cleaned response containing
    }                          // <- the download link.
    if(strstr(tmp, "**External links are only visible to Support Staff**) != NULL)
      break;
  }
works for me. In this you see tmp which is char* of 1024 byte size. The uploaded.to server sends the whole response as one single chunk, so what I did was simply go through the first thousand bytes and convert all null-bytes to spaces. after that I check if the download link contains http(from the json string to the file download URL) and if so I break. NOTE: This code does not yet handle false captchas or download limits. You can do that yourself, so will I.

Hope this helps.

Edit: Here's some sample output after cleaning up the response:
Code:
HTTP/1.1 200 OK
Date: Tue, 15 Mar 2011 02:19:33 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2
X-Powered-By: PHP/5.2.6-1+lenny9
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 224
Connection: close
Content-Type: application/javascript; charset=ISO-8859-1

{type:'download',url:'**External links are only visible to Support Staff**}
url is the final download link, cookie handling is not neccessary for ul.to.

EDIT #2:
Here is some sample output for cases in which the Captcha was wrong. Typical JSON response...
Code:
HTTP/1.1 200 OK
Date: Tue, 15 Mar 2011 02:29:59 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2
X-Powered-By: PHP/5.2.6-1+lenny9
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 15
Connection: close
Content-Type: application/javascript; charset=ISO-8859-1

{err:"captcha"}

Last edited by 4nt4r3s; 15.03.2011 at 03:31. Reason: Added wrong captcha output.
Reply With Quote
  #5  
Old 15.03.2011, 09:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 62,675
Default

works absolut fine here, plugin update got released yesterday and all okay
__________________
JD-Dev & Server-Admin
Reply With Quote
  #6  
Old 15.03.2011, 13:33
4nt4r3s
Guest
 
Posts: n/a
Default

sry mate, just wanted to help ^^
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 20:17.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.