Author | Post | ||
litl13 [none yet] |
how would you build a bruteforcer? |
||
30.12.2007 01:45:31 |
|
||
DigitalAcid |
You program one |
||
30.12.2007 10:07:09 |
|
||
aceldama |
lol. yes, in a language of your own choice |
||
30.12.2007 23:48:44 |
|
||
unknown user | |||
30.12.2007 23:58:02 |
|
||
Bander |
Quote: how do you build your own bruteforcer? I will tell you if you send me $100 |
||
31.12.2007 03:57:04 |
|
||
aceldama |
@rhican: so, tell me. how would you program a bruteforcer - whether it be web, hash etc - if you don't use a programming language? (your own choice being a set of working options - note how i didn't say your preferred or favourite language) |
||
31.12.2007 06:51:06 |
|
||
snakey [none yet] |
C++ |
||
01.01.2008 11:13:40 |
|
||
Towley |
Here is some java code, that iterates all possible combinations of a given characterset with a given length range. Quote from CodeSnippets: public static void bruteforce(byte[] charset, int passmin, int passmax) { // This stores integers that map the charset int[] pass = new int[passmax]; // This stores the current password. byte[] password = new byte[passmax]; // Number of characters in charset int charsetLength = charset.length; for (int passlen = passmin; passlen <= passmax; passlen++) { while (true) { // You could use while(passwordNotFound) here // build pass from character set for (int i = 0; i < passlen; i++) password = charset[pass]; // Now do some calculations System.out.println(new String(password, 0, passlen)); // increase password combination int permut; for (permut = 0; permut < passlen; permut++) { pass[permut]++; if (pass[permut] < charsetLength) break; pass[permut] = 0; } // all combinations are done ? if (permut == passlen) break; // so try a longer password } // end while(true) } // end for (lengths) System.out.println("All done, move along"); } |
||
01.01.2008 13:58:41 |
|
||
theAnswer |
http://bright-shadows.net/forum/forum_showtopic.php?topicid=2498 |
||
01.01.2008 14:39:59 |
|
||
occasus |
Hi litl13, quangntenemy is one of my favourite personalities aroun'the net and he started very nice projects starting from his website. If you want a demonstration in Java for example of a bruteforcer you can read his blogpost at http://qtjava.blogspot.com/2007/11/bf-it.html. Regards |
||
Edited by occasus on 16.01.2008 22:32:43 | |||
16.01.2008 22:31:52 |
|