Class: BetterCap::Network::Protos::MySQL::Packet

Inherits:
Base
  • Object
show all
Defined in:
lib/bettercap/network/protos/mysql.rb

Constant Summary

Constants inherited from Base

Base::TYPES

Instance Method Summary collapse

Methods inherited from Base

method_missing, offset, parse, size

Instance Method Details

#is_auth?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/bettercap/network/protos/mysql.rb', line 32

def is_auth?
  @packet_number == 1 and !@username.nil? and @ext_client_capabilities != 0 and @plen > 0
end