logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

       With this module you can do simple tcp/alive checks.

       Version <= 1.0: All these functions will not be reported.

       All these functions are not idempotent.

Exported Functions

is_port_open($ip,$port)
       Check if something is listening on port $port of $ip.

perl v5.40.0                                       2025-02-06                    Rex::Commands::SimpleCheck(3pm)

Name

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

Synopsis

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

See Also