mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
Convert MD5 hash to lowercase before database query.
This commit is contained in:
parent
b5ebf29cc5
commit
ee77b930cf
@ -171,7 +171,7 @@ class EvalFileObj extends EvaluatableObject {
|
||||
for (HashType h : obj.getHashes().getHashes()) {
|
||||
if (h.getSimpleHashValue() != null) {
|
||||
if (h.getType().getValue().equals("MD5")) { //NON-NLS
|
||||
String newClause = "md5=\'" + h.getSimpleHashValue().getValue() + "\'"; //NON-NLS
|
||||
String newClause = "md5=\'" + h.getSimpleHashValue().getValue().toString().toLowerCase() + "\'"; //NON-NLS
|
||||
whereClause = addClause(whereClause, newClause);
|
||||
} else {
|
||||
addWarning("Could not process hash type " + h.getType().getValue().toString()); //NON-NLS
|
||||
|
Loading…
x
Reference in New Issue
Block a user