Author | Post | ||
litl13 [none yet] |
how would you build a bruteforcer? |
||
![]() |
|
||
DigitalAcid![]() ![]() ![]() |
You program one ![]() |
||
![]() |
|
||
aceldama![]() ![]() ![]() ![]() |
lol. yes, in a language of your own choice ![]() |
||
![]() |
|
||
unknown user | |||
30.12.2007 23:58:02 |
|
||
Bander![]() ![]() |
![]() how do you build your own bruteforcer? I will tell you if you send me $100 |
||
![]() |
|
||
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) |
||
![]() |
|
||
snakey [none yet] |
C++ |
||
![]() |
|
||
Towley![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Here is some java code, that iterates all possible combinations of a given characterset with a given length range. ![]() 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"); } |
||
![]() |
|
||
theAnswer![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
http://bright-shadows.net/forum/forum_showtopic.php?topicid=2498 |
||
![]() |
|
||
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 | |||
![]() |
|