use super::sqli_data;
pub fn is_blacklisted(fingerprint: &str) -> bool {
if fingerprint.is_empty() {
return false;
}
let mut fp2 = String::with_capacity(8);
fp2.push('0');
for ch in fingerprint.chars() {
if ch >= 'a' && ch <= 'z' {
fp2.push((ch as u8 - 0x20) as char);
} else {
fp2.push(ch);
}
}
sqli_data::lookup_word(&fp2) == crate::sqli::TokenType::Fingerprint
}