Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
Fastest Language for a Brute Forcer? Need Advice
Lately I've been working at the Javascript 16 and I've been nesting 'for' loops in C++ to get every combination of a word, like this:
{
entry=tab[a];
for (int b=0;b<67;b++)
{
entry.erase(1,7);
entry+=tab[b];
for (int c=0;c<67;c++)
{
entry.erase(2,6);
entry+=tab[c];
for (int d=0;d<67;d++)
{
entry.erase(3,5);
entry+=tab[d];
for (int e=0;e<67;e++)
{
entry.erase(4,4);
entry+=tab[e];
for (int f=0;f<67;f++)
{
entry.erase(5,3);
entry+=tab[f];
for (int g=0;g<67;g++)
{
entry.erase(6,2);
entry+=tab[g];
for (int h=0;h<67;h++)
{
entry.erase(7,1);
entry+=tab[h];```
However, it seems ungodly slow and I was wondering what is the fastest language to make a Brute Forcer in, and if anyone can give me another way to do this in C++ then that'd be great too. Any help/comments/suggestions are welcome, thanks in advance.
Actually C and C++ should be the fastest languages avalaible. Assembler would be even faster, but it's too difficult to code something like a brute forcer with it. I think it's just the code. I'm not that good in C++ (I haven't used it for a long time), but I'd rebuild the brute forcer, because it has too many loops and they're all packed one inside another. That seems to be the cause, why it's so slow.
If you also use Python, I could help you with the code ;)