Commits

Alexander Plavin committed 9d965b1

New tests

Comments (0)

Files changed (2)

+0
+1111
+11111
+111111
+11111111
+112233
+1212
+121212
+123123
+1234
+12345
+123456
+1234567
+12345678
+1313
+131313
+2000
+2112
+2222
+232323
+3333
+4128
+4321
+4444
+5150
+5555
+654321
+6666
+666666
+6969
+696969
+7777
+777777
+7777777
+8675309
+987654
+Football
+aaaa
+aaaaaa
+abc123
+abcdef
+abgrtyu
+access
+access14
+action
+albert
+alex
+alexis
+amanda
+amateur
+andrea
+andrew
+angel
+angela
+angels
+animal
+anthony
+apollo
+apple
+apples
+arsenal
+arthur
+asdf
+asdfgh
+ashley
+asshole
+august
+austin
+baby
+badboy
+bailey
+banana
+barney
+baseball
+batman
+beach
+bear
+beaver
+beavis
+beer
+bigcock
+bigdaddy
+bigdick
+bigdog
+bigtits
+bill
+billy
+birdie
+bitch
+bitches
+biteme
+black
+blazer
+blonde
+blondes
+blowjob
+blowme
+blue
+bond007
+bonnie
+booboo
+boobs
+booger
+boomer
+booty
+boston
+brandon
+brandy
+braves
+brazil
+brian
+bronco
+broncos
+bubba
+buddy
+bulldog
+buster
+butter
+butthead
+calvin
+camaro
+cameron
+canada
+captain
+career
+carlos
+carter
+casper
+charles
+charlie
+cheese
+chelsea
+chester
+chevy
+chicago
+chicken
+chris
+cocacola
+cock
+coffee
+college
+compaq
+computer
+connect
+cookie
+cool
+cooper
+corvette
+cowboy
+cowboys
+cream
+crystal
+cumming
+cumshot
+cunt
+dakota
+dallas
+daniel
+danielle
+dave
+david
+debbie
+dennis
+devil
+diablo
+diamond
+dick
+dirty
+doctor
+doggie
+dolphin
+dolphins
+donald
+dragon
+dreams
+driver
+eagle
+eagle1
+eagles
+edward
+einstein
+enjoy
+enter
+eric
+erotic
+extreme
+falcon
+fender
+ferrari
+fire
+firebird
+fish
+fishing
+florida
+flower
+flyers
+football
+ford
+forever
+frank
+fred
+freddy
+freedom
+fuck
+fucked
+fucker
+fucking
+fuckme
+fuckyou
+gandalf
+gateway
+gators
+gemini
+george
+giants
+ginger
+girl
+girls
+god
+golden
+golf
+golfer
+gordon
+great
+green
+gregory
+guitar
+gunner
+hammer
+hannah
+happy
+hardcore
+harley
+heather
+hello
+helpme
+hentai
+hockey
+hooters
+horney
+horny
+hotdog
+house
+hunter
+hunting
+iceman
+ilove
+iloveyou
+internet
+iwantu
+jack
+jackie
+jackson
+jaguar
+jake
+james
+japan
+jasmine
+jason
+jasper
+jennifer
+jeremy
+jessica
+jesus
+job
+john
+johnny
+johnson
+jordan
+joseph
+joshua
+juice
+junior
+justin
+kelly
+kevin
+killer
+king
+kitty
+knight
+ladies
+lakers
+lauren
+leather
+legend
+letmein
+link
+linked
+linkedin
+little
+london
+love
+lover
+lovers
+lucky
+maddog
+madison
+maggie
+magic
+magnum
+marine
+mark
+marlboro
+martin
+marvin
+master
+matrix
+matt
+matthew
+maverick
+maxwell
+melissa
+member
+mercedes
+merlin
+michael
+michelle
+mickey
+midnight
+mike
+miller
+mine
+mistress
+money
+monica
+monkey
+monster
+morgan
+mother
+mountain
+movie
+muffin
+murphy
+music
+mustang
+naked
+nascar
+nathan
+naughty
+ncc1701
+newyork
+nicholas
+nicole
+nipple
+nipples
+oliver
+orange
+ou812
+packers
+panther
+panties
+paris
+parker
+pass
+passw0rd
+password
+password1
+password12
+password123
+patrick
+paul
+peaches
+peanut
+penis
+pepper
+peter
+phantom
+phoenix
+player
+please
+pookie
+porn
+porno
+porsche
+power
+prince
+princess
+private
+purple
+pussies
+pussy
+qazwsx
+qwert
+qwerty
+qwertyui
+rabbit
+rachel
+racing
+raiders
+rainbow
+ranger
+rangers
+rebecca
+redskins
+redsox
+redwings
+richard
+robert
+rock
+rocket
+rosebud
+runner
+rush2112
+russia
+samantha
+sammy
+samson
+sandra
+saturn
+scooby
+scooter
+scorpio
+scorpion
+scott
+secret
+sex
+sexsex
+sexy
+shadow
+shannon
+shaved
+shit
+sierra
+silver
+skippy
+slayer
+slut
+smith
+smokey
+snoopy
+soccer
+sophie
+spanky
+sparky
+spider
+squirt
+srinivas
+star
+stars
+startrek
+starwars
+steelers
+steve
+steven
+sticky
+stupid
+success
+suckit
+summer
+sunshine
+super
+superman
+surfer
+swimming
+sydney
+taylor
+teens
+tennis
+teresa
+test
+tester
+testing
+the
+theman
+thomas
+thunder
+thx1138
+tiffany
+tiger
+tigers
+tigger
+time
+tits
+tomcat
+topgun
+toyota
+travis
+trouble
+trustno1
+tucker
+turtle
+twitter
+united
+vagina
+victor
+victoria
+video
+viking
+viper
+voodoo
+voyager
+walter
+warrior
+welcome
+whatever
+white
+william
+willie
+wilson
+winner
+winston
+winter
+wizard
+wolf
+women
+work
+xavier
+xxxx
+xxxxx
+xxxxxx
+xxxxxxxx
+yamaha
+yankee
+yankees
+yellow
+young
+zxcvbn
+zxcvbnm
+zzzzzz
 
 class TestMain(TestCase):
     def setUp(self):
-        super(TestMain, self).setUp()
         config.hashes = read_hashes()
-        cracker_pure.prepare()
         config.display_mode = DisplayMode.NoDisplay
-        config.max_word_len = 10
+        config.max_word_len = 15
+        cracker_pure.prepare()
 
     def _test(self, alphabet_str):
         config.alphabet_str = alphabet_str
         config.update_params()
 
+        print 'keyspace: %d' % config.keyspace_size
+
         etalon = list(cracker_pure.brute())
         print 'len(etalon) = %d' % len(etalon)
 
 
     def test_13(self):
         self._test(r'''
-        F:\\Alexander\\pass dictionaries\\passwords\\500-worst-passwords.txt
+        _.txt
         ''')
 
     def test_14(self):
         self._test(r'''
-        F:\\Alexander\\pass dictionaries\\passwords\\500-worst-passwords.txt
-        F:\\Alexander\\pass dictionaries\\passwords\\500-worst-passwords.txt
+        _.txt
+        _.txt
+        ''')
+
+    def test_15(self):
+        self._test(r'''
+        _.txt
+        178
+        _.txt
+        ''')
+
+    def test_16(self):
+        self._test(r'''
+        _.txt
+        _.txt
+        abx
         ''')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.