You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Powerful asynchronus Port-Scanner which returns a custom PowerShell-Object with basic informations about the scanned Port-Range include Port-Number, Protocol, Service-Name, Service-Description and Status.
3
+
Powerful asynchronus IPv4 Port Scanner for PowerShell.
4
4
5
5
## Description
6
6
7
-
This is a powerful asynchronus Port-Scanner working with the PowerShell RunspacePool. You can scan any Port-Range you want. The result will show you all open ports Port-Number, Protocol, Service-Name, Service-Description and Status.
8
-
9
-
This script also work fine along with my [asychronus IP-Scanner](https://github.com/BornToBeRoot/PowerShell_Async-IPScanner) published on GitHub too. You can easily pipe the output of the IP-Scanner result in this script.
7
+
This powerful asynchronus IPv4 Port Scanner allows you to scan every Port-Range you want (500 to 2600 would work). Only TCP-Ports are scanned.
10
8
11
-

9
+
The result will contain the Port number, Protocol, Service name, Description and the Status.
To reach the best possible performance, this script uses a [RunspacePool](https://msdn.microsoft.com/en-US/library/system.management.automation.runspaces.runspacepool(v=vs.85).aspx). As you can see in the following screenshot, the individual tasks are distributed across all cpu cores:
You may want to update the official "Service Name and Transport Protocol Port Number Registry" from IANA... Just add the parameter "-UpdateListFromIANA".
and if no port list is available (should never happend, because it's uploaded on Github)
51
-
52
-
```powershell
53
-
Port Protocol Status
54
-
---- -------- ------
55
-
21 tcp open
56
-
53 tcp open
57
-
80 tcp open
58
-
139 tcp open
59
-
445 tcp open
60
-
```
61
-
62
-
## Offical Port List
63
-
64
-
*[Service Name and Transport Protocol Port Number Registry - IANA.org](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xml)
Write-Host'No xml-file to assign service with port found! Use the parameter "-UpdateList" to download the latest version from IANA.org. This warning doesn`t affect the scanning procedure.'
169
+
Write-Host'No xml-file to assign service with port found! Use the parameter "-UpdateList" to download the latest version from IANA.org. This warning doesn`t affect the scanning procedure.'-ForegroundColor Yellow
117
170
}
118
171
172
+
# Check if it is possible to assign service with port --> import xml-file
Write-Progress-Activity "Waiting for jobs to complete... ($($Threads-$($RunspacePool.GetAvailableRunspaces())) of $Threads threads running)"-Id 1-PercentComplete $Progress_Percent-Status "$Jobs_Remaining remaining..."
0 commit comments