2021-05-26 13:13:33 -04:00
2021-05-25 19:48:07 -04:00
2021-05-26 13:13:33 -04:00
2021-05-25 19:35:47 -04:00
2021-05-26 12:51:03 -04:00
2021-05-26 10:42:33 -04:00

wordlist-sanitizer

Remove Offensive and Profane Words from Wordlists

About

wordlist-sanitizer will create a copy of a file appended with-clean that has had a specified list of bad words removed. If the input is a directory, wordlist-sanitizer will recursively create a clone of the directory (directory names also appended with -clean) with all files inside sanitized. The default bad words list came from https://www.cs.cmu.edu/~biglou/resources/ and was prrogrammatically reduced in size (by removing redundant entries)

Installation

Ensure that Golang is installed, and the GOPATH variable is in your PATH

git clone https://github.com/BishopFox/wordlist-sanitizer
cd wordlist-sanitizer

Windows:

.\install.bat

*nix:

chmod +x install.sh
./install.sh

Usage

$ wordlist-sanitizer -h
Usage of wordlist-sanitizer:
  -bad string
        The list of words to be stripped. (default "[EXE_PATH]\\bad-words.txt")
  -out string
        The output directory. (default ".")
  -path string
        The path of the target file or directory.
        May also be passed after all flags as a positional argument. (default ".")
  -threads int
        Concurrent worker count. (default 100)

Example:

$ wordlist-sanitizer -threads 100000 SecLists\Usernames\xato-net-10-million-usernames.txt
SecLists\Usernames\xato-net-10-million-usernames.txt
1101033 bad words were removed out of 8295455 words.
S
Description
Remove Offensive and Profane Words from Wordlists
Readme MIT
51 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 98%
Batchfile 1.1%
Shell 0.9%