mirror of
https://github.com/SpecterOps/Nemesis
synced 2026-06-08 12:36:42 +00:00
Fix to keep strings.txt from sqlite dbs from processing
-Fix to keep strings.txt from sqlite dbs from processing
This commit is contained in:
@@ -105,7 +105,7 @@ class SqliteParser(EnrichmentModule):
|
||||
"sqlite 3.x database" in file_enriched.magic_type.lower()
|
||||
or file_enriched.file_name.lower().endswith(".sqlite")
|
||||
)
|
||||
return should_run
|
||||
return (should_run and not file_enriched.is_plaintext)
|
||||
|
||||
def _analyze_sqlite_database(self, file_path: str, file_enriched) -> EnrichmentResult | None:
|
||||
"""Analyze SQLite database file and generate enrichment result.
|
||||
|
||||
Reference in New Issue
Block a user