> For the complete documentation index, see [llms.txt](https://afsh4ck.gitbook.io/ethical-hacking-cheatsheet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://afsh4ck.gitbook.io/ethical-hacking-cheatsheet/explotacion-de-vulnerabilidades/diccionarios-custom/dymerge.md).

# DyMerge

{% embed url="<https://github.com/k4m4/dymerge>" %}

## <mark style="color:purple;">**1. Instalación**</mark>

```bash
git clone https://github.com/k4m4/dymerge.git
cd dymerge/
python2 dymerge.py
```

## <mark style="color:purple;">**2. Uso**</mark>

```bash
python2 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 ~/dictionaries/ -s -u -o ~/powerful.txt
  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
```

## <mark style="color:purple;">**3. Unificar diccionarios**</mark>

```bash
ls
dict-1.txt    dict-2.txt    dict-3.txt    dict-4.txt    dict-5.txt

python2 dymerge.py *.txt -s -u -o final.txt
```

Esto unificará los diccionarios de una carpeta en un archivo llamado `final.txt`.

```
python2 dymerge.py *.txt -s -u -o final.txt
DyMerge 0.2 Nikolaos Kamarinakis (nikolaskama.me)
  ____                                                  
 /\  _`\           /'\_/`\
 \ \ \/\ \  __  __/\      \     __   _ __    __      __ 
  \ \ \ \ \/\ \/\ \ \ \__\ \  /'__`\/\` __\/'_ `\  /'__`\
   \ \ \_\ \ \ \_\ \ \ \_/\ \/\  __/\ \ \//\ \_\ \/\  __/
    \ \____/\/`____ \ \_\\ \_\ \____\\ \_\\ \____ \ \____\
     \/___/  `/___/  \/_/ \/_/\/____/ \/_/ \/____\ \/____/
                /\___/                       /\____/
                \/__/  Made with <3 by k4m4  \_/__/

[+] Starting Dictionary Merge Task
[+] Reading Dictionaries
[+] Merging Dictionaries
[+] Removing All Duplicates
[+] Sorting Dictionary Alphabetically
[+] Task Successfully Complete
[+] Final Dictionary Saved As --> final.txt
Comp/tional Time Elapsed: 0.044933
```

## <mark style="color:purple;">4. Ver cantidad de palabras</mark>

```bash
wc -c final.txt
454801 final.txt
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://afsh4ck.gitbook.io/ethical-hacking-cheatsheet/explotacion-de-vulnerabilidades/diccionarios-custom/dymerge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
