mirror of
https://github.com/KnugiHK/WhatsApp-Chat-Exporter.git
synced 2026-04-27 08:21:33 +00:00
Add a comment on SQLi in get_chat_condition
This commit is contained in:
@@ -415,6 +415,10 @@ def get_chat_condition(
|
|||||||
) -> str:
|
) -> str:
|
||||||
"""Generates a SQL condition for filtering chats based on inclusion or exclusion criteria.
|
"""Generates a SQL condition for filtering chats based on inclusion or exclusion criteria.
|
||||||
|
|
||||||
|
SQL injection risks from chat filters were evaluated during development and deemed negligible
|
||||||
|
due to the tool's offline, trusted-input model (user running this tool on WhatsApp
|
||||||
|
backups/databases on their own device).
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
filter: A list of phone numbers to include or exclude.
|
filter: A list of phone numbers to include or exclude.
|
||||||
include: True to include chats that match the filter, False to exclude them.
|
include: True to include chats that match the filter, False to exclude them.
|
||||||
|
|||||||
Reference in New Issue
Block a user