fluidasserts.proto.tcp module

This module allows to check TCP-specific vulnerabilities.

fluidasserts.proto.tcp.is_port_insecure(ipaddress, port)

Check if a given port on an IP address is insecure.

Parameters
  • ipaddress (str) – IP address to test.

  • port (int) – Port to connect to.

Return type

bool

fluidasserts.proto.tcp.is_port_open(ipaddress, port)

Check if a given port on an IP address is open.

Parameters
  • ipaddress (str) – IP address to test.

  • port (int) – Port to connect to.

Return type

bool