bruteforce

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package bruteforce implements password brute force functionality for various network services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Engine

type Engine struct {
	Library Library
}

Engine provides a wrapper around service-specific brute force libraries. It manages the execution of brute force attempts and result collection.

func (*Engine) Run

Run executes brute force attempts against a target using the configured library. It handles retries, sleep intervals, and success detection. Returns a list of attempt results, success status, and any errors encountered.

type Library

type Library interface {
	BruteForce(host string, port int, credPair *bruteforcefern.CredentialPair, config *bruteforcefern.PentestServiceBruteForceConfig) (*bruteforcefern.AttemptInfo, []string)
	AnalyzeResponse(response *bruteforcefern.ResponseUnion) *bruteforcefern.ResultInfo
}

Library defines the interface for service-specific brute force implementations. Each service type (SSH, Telnet) must implement this interface to provide authentication attempt functionality and response analysis.

Directories

Path Synopsis
Package bruteforce implements password brute force functionality for various network services.
Package bruteforce implements password brute force functionality for various network services.

Jump to

Keyboard shortcuts

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