Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
Hm... have one idea what could be.
Because you delete header and then adding new one, Host header is last one.
Your proxy probably check first one for Host...
Will try to force that Host is first one or check how you do this in script.
Original comment by supp.san...@gmail.com
on 3 Apr 2014 at 7:01
Instead of
//////////////
if (request != null){
result = false;
intercept_response = false;
request.deleteHeader("Host");
request.addHeader("Host", "host-value");
}
//////////////////
you can try with
///////////////////
if (request != null){
request.setHeader("Host", "host-value");
}
//////////////////
Original comment by supp.san...@gmail.com
on 3 Apr 2014 at 7:18
this make more sense, but same result.
Original comment by labess...@gmail.com
on 4 Apr 2014 at 1:12
bummer
now will look with wireshark byte by byte what is different
the last one is to came to your country and tested myself :)
Original comment by supp.san...@gmail.com
on 4 Apr 2014 at 5:07
Maybe may not be a problem in sandroproxy. Because when connecting vpn
happening same problem. When I wrote operator proxy does not connect directly
but connecting with proxy server applications. Connecting directly with tg http
and similar programs in Windows. I do not understand much.
Original comment by labess...@gmail.com
on 4 Apr 2014 at 6:15
Looked byte by byte and request are identical. If goes just by SandroProxy or
SandroProxy and com.icecoldapps.proxyserver
So far I presume that if com.icecoldapps.proxyserver is involved then works.
Original comment by supp.san...@gmail.com
on 4 Apr 2014 at 6:24
[deleted comment]
[deleted comment]
it does not add to the front. it changed with my value.
Original comment by labess...@gmail.com
on 5 Apr 2014 at 3:07
Can you try with some more common append
for example
HttpUrl newUrl = new HttpUrl("http://www.myvalue.com/test?param=1");
Original comment by supp.san...@gmail.com
on 5 Apr 2014 at 3:20
[deleted comment]
Something like this
HttpUrl oldone = request.getURL();
HttpUrl newOne = new HttpUrl(oldone.toString() + "/test?param=1");
request.setURL(newOne);
Original comment by supp.san...@gmail.com
on 5 Apr 2014 at 5:18
yes very good for back method. is it possible to pre?
HttpUrl oldone = request.getURL();
HttpUrl newOne = new HttpUrl("/test?param=1" + oldone.toString());
request.setURL(newOne);
Original comment by labess...@gmail.com
on 5 Apr 2014 at 5:34
Yes,
But with more logic to write
http://code.google.com/p/sandrop/source/browse/projects/SandroProxyLib/src/org/s
androp/webscarab/model/HttpUrl.java
HttpUrl oldone = request.getURL();
StringBuffer buff = new StringBuffer();
buff.append(_oldone.getHost()).append(":").append(__oldone.getPort());
HttpUrl newOne = new HttpUrl("http://www.example.com@" +
oldone.direct(buff).toString());
request.setURL(newOne);
Original comment by supp.san...@gmail.com
on 5 Apr 2014 at 6:03
Yes, thank you very much. You're so good thanks for the help.
Original comment by labess...@gmail.com
on 5 Apr 2014 at 6:20
Is it possible to delete this topic? There are tricks about mobile operators. I
do not want to see what I wrote in the google search results. Could you delete,
please? Thanks.
Original comment by labess...@gmail.com
on 6 Apr 2014 at 4:39
Yes,
Will delete all your links and video links.
Please check if I forget something.
Original comment by supp.san...@gmail.com
on 6 Apr 2014 at 6:25
Original comment by supp.san...@gmail.com
on 10 Apr 2014 at 4:11
This bug report deviated a bit. But to answer the original question, to get
Custom Plugin dex compiling, you also need to set the sdk.dir in
SandroProxyLib/local.properties as well as SandroProxyPlugin/local.properties
On my Windows 7 box anyway.
Original comment by georgiec...@gmail.com
on 26 Nov 2014 at 6:45
Thanks for info. Will state in readme.txt also that requirements.
Will upgrade also to latest android sdk and ndk tools when updating public git.
Original comment by supp.san...@gmail.com
on 26 Nov 2014 at 9:09
Original issue reported on code.google.com by
labess...@gmail.com
on 31 Mar 2014 at 2:39Attachments: