Call ProtocolConfirmation in MySQL analyzer.

This commit is contained in:
Vlad Grigorescu 2016-03-17 13:49:06 -05:00
parent f5ce4785ea
commit e8bdf14bfd

View file

@ -19,6 +19,10 @@ refine flow MySQL_Flow += {
function proc_mysql_handshake_response_packet(msg: Handshake_Response_Packet): bool function proc_mysql_handshake_response_packet(msg: Handshake_Response_Packet): bool
%{ %{
if ( ${msg.version} == 9 || ${msg.version == 10} )
{
connection()->bro_analyzer()->ProtocolConfirmation();
}
if ( mysql_handshake ) if ( mysql_handshake )
{ {
if ( ${msg.version} == 10 ) if ( ${msg.version} == 10 )