Author Topic: Java-netbeans Connect to praxy- avoid human verification request  (Read 3166 times)

0 Members and 1 Guest are viewing this topic.

Offline proskopos

  • /dev/null
  • *
  • Posts: 7
  • Cookies: 0
  • Too much security is bad security....
    • View Profile
Java-netbeans Connect to praxy- avoid human verification request
« on: 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 and 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...
Shoot to thrill....

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Java-netbeans Connect to praxy- avoid human verification request
« Reply #1 on: 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?

Offline proskopos

  • /dev/null
  • *
  • Posts: 7
  • Cookies: 0
  • Too much security is bad security....
    • View Profile
Re: Java-netbeans Connect to praxy- avoid human verification request
« Reply #2 on: 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
Shoot to thrill....

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: Java-netbeans Connect to praxy- avoid human verification request
« Reply #3 on: 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?
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline proskopos

  • /dev/null
  • *
  • Posts: 7
  • Cookies: 0
  • Too much security is bad security....
    • View Profile
Re: Java-netbeans Connect to praxy- avoid human verification request
« Reply #4 on: 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...
Shoot to thrill....

Offline bubzuru

  • Knight
  • **
  • Posts: 395
  • Cookies: 21
  • everything is contained in the data
    • View Profile
    • New School Tools
Re: Java-netbeans Connect to praxy- avoid human verification request
« Reply #5 on: 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
Code: [Select]
//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)
Damm it feels good to be gangsta
http://bubzuru.comule.com

Offline proskopos

  • /dev/null
  • *
  • Posts: 7
  • Cookies: 0
  • Too much security is bad security....
    • View Profile
Re: Java-netbeans Connect to praxy- avoid human verification request
« Reply #6 on: November 09, 2011, 10:25:29 pm »
Nice.. i'll give it a try... :P
Shoot to thrill....