Advanced Password Cracking Tools

For the discerning hacker

Warning: Do not use these tools for actual nefarious activities. They are for educational purposes only.

Cracking Tools

Cracking tools are for the advanced user. Use at your own risk.

Cracking is not our policy.

// Cracking Tools

// Brute Force
function brute_force(password) {
	// Try all possible passwords
	for (var i = 0; i < 100000; i++) {
		if (password == i) {
			return i;
		}
	}
}

// Dictionary Attack
function dictionary_attack(wordlist, password) {
	// Check if password is in wordlist
	for (var i = 0; i < wordlist.length; i++) {
		if (password == wordlist[i]) {
			return true;
		}
	}
}

// Rainbow Table Attack
function rainbow_table_attack(password, rainbow_table) {
	// Check if password is in rainbow table
	for (var i = 0; i < rainbow_table.length; i++) {
		if (password == rainbow_table[i]) {
			return true;
		}
	}
}

// Wordlist Generator
function wordlist_generator(wordlist) {
	// Generate random wordlist
	for (var i = 0; i < 10; i++) {
		wordlist.push(Math.random());
	}
}