Markopy
Utilizing Markov Models for brute forcing attacks
mm.py
Go to the documentation of this file.
1 
2 
3 
7 
8 from abc import abstractmethod
9 
10 from importer import import_markopy
11 markopy = import_markopy()
12 
13 class MarkovModel(markopy.MarkovPasswords):
14  """!
15  @brief Abstract representation of a markov model
16  @implements Markov::API::MarkovPasswords
17  @belongsto Python::Markopy
18 
19  To help with the python-cpp gateway documentation.
20  """
21  @abstractmethod
22  def Import(filename : str):
23  pass
24 
25  @abstractmethod
26  def Export(filename : str):
27  pass
28 
29  @abstractmethod
30  def Train(dataset: str, seperator : str, threads : int):
31  pass
32 
33  @abstractmethod
34  def Generate(count : int, wordlist : str, minlen : int, maxlen: int, threads : int):
35  pass
36 
37 
38 class ModelMatrix(markopy.ModelMatrix):
39  """!
40  @brief Abstract representation of a matrix based model
41  @implements Markov::API::ModelMatrix
42  @belongsto Python::Markopy
43 
44  To help with the python-cpp gateway documentation.
45  """
46 
47  @abstractmethod
48  def FastRandomWalk(count : int, wordlist : str, minlen : int, maxlen : int):
49  pass
Abstract representation of a markov model.
Definition: mm.py:13
def Generate(int count, str wordlist, int minlen, int maxlen, int threads)
Definition: mm.py:34
def Export(str filename)
Definition: mm.py:26
def Import(str filename)
Definition: mm.py:22
def Train(str dataset, str seperator, int threads)
Definition: mm.py:30
Abstract representation of a matrix based model.
Definition: mm.py:38
def FastRandomWalk(int count, str wordlist, int minlen, int maxlen)
Definition: mm.py:48
def import_markopy()
import and return markopy module
Definition: importer.py:12