fluidasserts.proto.ftp module

This module allows to check FTP-specific vulnerabilities.

fluidasserts.proto.ftp.is_a_valid_user(ip_address, username, password, port=21)

Check if given credentials are valid in FTP service.

Parameters
  • ip_address (str) – IP address to connect to.

  • username (str) – Username to check.

Return type

tuple

fluidasserts.proto.ftp.is_admin_enabled(ip_address, password, username='root', port=21)

Check if FTP service allows admin login.

Parameters
  • ip_address (str) – IP address to connect to.

  • username (str) – Username to check.

  • password (str) – Password to check.

Return type

tuple

fluidasserts.proto.ftp.is_anonymous_enabled(ip_address, port=21)

Check if FTP service allows anonymous login.

Parameters

ip_address (str) – IP address to connect to.

Return type

tuple

fluidasserts.proto.ftp.user_without_password(ip_address, username, port=21)

Check if a user can login without password.

Parameters
  • ip_address (str) – IP address to connect to.

  • username (str) – Username to check.

Return type

tuple