|
|||||||
| BackTrack 4 Howto Tutorials and Howtos about BackTrack 4 (NOT for requesting tutorials or how to do anything) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Yeah I meant 8, I have a 10 also but I am not sure how big that is.
Crunch is useful to pipe out put but in the case of hex lists where there are tons of routers which use default hex keys its more useful to keep the actual list on hand. That's where a 6 TB file sever at your house comes in handy.
|
|
||||
|
I'm not really that interested in cracking passwords, but I like writing code for doing it. Anyway I threw together this short piece:
Code:
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
void Combinate(char const *const pstart,char *const p,
char const *const plast,char const *const alphabet)
{
for (*p = alphabet[0]; *p; *p = strchr(alphabet,*p)[1])
{
if (p == plast)
puts(pstart);
else
Combinate(pstart,p+1,plast,alphabet);
}
}
int main(int argc, char **argv)
{
char str[64 + 1] = {0};
Combinate(str,str,str + strtoul(argv[1],0,10) - 1,argv[2]);
return 0;
}
Code:
gcc combinator.c -o combinator Code:
./combinator 4 0123456789abcdef Anyway you can pipe the output of this program into your favourite cracking program: Code:
./combinator 4 0123456789abcdef |my_favourite_cracker --read-from-stdin
__________________
Ask questions on the open forums, that way everybody benefits from the solution, and everybody can be corrected when they make mistakes. Don't send me private messages asking questions that should be asked on the open forums, I won't respond. I decline all "Friend Requests". Last edited by Virchanza; 10-28-2009 at 04:56 PM. |
|
||||
|
That's because you have been looking in the wrong place.
![]() ![]()
__________________
The very existence of flame-throwers proves that some time, somewhere, someone said to themselves, You know, I want to set those people over there on fire, but I'm just not close enough to get the job done. George Carlin |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|