Markopy
Utilizing Markov Models for brute forcing attacks
argparse.cpp
Go to the documentation of this file.
1
/** @file argparse.cpp
2
* @brief Arguement handler class for native CPP cli
3
* @authors Celal Sahir Çetiner
4
*
5
* @copydoc Markov::API::CLI::Argparse
6
*/
7
8
#
include
"argparse.h"
9
#
include
"color/term.h"
10
11
Markov
::
API
::
CLI
::ProgramOptions*
Markov
::
API
::
CLI
::
Argparse
::
parse
(
int
argc,
char
** argv) {
return
0; }
12
13
14
15
void
Markov
::
API
::
CLI
::
Argparse
::
help
() {
16
std::cout <<
17
"Markov Passwords - Help\n"
18
"Options:\n"
19
" \n"
20
" -of --outputfilename\n"
21
" Filename to output the generation results\n"
22
" -ef --exportfilename\n"
23
" filename to export built model to\n"
24
" -if --importfilename\n"
25
" filename to import model from\n"
26
" -n (generate count)\n"
27
" Number of lines to generate\n"
28
" \n"
29
"Usage: \n"
30
" markov.exe -if empty_model.mdl -ef model.mdl\n"
31
" import empty_model.mdl and train it with data from stdin. When done, output the model to model.mdl\n"
32
"\n"
33
" markov.exe -if empty_model.mdl -n 15000 -of wordlist.txt\n"
34
" import empty_model.mdl and generate 15000 words to wordlist.txt\n"
35
36
<< std::endl;
37
}
Markopy
MarkovAPICLI
src
argparse.cpp
Generated by
1.9.0