wordlist-sanitizer

command module
v0.0.0-...-195a36a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2021 License: MIT Imports: 8 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL