Skip to content

kryc/pymarkov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

pymarkov

pymarkov is a simple implementation of a markov model Markov model for use in password strength analysis.

It allows you to train a stochastic model on known compromised passwords and use that to analyse the strength of passwords.

Building a Model

For example, building a model on the rockyou dataset.

python3 ./markov.py build ./rockyou.txt models/rockyou.markov

Generating a Report

pymarkov can output a report of all of the bigram weights in a csv file.

python3 ./markov.py build models/rockyou.markov rockyou.csv

Analyse a Password

pymarkov can analyse input passwords and output a logarithmic strength score.

python3 ./markov.py strength models/rockyou.markov password correcthorsebatterystaple
password: 28.80
correcthorsebatterystaple: 94.80

About

Markov models for password analysis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages