Gravar-mail: Query log analysis for SQL injection detection