Refactor
:my
=>
'code'
Codes
Refactorings
Popular
Best
Submit
Spam
Account
Logout
Login
JavaScript doesn't seem to be activated, expect things to be ugly and sloppy!
Learn How to Create Your Own Programming Language
createyourproglang.com
Recent
FILE HOSTS PREMIUM ACCOUNT
ALL FILE HOST PREMIUM ACCOUNTS
Zynga Slingo Trainer v5.12
iTunes Gift Card Generator V3.1 2012
Diablo 3 GOLD Coins FREE
Working PS3 Jailbreak 3.65 And 3.66
ExtaBit Premium Accounts and Cookies
Steam Wallet Hack - Money Adder & Hack v3
Empires & Allies Hack Cheat Trainer v5.4.1
Eve Onnline 60 Days Time Card Generator v2
Popular
XBOX POINTS GENERATOR - MICROSOFT POINTS GENERATOR v1.2012
11 may 2012 premium uploading accounts 100% working
Free Microsoft Points
Free Microsoft Points - Microsoft Points Generator - Xbox Live Codes 2012
Car Town Free Blue Points Hack
Free CarTown Blue Points Generator and CarTown Templates
Better way to get content via jQuery $.get()
Free Microsoft Points
Simple Days Purger
Sharecash Downloader Bypass Surveys New 05/2012
Pastable version of
brute-force password cracker
<pre class='prettyprint' language='ruby'>#!/bin/ruby characters_to_use="ABCD" minimum_password_length=5 maximum_password_length=15 def password_correct?(test_password) # This is just for testing. There's no need to alter this bit! return true if test_password == "DCBAAAA" return false end char_array=characters_to_use.split(//) is_access_granted = false (minimum_password_length..maximum_password_length).each do |password_length| # loop to gradually increase password length combinations=char_array.length**password_length (0..combinations-1).each do |perm_number| # loop through combinations for a given length password="" (1..password_length).each do |char_number| # loop through characters char_reference = (perm_number / char_array.length**(char_number-1)).floor % char_array.length character = char_array[char_reference] password << character end if password_correct?(password) puts "#{password} | Access Denied | #{perm_number} / #{combinations}" else puts "#{password} | Access Granted" is_access_granted = true break end end break if is_access_granted end</pre> <a href="http://www.refactormycode.com/codes/531-brute-force-password-cracker" style="color:#fff" title="As seen on RefactorMyCode.com"><img alt="Small_logo" src="http://www.refactormycode.com/images/small_logo.gif" style="border:0" /></a>