PHP/cURL to login to upload.net?

Status
Not open for further replies.

olli460

Active Member
243
2009
13
0
Hi,

Ive got a php script which logs into standard html login boxes but the uploaded.net login box is some kind of script, Anyone know if they have a standard login page or know of a way to use cURL to login to uploaded?

Can pay $5 to anyone who can help!

Thanks
 
Last edited:
2 comments
Hi,

Just make a POST request to 'http://uploaded.net/io/login' with following parameters.

Code:
id=your_id&pw=your_pass

That's it! you should receive a JSON response as '{loc:"me"}' if all went well.

Good luck :)
 
Just use these headers and grab the cookies from the response:
send the headers with curlopt httpheader setting
i have an invalid login just to show example, but if the login is correct there should be a setcookie line in the header
http://uploaded.net/io/login

POST /io/login HTTP/1.1
Host: uploaded.net
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.6.1
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: uploaded.net
Content-Length: 28
Cookie: PHPSESSID=712ebf62598cdef525997495206bb637
DNT: 1
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
id=testuser12345&pw=password <-------------------this your post variables
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 27 Nov 2013 10:37:44 GMT
Content-Type: application/javascript; charset=ISO-8859-1
Content-Length: 61
Connection: keep-alive
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
Vary: Accept-Encoding
Content-Encoding: gzip
if u need more help pm me and ill help u
 
Status
Not open for further replies.
Back
Top