I need to verify that some TCP/UDP ports are open. As a source I have a client and as a destination I have another one. The sensor used is Custom EXE/Script Sensor. The EXE file to connect to the source client is PsExec of Windows Sysinternals and the port scanner (copied to the client) is PortQry from Microsoft download center. Setting of the sensor:
EXE/Script: PsExec.exe
Parameters:
\\x.x.x.x -nobanner cmd /c "C:\Temp\PortQry.exe -n x.x.x.x -e portxxxx -nr -q"
the result is always:
Response not well-formed: "( ■S
launched by console the result is (Ok):
cmd exited on x.x.x.x with error code 0.
launched by console the result is (Fail):
cmd exited on x.x.x.x with error code 1.
How can I read it in the sensor correctly?
Thanks
Add comment