CBRid4SQL: A CBR Intrusion Detector for SQL Injection Attacks.