Skip to content

[New Module] Add username support for openstreetmap.py #307

@kaifcodec

Description

@kaifcodec

Description

Add a new username validation module named openstreetmap.py. This module should be placed in the user_scanner/user_scan/social/ directory.

Technical Details

  • Site Name: OpenStreetMap
  • Base URL: https://www.openstreetmap.org/user/{username}
  • Category: social

Instructions for Contributors

  1. Analyze the Target: Use Browser DevTools, a Proxy, or curl to analyze how the site responds. Note that OpenStreetMap typically returns a 404 status for missing users.
  2. Validation Logic: * Always prefer using generic_validate() with a process callback.
    • Use your tools to find unique response strings. For example, look for keywords like "Mapper since:" on valid profiles, or check if their 404 page uses phrases like "does not exist" to identify an available username.
    • Avoid using status_validate() (status codes only) unless the site provides zero unique strings.
  3. Bot Detection & CAPTCHAs: If your analysis reveals that the site is heavily protected by CAPTCHAs, Cloudflare challenges, or aggressive anti-bot blocks that prevent consistent scanning, report it immediately in the comments so we can close the issue.
  4. Manual Recon: Manually test with a known existing account and a guaranteed non-existent account to find the most reliable identifiers in the response body.
  5. Code Consistency: Check the existing modules in user_scan/social/ to ensure your implementation matches our current structure and imports.
  6. Local Verification: Run the tool locally and verify your module works as expected before submitting your PR.

Metadata

Metadata

Assignees

Labels

good first issueGood for newcomersuser module additionPRs or issues related to new user_scan module additions

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions