Skip to content

issue #147 - Recognize GTUBE string as test spam#148

Open
sidney wants to merge 1 commit into
SpamExperts:masterfrom
sidney:gtube
Open

issue #147 - Recognize GTUBE string as test spam#148
sidney wants to merge 1 commit into
SpamExperts:masterfrom
sidney:gtube

Conversation

@sidney

@sidney sidney commented Jan 10, 2023

Copy link
Copy Markdown

Details are in issue #147

Comment thread pyzor/digest.py
Comment on lines +93 to +96
# Any email containing the GTUBE pattern will be forced to the same digest hash
if self.gtube_pattern in line:
lines = [self.gtube_pattern.encode("utf8", "ignore")]
break

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it useful to do this per line ?
why not
if self.gtube_pattern in payload:

@bitsikas bitsikas Sep 6, 2024

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or even
payload.find(self.gtube_pattern)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants