Pmap is a PowerShell-based, multithreaded alternative to Nmap, designed for network port scanning without requiring elevated privileges. This tool is ideal for environments where Nmap is unavailable or restricted, but PowerShell is accessible.
- Multithreaded Scanning: Utilizes multithreading to perform scans efficiently.
- Flexible Targeting: Scan one or multiple IP addresses (comma-separated).
- Quick and Full Scans: Options for scanning the top 1000 most common ports, a full range (1-65535), or custom ranges.
- Customizable Scanning: Define specific ports or ranges to scan using various command-line flags.
- Verbose Output: Option to display each port's open or closed status.
- Platform Compatibility: Works on any Windows machine with PowerShell, making it a versatile tool for restricted environments.
- PowerShell 5.0 or later: The script requires at least PowerShell version 5.0, which is included in most recent Windows installations.
- No external dependencies: The script operates independently, without the need for additional tools or modules.
Clone the repository or download the scripts directly:
git clone https://github.com/tekshteint/Pmap.git
.\pmap.ps1 -targets 10.34.56.66,10.34.56.67
.\pmap.ps1 -targets 10.34.56.66 -quickScan
.\pmap.ps1 -targets 10.34.56.66 -pMin 1024 -pMax 2000
.\pmap.ps1 -targets 10.34.56.66 -ports 21,22,23,25,80,443,8080,8443
.\pmap.ps1 -targets 10.34.56.66 -verbose *> output.txt
.\pmap.ps1 -targets 10.34.56.66 -discover
.\pmap.ps1 -targets 192.168.1.1/24 -discover -verbose