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.

Unix Number Generator


ghost's Avatar
0 0

Hello peoples!

I have recently discovered the wonders of Hydra, a brute force tool that utilizes many networking protocols for entry. It is a great tool, but it has a downside. The brute force only allows login attempts from lists, it has no number/letter generator. So basically, it can do dictionary attacks, which is great, but limited. I was wondering if someone had a number generator that i could use the output into a list, indirectly using a brute force number generator. I kinda figured it would be impossible for letters, and would be easier for numbers. Does anyone have something where it takes a numerical value as an input, and generates all numbers with that number of digits? Or, better yet, can someone point me in the right direction. My computer is on a bash unix shell, and if you peoples could help that would be great! Thanks!


ghost's Avatar
0 0

Write one in C/C++?


devilsson2010's Avatar
Member
0 0

If you don't know C++ then it's easy as hell to do a number generator. Something like this off the top of my head works on windows:

#include <fstream>
#include <iostream>

using namespace std;

int main()
{

ofstream file ( "output_file.txt" );
int start_number = 0;
int end_number = 1000000;

for (int i=start_number;i<=end_number;i++)
{
file << i << endl;
}

file.close();

return 0;
}```


It will write all numbers from zero to one million into output_file.txt. I don't know much about unix though but I'm guessing it will be slightly different.

korg's Avatar
Admin from hell
0 0

WOW, I'll I'm gonna say is your impressed with Hydra. ( A skid tool that won't get you busted). Why don't you download Brutus it has more bruteforce options.

Christ I sound like spyware.


devilsson2010's Avatar
Member
0 0

I can't tell if you're being sarcastic. :(