Toaster - i think i made what you are looking for.
Here is the code:
Code:
//made by karabaja4
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char** argv)
{
char format[10];
unsigned long long last = 0;
unsigned long long i;
if ((argc != 2) || (atoi(argv[1]) > 16)) {
printf("\n hex wordlist generator - by karabaja4\n\n");
printf(" usage: ./hwg n > wordlist.txt\n");
printf(" n - number of digits (max 16)\n\n");
exit(0);
}
sprintf(format, "%s%s%s", "%0", argv[1], "llx\n"); //linux (gcc)
//sprintf(format, "%s%s%s", "%0", argv[1], "I64x\n"); //windows (mingw)
for (i = 0; i < atoi(argv[1]); i++)
last = ((last + 1) * 16) - 1;
for (i = 0; i < last; i++) printf(format, i);
printf(format, last);
return 0; //hooray!
}
save it as hwg.c and to compile it do:
to run it do:
Code:
./hwg n > wordlist.txt
where n is the number of hex digits (maximum 16 digits, hope it's enough). to see the output on the screen remove the > wordlist.txt part.
IMPORTANT! I didn't test the pipelinening password feed, test it and if it works please let me know (let me know if it doesn't work too
)
have phun