Repository navigation
Home
pirozas edited this page Aug 19, 2024
·
7 revisions
Hostdigger is a universal and powerful tool for scanning and discovering network hosts across the globe. Whether you are looking to find bughosts for free internet access, bypass ISP firewalls, or perform security assessments, Hostdigger offers a comprehensive set of features and flexible input options to cater to your needs.
- Purpose: Assess the availability and responsiveness of hosts by sending ICMP echo requests.
- Usage: Quickly determine if a host is reachable or down, useful for network diagnostics.
-
Examples:
-
File Input:
Description: Pings all hosts listed in
hostdigger ping -f targets.txt
targets.txtto check their status. -
CIDR Input:
Description: Pings all IP addresses within the CIDR range
hostdigger ping -c 192.168.1.0/24
192.168.1.0/24to check their status.
-
File Input:
- Purpose: Identify and verify TLS/SSL certificates on designated ports to ensure secure communication.
- Usage: Assess the validity, configuration, and details of TLS certificates on web servers.
-
Examples:
-
File Input:
Description: Scans all domains listed in
hostdigger tls -f domains.txt -p 443
domains.txton port 443 for TLS certificates and their details. -
CIDR Input:
Description: Scans all IP addresses within the CIDR range
hostdigger tls -c 192.168.1.0/24 -p 443
192.168.1.0/24on port 443 for TLS certificates.
-
File Input:
- Purpose: Extract Server Name Indication (SNI) from TLS handshakes to reveal hostnames associated with IP addresses.
- Usage: Useful for identifying virtual hosts on a server and understanding the hosted services.
- Note: For SNI scans, domains must be used rather than CIDRs or IP ranges.
-
Examples:
-
File Input:
Description: Extracts SNI information from all domains listed in
hostdigger sni -f domains.txt
domains.txt, showing the hostnames served by those domains.
-
File Input:
- Purpose: Test SSH services to evaluate their responses and behavior using customizable payloads. This feature is particularly useful for identifying vulnerabilities or configurations in SSH servers.
- Usage: Conduct SSH scans with the option to specify a custom payload. If no payload is provided, an inbuilt default payload is used. Supports input files or CIDR ranges for specifying the targets.
-
Options:
-
--serveror-s: Define the SSH server (domain or IP address) to use for sending SSH requests. -
--payloador-d: Specify a custom payload to be used in the SSH scan. If omitted, the inbuilt default payload is used. -
--fileor-f: Specify a file containing a list of targets (domains, IPs, or CIDRs) to scan. -
--cidror-c: Directly provide CIDR blocks for scanning.
-
-
Examples:
-
With Custom Payload:
-
File Input:
Description: Tests SSH services on hosts listed in
hostdigger ssh -f targets.txt -s ssh.example.com -d "custom_payload"targets.txtusingssh.example.comas the server for sending requests, with the provided custom payload. -
CIDR Input:
Description: Scans all IP addresses within the CIDR range
hostdigger ssh -c 192.168.1.0/24 -s ssh.example.com -d "custom_payload"192.168.1.0/24for SSH services, usingssh.example.comas the server and applying the custom payload.
-
File Input:
-
Without Custom Payload:
-
File Input:
Description: Tests SSH services on hosts listed in
hostdigger ssh -f targets.txt -s ssh.example.com
targets.txtusingssh.example.comas the server, with the inbuilt default payload. -
CIDR Input:
Description: Scans all IP addresses within the CIDR range
hostdigger ssh -c 192.168.1.0/24 -s ssh.example.com
192.168.1.0/24for SSH services, usingssh.example.comas the server with the inbuilt default payload.
-
File Input:
-
With Custom Payload:
- Note: The payload option is optional. If you don’t add a payload, the inbuilt default payload will be used automatically.
- Purpose: Send specific requests to ports to identify services or extract information from servers.
- Usage: Useful for probing various services and gathering information based on predefined probes. This feature does not accept custom payloads but sends standard probes to specified ports.
-
Options:
-
--fileor-f: Specify a file containing a list of targets to probe. -
--portor-p: Define the port to probe.
-
-
Examples:
-
File Input:
Description: Sends standard probes to port 80 on all hosts listed in
hostdigger probe -f targets.txt -p 80
targets.txtto identify active services. -
CIDR Input:
Description: Sends standard probes to port 80 on all IP addresses within the CIDR range
hostdigger probe -c 192.168.1.0/24 -p 80
192.168.1.0/24to identify active services.
-
File Input:
- Purpose: Perform a series of HTTP/HTTPS requests to detect services behind CDNs and proxies.
- Usage: Discover services obscured by CDNs, proxies, or load balancers.
-
Options:
-
--fileor-f: Specify a file containing a list of targets to sweep.
-
-
Examples:
-
File Input:
Description: Sends a series of HTTP/HTTPS requests to all domains listed in
hostdigger sweep -f domains.txt
domains.txtto identify services that may be hidden behind CDNs or proxies.
-
File Input:
Hostdigger supports various input file formats, including lists of domains, CIDR blocks, or a combination of both. Below are examples of acceptable formats:
-
Domains Only:
example.com testsite.org example.net -
CIDRs Only:
192.168.1.0/24 10.0.0.0/8 162.159.129.0-162.159.129.255 -
Mixed (Domains and CIDRs):
example.com 192.168.1.0/24 testsite.org 162.159.129.0-162.159.129.255
These formats allow users to customize their scans according to the types of targets they need to investigate.
-
-for--file: Specifies the input file containing a list of targets. The targets can be domains, IP addresses, CIDR ranges, or a mix of these formats. -
-cor--cidr: Directly specifies a CIDR range or an IP range in the formatstartIP-endIPfor scanning. -
-por--port: Specifies the port on which the scan should be performed. Applicable in TLS, Probe, and Sweep scans. -
-sor--server: Specifies the SSH server (domain or IP address) to be used for sending SSH requests. -
-dor--payload: Specifies a custom payload for the SSH scan. If omitted, the inbuilt default payload will be used.
For any questions or support,reach out via Telegram: pirozas