1Rex::Commands::SimpleChUescekr(3C)ontributed Perl DocumeRnetxa:t:iCoonmmands::SimpleCheck(3)
2
3
4

NAME

6       Rex::Commands::SimpleCheck - Simple tcp/alive checks
7

DESCRIPTION

9       With this module you can do simple tcp/alive checks.
10
11       Version <= 1.0: All these functions will not be reported.
12
13       All these functions are not idempotent.
14

SYNOPSIS

16        if(is_port_open($remote_host, $port)) {
17          print "Port $port is open\n";
18        }
19

EXPORTED FUNCTIONS

21   is_port_open($ip, $port)
22       Check if something is listening on port $port of $ip.
23
24
25
26perl v5.34.0                      2022-01-19     Rex::Commands::SimpleCheck(3)
Impressum