class Mysql::AuthenticationPacket
Add parsing of auth packets
Public Class Methods
parse(_pkt)
click to toggle source
Parse the incoming authentication packet
# File lib/nose/proxy/mysql.rb, line 239 def self.parse(_pkt) # XXX: Unneeded for now since we don't handle auth # client_flags = pkt.ulong # max_packet_size = pkt.ulong # charset_number = pkt.lcb # f1 = pkt.read(23) # username = pkt.string # scrambled_password = pkt.lcs # databasename = pkt.string end