Narthex

Modular dictionary generator
git clone git@git.mcdim.xyz:/var/www/git/Narthex.git
Log | Files | Refs | README | LICENSE

commit 11fb4e30938c1dc0ef7d6fb8374486b0e858f1fb
parent 99ceb8895f9104a881f55619e39e8967522e6025
Author: Michael Constantine Dimopoulos <mk@mcdim.xyz>
Date:   Tue, 12 Oct 2021 02:25:56 +0000

Updated interfaces and manpages

Diffstat:
MREADME.md | 1+
Mapp/napp.1 | 2+-
Mapp/napp.c | 4++--
Mclean/nclean.1 | 4++--
Mclean/nclean.c | 18+++++++++---------
Mcom/ncom.c | 20++++++++++----------
Menhance/nhan.c | 15++++++++-------
Menhance/nhance.1 | 2+-
Minc/nin.c | 12++++++------
Mleet/nleet.1 | 6+++---
Mleet/nleet.c | 8++++----
Mrev/nrev.1 | 6+++---
Mrev/nrev.sh | 10++++++----
13 files changed, 56 insertions(+), 52 deletions(-)

diff --git a/README.md b/README.md @@ -12,6 +12,7 @@ https://www.youtube.com/watch?v=U0UmCeLJSkk&t=938s + nrev - A reversing tool, that appends the reserved versions of the lines at the end of the dictionary. + nleet - A leetifier. Replaces characters with Leet equivalents, such as @ instead of a, or 3 instead of e. + nclean - A tool for removing passwords that don't meet your criteria (too short, no special characters etc.) ++ napp - A tool that appends characters or words before or after the lines of the dictionary. + nwiz - A wizard that asks for the infromation and combines the tools together to create a final dictionary. ## Install diff --git a/app/napp.1 b/app/napp.1 @@ -1,6 +1,6 @@ .\" Manpage for napp -.TH man 8 "10 Oct 2021" "1.0" "napp manual page" +.TH man 8 "10 Oct 2021" "1.1" "napp manual page" .SH NAME napp \- Narthex appender .SH SYNOPSIS diff --git a/app/napp.c b/app/napp.c @@ -20,7 +20,7 @@ #include <unistd.h> #include <ctype.h> -#define VERSION "v1.0" +#define VERSION "v1.1" #define BUFFER_SIZE 256 static void @@ -35,7 +35,7 @@ static void help(char * exename) { printf( "napp - Narthex appender %s\n" - "By Michael C. Dim. <mk@mcdim.xyz>\n\n" + "By Michael Constantine Dimopoulos <mk@mcdim.xyz>\n\n" "-c specify charset\n" "-w specify dictionary of words\n" diff --git a/clean/nclean.1 b/clean/nclean.1 @@ -1,6 +1,6 @@ -.\" Manpage for ncom +.\" Manpage for nclean -.TH man 8 "10 Oct 2021" "1.0" "nclean manual page" +.TH man 8 "10 Oct 2021" "1.1" "nclean manual page" .SH NAME nclean \- Narthex cleaner .SH SYNOPSIS diff --git a/clean/nclean.c b/clean/nclean.c @@ -21,7 +21,7 @@ #include <ctype.h> #include <unistd.h> -#define VERSION "v1.0" +#define VERSION "v1.1" #define BUFFER_SIZE 256 static void @@ -36,14 +36,14 @@ static void help(char *exename) { printf( "nclean - Narthex cleaner %s\n" - "By Michael C. Dim. <mk@mcdim.xyz>\n\n" - - "-c Must have capital letters\n" - "-n Must have numbers\n" - "-s Must have symbols\n" - "-l Must have min length specified\n" - "-h Print this panel & exit\n" - "-v Print current version & exit\n\n" + "By Michael Constantine Dimopoulos <mk@mcdim.xyz>\n\n" + + "-c must have capital letters\n" + "-n must have numbers\n" + "-s must have symbols\n" + "-l must have min length specified\n" + "-h print this panel & exit\n" + "-v print current version & exit\n\n" "Usage: cat [FILENAME] | %s [-c] [-n] [-s] [-l] 10\n", VERSION, exename); diff --git a/com/ncom.c b/com/ncom.c @@ -28,24 +28,24 @@ #include <unistd.h> #include <ctype.h> -#define VERSION "v1.0" +#define VERSION "v1.1" #define BUFFER_SIZE 256 static void help(char * exename) { printf( "ncom - Narthex combinator %s\n" - "By Michael C. Dim. <mk@mcdim.xyz>\n\n" + "By Michael Constantine Dimopoulos <mk@mcdim.xyz>\n\n" - "-d Use dot separator\n" - "-u Use underscore separator\n" - "-m Use hyphen separator\n" - "-n Exclude numerical bases\n" - "-b Exclude base-appended\n" - "-h Print this panel & exit\n" - "-v Print current version & exit\n\n" + "-d use dot separator\n" + "-u use underscore separator\n" + "-m use hyphen separator\n" + "-n exclude numerical bases\n" + "-b exclude base-appended\n" + "-h print this panel & exit\n" + "-v print current version & exit\n\n" - "Usage: cat [FILENAME] | %s [OPTIONS]\n", + "Usage: cat [FILENAME] | %s [-d] [-u] [-m] [-n] [-b]\n", VERSION, exename); exit(EXIT_SUCCESS); } diff --git a/enhance/nhan.c b/enhance/nhan.c @@ -21,7 +21,7 @@ #include <errno.h> #include <string.h> -#define VERSION "v1.2" +#define VERSION "v1.3" #define BUFFER_SIZE 256 @@ -29,13 +29,14 @@ static void help(char * exename) { printf( "nhance - Narthex enhancer %s\n" - "By Michael C. Dim. <mk@mcdim.xyz>\n\n" + "By Michael Constantine Dimopoulos <mk@mcdim.xyz>\n\n" - "-f Append full capitalization\n" - "-h Print this panel & exit\n" - "-v Print current version & exit\n\n" - "Usage: cat [FILENAME] | %s [OPTIONS]\n" - " %s [OPTIONS] [FILENAME]\n", + "-f append full capitalization\n" + "-h print this panel & exit\n" + "-v print current version & exit\n\n" + + "Usage: cat [FILENAME] | %s [-f]\n" + " %s [-f] [FILENAME]\n", VERSION, exename, exename); exit(EXIT_SUCCESS); } diff --git a/enhance/nhance.1 b/enhance/nhance.1 @@ -1,6 +1,6 @@ .\" Manpage for nhance -.TH man 8 "15 Jul 2021" "1.2" "nhance manual page" +.TH man 8 "15 Jul 2021" "1.3" "nhance manual page" .SH NAME ninc \- Narthex enhancer .SH SYNOPSIS diff --git a/inc/nin.c b/inc/nin.c @@ -23,20 +23,20 @@ #include <string.h> #include <ctype.h> -#define VERSION "v1.1" +#define VERSION "v1.2" #define BUFFER_SIZE 256 static void help(char * exename) { printf( "ninc - Narthex incrementor %s\n" - "By Michael C. Dim. <mk@mcdim.xyz>\n\n" + "By Michael Constantine Dimopoulos <mk@mcdim.xyz>\n\n" - "-n Increment numerical lines as well\n" - "-h Print this panel & exit\n" - "-v Print current version & exit\n\n" + "-n increment numerical lines as well\n" + "-h print this panel & exit\n" + "-v print current version & exit\n\n" - "Usage: cat [FILENAME] | %s [MIN] [MAX] [OPTIONS]\n", + "Usage: cat [FILENAME] | %s [MIN] [MAX] [-n]\n", VERSION, exename); exit(EXIT_SUCCESS); } diff --git a/leet/nleet.1 b/leet/nleet.1 @@ -1,11 +1,11 @@ .\" Manpage for nleet -.TH man 8 "15 Jul 2021" "1.2" "nleet manual page" +.TH man 8 "15 Jul 2021" "1.3" "nleet manual page" .SH NAME nleet \- Narthex leetifier .SH SYNOPSIS -cat dictionary.txt | nhance [OPTIONS] > output.txt -nhance [OPTIONS] dictionary.txt +cat dictionary.txt | nleet > output.txt +nhance dictionary.txt .SH DESCRIPTION nleet reads from standard input or a file and appends to it the lines leetified (hello -> h3ll0). It prints to standard output. diff --git a/leet/nleet.c b/leet/nleet.c @@ -24,7 +24,7 @@ #include <errno.h> #include <string.h> -#define VERSION "v1.2" +#define VERSION "v1.3" #define BUFFER_SIZE 256 @@ -32,10 +32,10 @@ static void help(char * exename) { printf( "nleet - Narthex leetfier %s\n" - "By Michael C. Dim. <mk@mcdim.xyz>\n\n" + "By Michael Constantine Dimopoulos <mk@mcdim.xyz>\n\n" - "-h Print this panel & exit\n" - "-v Print current version & exit\n\n" + "-h print this panel & exit\n" + "-v print current version & exit\n\n" "Usage: cat [FILENAME] | %s\n" " %s [FILENAME]\n", VERSION, exename, exename); diff --git a/rev/nrev.1 b/rev/nrev.1 @@ -1,11 +1,11 @@ .\" Manpage for nrev -.TH man 8 "15 Jul 2021" "1.0" "nrev manual page" +.TH man 8 "15 Jul 2021" "1.1" "nrev manual page" .SH NAME nrev \- Narthex reverser .SH SYNOPSIS -cat dictionary.txt | nhance [OPTIONS] > output.txt -nhance [OPTIONS] dictionary.txt +cat dictionary.txt | nrev > output.txt +nrev dictionary.txt .SH DESCRIPTION nrev reads from standard input or a file and appends to it the lines reversed. It prints to standard output. diff --git a/rev/nrev.sh b/rev/nrev.sh @@ -9,15 +9,17 @@ # ary, it will reprint it again but # with each line reversed. -version="1.0" +version="1.1" if [ "$1" = "-v" ]; then echo version; exit; elif [ "$1" = "-h" ]; then printf "nrev - Narthex reverser ${version} \n"; - printf "By Michael C. Dim. <mk@mcdim.xyz>\n\n"; - printf '%s\n' "-h Print this panel & exit"; - printf '%s\n\n' "-v Print current version & exit"; + printf "By Michael Constantine Dimopoulos <mk@mcdim.xyz>\n\n"; + + printf '%s\n' "-h print this panel & exit"; + printf '%s\n\n' "-v print current version & exit"; + printf "Usage: nrev [FILENAME]\n"; printf " cat [FILENAME] | nrev\n"; exit;