java - How to bypass cloudflare server to get some site which using it? -


i tried bypass cf server amf (addmefast) site using java.

i used httpurlconnecting amf site's response code 200 (normally must return 302 code) , when try amf's page, returns unreadable code!

here tried:

url obj=new url(url); httpurlconnection conn=(httpurlconnection)obj.openconnection(); conn.setrequestmethod("get"); conn.setrequestproperty("host","addmefast.com"); //...continue setrequestproperty... //... int responsecode=conn.getresponsecode(); system.out.println("response code: "+responsecode); bufferedreader in = new bufferedreader(         new inputstreamreader(conn.getinputstream())); string inputline; stringbuffer response = new stringbuffer();  while ((inputline = in.readline()) != null) {     response.append(inputline); } //...print page content on screen... in.close(); 

i'm trying create auto can login amf.

can tell how bypass cf page?

what getting response cloudflare?

it quite possible whatever you're doing triggering security feature of sort, site owner address.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

Bubble Sort Manually a Linked List in Java -

asp.net mvc - SSO between MVCForum and Umbraco7 -