wordlist

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BundledWordlistURL = "https://raw.githubusercontent.com/danielmiessler/SecLists/master/Discovery/Web-Content/common.txt"

Bundled wordlist URL (SecLists common.txt)

Variables

View Source
var DefaultWordlists = []string{
	"/usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt",
	"/usr/share/seclists/Discovery/Web-Content/common.txt",
	"/usr/share/wordlists/dirb/common.txt",
}

Default wordlist paths (in order of preference)

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager handles wordlist operations

func NewManager

func NewManager(customPath string) (*Manager, error)

NewManager creates a new wordlist manager

func (*Manager) Count

func (m *Manager) Count() int

Count returns the number of words loaded

func (*Manager) GetPath

func (m *Manager) GetPath() string

GetPath returns the wordlist path

func (*Manager) Load

func (m *Manager) Load() ([]string, error)

Load reads the wordlist file and returns words

Jump to

Keyboard shortcuts

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