EvilZone

Programming and Scripting => Java => : proskopos November 09, 2011, 02:27:55 PM

: Java-netbeans Connect to praxy- avoid human verification request
: proskopos November 09, 2011, 02:27:55 PM
I am trying to connect to a server and i am sending new connection requests every 10 seconds..
(in order to connect to  another url each time.. for example www.someUrl.com/page1 (http://www.someUrl.com/page1) and www.someUrl.com/page2 (http://www.someUrl.com/page2) etc)...
The problem is that i am getting always a human verification request (every 1 min or something like that)..
First i thought of trying to connect every 30 secs or even 1 min.. but the result is the same (with some delay of the human verification req)...
Now i am thinking if it possible to use a proxy that will change the outer ip (that the server gets) every X (dont care) seconds, i order to avoid getting the verification requests...

if it is possible, how can i do that? i am writing my code in java using netbeans...
: Re: Java-netbeans Connect to praxy- avoid human verification request
: Kulverstukas November 09, 2011, 04:10:15 PM
Does human-verification appear for the real human? if not, then you are doing something wrong and appearing as a bot.
Also what kind of verification is it?
: Re: Java-netbeans Connect to praxy- avoid human verification request
: proskopos November 09, 2011, 04:18:00 PM
Does human-verification appear for the real human? if not, then you are doing something wrong and appearing as a bot.
Also what kind of verification is it?
of course i am a bot.. that's why i trying to find a solution.. :P
i get the cover of a book, and it wants me to write the author
: Re: Java-netbeans Connect to praxy- avoid human verification request
: ande November 09, 2011, 04:32:56 PM
of course i am a bot.. that's why i trying to find a solution.. :P
i get the cover of a book, and it wants me to write the author

That wasn't what he asked, do YOU get the verification when YOU browse it?
: Re: Java-netbeans Connect to praxy- avoid human verification request
: proskopos November 09, 2011, 05:48:35 PM
That wasn't what he asked, do YOU get the verification when YOU browse it?
yes i do...
: Re: Java-netbeans Connect to praxy- avoid human verification request
: bubzuru November 09, 2011, 08:34:36 PM
yes i do...

well then proxys are a good idea
since Java 1.5 you can  pass a java.net.Proxy instance to the openConnection() method
:
//Proxy instance, proxy ip = 123.0.0.1 with port 8080
Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("123.0.0.1", 8080));
URL url = new URL("http://www.yahoo.com");
HttpURLConnection uc = (HttpURLConnection)url.openConnection(proxy);
uc.connect();
       
String page;
StringBuffer tmp = new StringBuffer();
BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
while ((line = in.readLine()) != null){
   page.append(line + "\n");
}
System.out.println(page);

you will just need a list of proxy servers then  (preferably check each proxy in the list when the program starts) then change the server every x seconds ,, or even better wait till you get the verification request then change proxy (use every server for all they can get)
: Re: Java-netbeans Connect to praxy- avoid human verification request
: proskopos November 09, 2011, 10:25:29 PM
Nice.. i'll give it a try... :P