Automating email verification for online accounts using JavaScript

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • GitHub repo puppeteer

    Headless Chrome Node.js API

    puppeteer to access the link href inside an automated browser environment (these verification systems use redirects and JavaScript so sending a simple GET request will not do in most cases)

  • GitHub repo Nodemon.io

    Monitor for any changes in your node.js application and automatically restart the server - perfect for development

    nodemon: this devDependency automatically reruns our app when a file in the project changes. Run:

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo node

    Node.js JavaScript runtime :sparkles::turtle::rocket::sparkles:

    cd into it and npm init (assuming you have node.js installed

  • GitHub repo mitmproxy

    An interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers.

    To automate the creation of online accounts, we need to perform the same http requests that a user does when signing up programmatically. If it is a website, you can use the DevTools to inspect the network traffic and look it up. If it is an app, you can use an emulator and a tool like mitmproxy to monitor http requests. Then you can write a quite simple script which creates hundreds of user accounts in a matter of seconds.

  • GitHub repo Express

    Fast, unopinionated, minimalist web framework for node.

    express to setup a server that listens for incoming http requests

  • GitHub repo cheerio

    Fast, flexible, and lean implementation of core jQuery designed specifically for the server.

    cheerio to parse the HTML structure of an incoming email and filter out the link we need to click to verify our email address by an attribute (in this case the text Content of the link but it could be any html attribute)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts