-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
-
Matching operator (-match) returns Boolean value, but $ldap_port should be assigned actual port number as the variable is later used in NetCat test. With current implementation, NetCat test always fails.
-
Regular expression expects colon (":"), however value in $ldap_portspec contains only port number without colon. Therefore result is always $false.
| $ldap_port = $ldap_portspec -match ":([0-9]+)" |
Metadata
Metadata
Assignees
Labels
No labels