Skip to content

feat: add Disqus email scan module - #426

Merged
kaifcodec merged 1 commit into
kaifcodec:mainfrom
brunolm:feat/add-disqus-email-module
Jul 19, 2026
Merged

feat: add Disqus email scan module#426
kaifcodec merged 1 commit into
kaifcodec:mainfrom
brunolm:feat/add-disqus-email-module

Conversation

@brunolm

@brunolm brunolm commented Jul 19, 2026

Copy link
Copy Markdown
Collaborator

Adds an email-existence scan module for Disqus.

How it works

  • GET https://disqus.com/profile/signup/ to grab the csrfmiddlewaretoken, then POST the same URL with the email, a blank password, and the required consent checkboxes.
  • The blank password makes the form always fail validation, so no account is ever created. Django surfaces the email-uniqueness error before the reCAPTCHA check, so the signal is reachable unauthenticated (no captcha token needed).

Signal

  • Registered → body contains The e-mail address you specified is already in useResult.taken
  • Not registered → marker absent but the form still returns an errorlist (the blank-password error, confirming the form ran) → Result.available
  • Neither → Result.error (guards against a block page / redesign silently reading as available)

Testing

  • Verified live end-to-end: a registered address returns Registered, a random unregistered address returns Not Registered.
  • Auto-discovered (no registry changes). Full test suite passes (only the pre-existing *_unreadable tests fail, and only on Windows).

@kaifcodec kaifcodec left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

LGTM.

@kaifcodec
kaifcodec merged commit 7166930 into kaifcodec:main Jul 19, 2026
2 checks passed
@kaifcodec kaifcodec added the email module addition PRs or issues related to new email_scan module additions label Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

email module addition PRs or issues related to new email_scan module additions

2 participants