Nmap::Scanner::Util::BannerScanner(3p)

  NAME
BannerScanner - base class for performing banner scans [DEPRECATED]

  regex()
Regular expression to use to match the banner in the remote system output.

  send_on_connect()
Protocol string to send once a connection to the remote host has been successfully made.

  register_scan_complete_event()
Pass in a reference to a function that will be called when the banner is found. The function will receive three arguments: a reference to self (object reference of caller), a reference to an Host object representing the remote host, and the banner as captured.