1Rex::Commands::SimpleChUescekr(3C)ontributed Perl DocumeRnetxa:t:iCoonmmands::SimpleCheck(3)
2
3
4
6 Rex::Commands::SimpleCheck - Simple tcp/alive checks
7
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
16 if(is_port_open($remote_host, $port)) {
17 print "Port $port is open\n";
18 }
19
21 is_port_open($ip, $port)
22 Check if something is listening on port $port of $ip.
23
24
25
26perl v5.28.0 2017-03-01 Rex::Commands::SimpleCheck(3)