ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I can think of only one valid use for that script and it's not trying to crack your own password. If you have, for instance, a web host provider and you forgot your password, then you should contact the appropriate person(s) to have it reset. Running that script could possibly get you banned very quickly.
Why don't you type a list of everything you might have used as your password and make a dictionary out of that? What if you didn't use a word? Maybe you were security-minded at the time and used an unpronounceable sequence of letters, numbers, and symbols in case someone with a script like yours wanted to crack it? Maybe you should just run a Linux install CD, chroot as root, then change your password to something you will remember. If the info you have on the machine is worth all the effort of cracking your password, I'd think that your password would be strong enough to withstand a dictionary attack. And what if you set up an RSA key instead of a password? Will a dictionary help then? It sounds like you're very unprepared to "remember" what your password is, or even what "you" have stored on the system.
ta0kira
Bit difficult topic. I dont remember my password I changed. I would like to create a dictionary. Is there any tools under linux?
What exactly would a dictionary creation look like?
You want to feed it a word and have it output l33T15H
variations? You just want a list of words (use vi is
the instant response)?
Bit difficult topic. I dont remember my password I changed.
To my experience, there is a pause between login attempts. Something about 2 seconds. This will make bruteforcing difficult. Even with a dictionary, you'll need to wait for quite a long time. So try something different.
Quote:
Originally Posted by frenchn00b
I would like to create a dictionary. Is there any tools under linux?
You can create dictionary from existing text by writing python script. It's not difficult.
Are you looking for a dictionary of common passwords?
thx
no no, I know more or less my password, but would of course need a way other to make a dictionary of it, like word association, (because it can be long trying manually) and to run it through the ssh try... well if possible
thx
no no, I know more or less my password, but would of course need a way other to make a dictionary of it, like word association, (because it can be long trying manually) and to run it through the ssh try... well if possible
You posted some code found elsewhere. Like the first reply stated there is only one reason for using such a tool and like the second and third reply stated there are ways to change or (procedures you should follow to) have it changed. Instead you chose to respond to all valuable and correct replies in a very selective way, focussing only on the dictionary part.
Since addressing those replies will gain us info on what you're actually trying to do and givent he fact you've posted a tool I'd rather not see here I am asking you to please post details of the situation and the reason why you won't consider the second and third response.
You posted some code found elsewhere. Like the first reply stated there is only one reason for using such a tool and like the second and third reply stated there are ways to change or (procedures you should follow to) have it changed. Instead you chose to respond to all valuable and correct replies in a very selective way, focussing only on the dictionary part.
Since addressing those replies will gain us info on what you're actually trying to do and givent he fact you've posted a tool I'd rather not see here I am asking you to please post details of the situation and the reason why you won't consider the second and third response.
I knew I flew on the thread, because there was so much asking for details. Sorry I didnt have much time to give more because I had to rush to be on time for a meeting this morning.
I have only remote access to the machine
no possibility to boot any cdrom hence
It is via ssh on a machine that is just no security installed, you arent banned up to 3 trials, eg fail2ban or whatever scripting
i can try 2 then try again
the port is although specific
it was a fast installation
i know the password more or less
i wanna generate a dictioanry file that content several passwords,
and run it, it tries 2 passwords; and continues until it tries all pswd of dictionary.
please is there a code for that ?
the upper code I found, isnt workign.
that's not big in depth difficult thing, but i am not good much in linux and all coding no time much for that, just user like 50pct of those linux users guys
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.