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
Write-Warning-Message "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."
167
179
}
168
180
169
181
# Check if it is possible to assign service with port --> import xml-file
170
-
if([System.IO.File]::Exists($XML_PortList_Path))
182
+
if($Xml_PortList_Available)
171
183
{
172
184
$AssignServiceWithPort=$true
173
185
@@ -178,12 +190,6 @@ Process{
178
190
$AssignServiceWithPort=$false
179
191
}
180
192
181
-
# Validate Port-Range
182
-
if($StartPort-gt$EndPort)
183
-
{
184
-
throw"Invalid Port-Range... Check your input!"
185
-
}
186
-
187
193
# Check if host is reachable
188
194
Write-Verbose-Message "Test if host is reachable..."
0 commit comments