fluidasserts.proto.smb module

This module allows to check SMB vulnerabilities.

fluidasserts.proto.smb.has_dirlisting(server, share, user=None, password=None, domain='WORKGROUP')

Check if an SMB share has dirlisting.

Parameters
  • share (str) – The name of the shared folder.

  • *args – Optional arguments for SMB connect.

  • **kwargs – Optional arguments for SMB connection.

Return type

tuple

fluidasserts.proto.smb.is_anonymous_enabled(server, domain='WORKGROUP')

Check if anonymous login is possible over SMB.

Parameters
  • server (str) – The NetBIOS machine name of the remote server.

  • domain (str) – The network domain/workgroup. Defaults to ‘WORKGROUP’

Return type

tuple

fluidasserts.proto.smb.is_signing_disabled(server, user, password, domain='WORKGROUP')

Check if SMB connection uses signing.

Parameters
  • server – The NetBIOS machine name of the remote server.

  • user – Username to authenticate SMB connection.

  • password – Password for given user.

  • domain – The network domain/workgroup. Defaults to ‘WORKGROUP’