hey all :)

i locked some files using win rar and cant remember the pass lol, so heres my qu, can you make a password cracker in java for it, if so can someone tell me how stpe by step :).

google is the first step.

we're not here to help you learn skills that are mostly useful for computer criminals.

there are hundred of password crackers out there made by software houses for legitmate reasons, use one of those, but if you want to learn how to do it then this problby isnt the place as jwenting said. Its a touchy subject because as it could be used legally on your own files as you say, it could also be used to hack

It's obviously malicious intent. Anyone with a lost password would quickly download one instead of taking the countless hours to make one.

yo dudes i know it is a touchy subject and there a tons on the web, but you only find them on dodgy sites full of spyware and such, plus it would be a good learning exp.

soz about being unclear :)

I always thought it was fun to build a crack not because it goes around the law, but because it is something totally new to program.

Granted I have never distrubuted one, and have only managed to build one for a md5 brute force cracker, which given my computing power could never be used to generate anything more than 5 characters in a day or two (350 mhz). I've been to lazy/cheap to take my 2ghz laptop in for repair.

but the answer to bob's question, is it possible, absolutely! but no i can't tell you how to do it (hmm... this might be my next project)

That would be an extremely hard project. You'll be working with decrypting possibly 128 bit keys. Mathematically, it SHOULD take millions of years to crack that. So, you would need some very sophisticated methods to break passwords.

Actually it's an extremely easy project. Realisticaly, as you have mentioned it will take forever and have virtually no practical use because of the time! And like i said it takes a day or two with a 5 character password ... mind you I am limiting my character set to the most commonly used characters, ie ignoring special symbols. Adding just 1 more character to the 5 char would make it go through all the previous keys times that number of characters you have entered.

So supposed i used all numbers (10), lower (26), and upper (26) case letters my character set would be 62. So if a 5 character password took a day to crack a 6 character set would take 62 days. But remember this is completly dependent on the computers cpu speed.

I made an encrypter once, and I think the ascii values went from 36-128..Or some where around that.

I think the hardest thing would be trying every differen't combination you could think of.

Another thing, how could you get a reference to that password?

i made my own custom charset so i could increment it myself and just usign ....

well i dont want to go to far into the code for this as i dont want to get kicked off this site! but once you get it, you got it

hi thx for the replies, lol, but i have a 3.2 gz (just updated) :), plus can someone even tell me how to start such a project :S and it is only letters all lowercase :) thx

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.