PortListenCheck

Checks whether a port was open on given host.

python · Common Scripts

Details

IDPortListenCheck
Languagepython
From Version5.0.0
Docker Imagedemisto/python3:3.12.13.10404775

README

Checks whether a port was open on a given host.

Script Data


Name Description
Script Type python
Tags -

Inputs


Argument Name Description
host The hostname to check.
port The port to check.

Outputs


Path Description Type
portOpen Whether the given port on a host was open. Returns true if it is. boolean
commonfields:
  id: PortListenCheck
  version: -1
name: PortListenCheck
script: ''
type: python
subtype: python3
tags: []
comment: Checks whether a port was open on given host.
enabled: true
args:
- name: host
  required: true
  description: Hostname to check.
- name: port
  description: Port to check.
  required: true
outputs:
- contextPath: portOpen
  description: Returns true if given port on host was open.
  type: boolean
scripttarget: 0
fromversion: 5.0.0
dockerimage: demisto/python3:3.12.13.10404775
tests:
- No tests (auto formatted)