pycharm 词典合并
During penetration test one of the test component is brute forcing critical data like password, hash, key etc. One way to brute force is using dictionaries or word list. There are a lot of dictionary in the internet and we generally need to merge them. Dymerge is a security tool used to merge different wordlists and dictionaries.
在渗透测试期间,测试组件之一是暴力破解关键数据,例如密码,哈希,密钥等。暴力破解的一种方法是使用词典或单词列表。 互联网上有很多字典,我们通常需要将它们合并。 Dymerge是用于合并不同单词表和词典的安全工具。
获取DyMerge (Get DyMerge)
Latest version of the dymerge can be get from github by using git.
dymerge的最新版本可以使用git从github获得。
$ git clone https://github.com/k4m4/dymerge.git
Cloning into 'dymerge'...
remote: Counting objects: 86, done.
remote: Total 86 (delta 0), reused 0 (delta 0), pack-reused 86
Unpacking objects: 100% (86/86), done.
Checking connectivity... done.
获取有关DyMerge的帮助(Get Help About DyMerge)
By issuing -h parameter to the dymerge help about dymerge can be get. It also provides usage examples where we will look in this post.
通过向dymerge发出-h参数,可以获得有关dymerge的帮助。 它还提供了用法示例,我们将在本文中进行介绍。
$ python dymerge.py -h
Usage: python dymerge.py {dictionaries} [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-o OUTPUT_FILE, --output=OUTPUT_FILE
output filename
-i INCLUDE_VALUES, --include=INCLUDE_VALUES
include specified values in dictionary
-z ZIP_TYPE, --zip=ZIP_TYPE
zip file with specified archive format
-s, --sort sort output alphabetically
-u, --unique remove dictionary duplicates
-r, --reverse reverse dictionary items
-f, --fast finish task asap
Examples:
python dymerge.py /usr/share/wordlists/rockyou.txt /lists/cewl.txt -s -u
python dymerge.py /lists/cewl.txt /lists/awlg.txt -s -u -i and,this
python dymerge.py ~/fsocity.dic -u -r -o ~/clean.txt
python dymerge.py /dicts/crunch.txt /dicts/john.txt -u -f -z bz2
合并两个字典 (Merge Two Dictionary)
We will merge two dictionary only providing dictionary file names. The default output file name is dymerged.txt if it is not specified.
我们将合并两个仅提供字典文件名的字典。 如果未指定,默认的输出文件名为dymerged.txt。
$ python dymerge.py names.txt surnames.txt
DyMerge 0.2 Nikolaos Kamarinakis (nikolaskama.me)
____
/\ _`\ /'\_/`\
\ \ \/\ \ __ __/\ \ __ _ __ __ __
\ \ \ \ \/\ \/\ \ \ \__\ \ /'__`\/\` __\/'_ `\ /'__`\
\ \ \_\ \ \ \_\ \ \ \_/\ \/\ __/\ \ \//\ \_\ \/\ __/
\ \____/\/`____ \ \_\\ \_\ \____\\ \_\\ \____ \ \____\
\/___/ `/___/ \/_/ \/_/\/____/ \/_/ \/____\ \/____/
/\___/ /\____/
\/__/ Made with <3 by k4m4 \_/__/
[+] Starting Dictionary Merge Task
[+] Reading Dictionaries
[+] Merging Dictionaries
[+] Task Successfully Complete
[+] Final Dictionary Saved As --> dymerged.txt
Comp/tional Time Elapsed: 0.008401
指定输出文件名 (Specifying Output File Name)
We will specify output file name with -o option and zip the file with -z option with bz2 compression algorithm.
我们将使用-o选项指定输出文件名,并使用bz2压缩算法使用-z选项压缩文件。
$ python dymerge.py names.txt surnames.txt -o merged.txt -z bz2
DyMerge 0.2 Nikolaos Kamarinakis (nikolaskama.me)
____
/\ _`\ /'\_/`\
\ \ \/\ \ __ __/\ \ __ _ __ __ __
\ \ \ \ \/\ \/\ \ \ \__\ \ /'__`\/\` __\/'_ `\ /'__`\
\ \ \_\ \ \ \_\ \ \ \_/\ \/\ __/\ \ \//\ \_\ \/\ __/
\ \____/\/`____ \ \_\\ \_\ \____\\ \_\\ \____ \ \____\
\/___/ `/___/ \/_/ \/_/\/____/ \/_/ \/____\ \/____/
/\___/ /\____/
\/__/ Made with <3 by k4m4 \_/__/
[+] Starting Dictionary Merge Task
[+] Reading Dictionaries
[+] Merging Dictionaries
[+] Zipping File
[+] Task Successfully Complete
[+] Final Dictionary Saved As --> merged.txt.bz2
Comp/tional Time Elapsed: 0.013137
Dymerge词典合并工具 (Dymerge Dictionary Merge Tool Infografic)
pycharm 词典合并