Blockland Forums > Modification Help
Revenge of the TCP object [Solved]
<< < (12/16) > >>
Lugnut:

--- Quote from: Kalphiter on May 08, 2012, 12:42:13 PM ---Still says what?

Try adding the host field, it would be "Host: dl.dropbox.com\r\n"

--- End quote ---
here?
ColorSetMaker_Downloader.connect("dl.dropbox.com:80");
no it wouldn't?

try changing
%req = "GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1\r\n";
to
%req = "GET u/74047590/ColorSetMaker_Version.txt HTTP/1.1\r\n";
Kalphiter:
Lugnut, that is incorrect. He must try what I did first.
jes00:

--- Quote from: Kalphiter on May 08, 2012, 12:50:53 PM ---Lugnut, that is incorrect. He must try what I did first.

--- End quote ---
Result:
1:
2:
3: 8369
4:
1:
2:
3: 8369
4: <html>
1:
2:
3: 8369
4: <head><title>Dropbox - 4xx</title>
1:
2:
3: 8369
4: <link href="https://www.dropbox.com/static/css/main.css" rel="stylesheet" type="text/css">
1:
2:
3: 8369
4: <link rel="shortcut icon" href="/static/images/favicon.ico"/>
1:
2:
3: 8369
4: </head>
1:
2:
3: 8369
4: <body style="background-color:#fff">
1:
2:
3: 8369
4: <br/><br/>
1:
2:
3: 8369
4: <div align="center">
1:
2:
3: 8369
4: <table><tr><td width="600px">
1:
2:
3: 8369
4: <center><img id="errorimage" src="/static/images/psychobox.png"/></center>
1:
2:
3: 8369
4: <div id="errorbox">
1: you're
2: y
3: 8369
4: <h1>Error (4xx)</h1>We can't find the page you're looking for. Check out our <a href="https://www.dropbox.com/help">Help Center</a> and <a href="http://forums.dropbox.com">forums</a> for help, or head back to <a href="https://www.dropbox.com/home">home</a>.
1:
2:
3: 8369
4: </div>
1:
2:
3: 8369
4: </td></tr></table>
1:
2:
3: 8369
4: </div>
1:
2:
3: 8369
4:
1:
2:
3: 8369
4: <script type="text/javascript" src="/static/javascript/external/dropbox-mini.js"></script>
1:
2:
3: 8369
4: <script>
Kalphiter:
Do this for the request, each line is an \r\n

--- Code: ---GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1
Host: dl.dropbox.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
If-None-Match: 23n
--- End code ---

Make sure the request ends in \r\n\r\n

When it works, you're going to remove some fields to see which you don't need.
jes00:

--- Quote from: Kalphiter on May 08, 2012, 01:05:25 PM ---Do this for the request, each line is an \r\n

--- Code: ---GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1
Host: dl.dropbox.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Connection: keep-alive
If-None-Match: 23n
--- End code ---

Make sure the request ends in \r\n\r\n

When it works, you're going to remove some fields to see which you don't need.

--- End quote ---
Like this?

--- Code: ---%req = "GET /u/74047590/ColorSetMaker_Version.txt HTTP/1.1\r\n Host: dl.dropbox.com\r\n User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0\r\n Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\n Accept-Language: en-us,en;q=0.5\r\n Connection: keep-alive\r\n If-None-Match: 23n\r\n\r\n";

--- End code ---
Navigation
Message Index
Next page
Previous page

Go to full version