Skip to content

Nirj2004/hashcatJS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hashcatJS logo

hashcatJS

An implementation of the hashcat rules engine in javascript

#Author Nirj2004

##For registration pages HashcatJS can be used for client side verification of password registrations. It has the ability to spot if a user's password falls into the top 10,000 picked passwords, and it also has the ability to see if those passwords fall into rule sets. More information on rule based password cracking can be found here: [Statistics Will Crack Your Password Mask Structure]

##Example code

To use this library, simply include the rule set you want, the dictionary you want to use, and the hashcatJS engine

		<script src="rule.js"></script>
		<script src="passwords.js"></script>
		<script src="hashcatJS.js"></script>
		<script>
		    checkThisPassword(usersPassword, 9999) //tweak 9999 to alter the number of dictionary entries to try, max size 9999 with default dictionary
		</script>

###Rule Set The rule sets must be of the following form

    var ruleSet = ":\nr\nT0\nu\n]\nd"
    

More information on rules can be found here

###Dictionary The dictionary must be of the following form

    var passwords = ["password", "123456", "12345678", "1234"]

##Installation

You can install hashcatJS with bower

bower install hashcatJS

##For brute forcing login pages With slight modification HashcatJS can also be used to brute force a login page. Given a page with no account lockout, HashcatJS can be used to send requests to the server for common passwords and rule variations of those common passwords. Future releases will make this functionality more accessible. Pull requests welcome.

Using hashcatJS in at interesting way? Feel free to tweet us @NirjharBiswas5

About

An implementation of the hashcat rules engine in javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 71.9%
  • HTML 28.1%