ariskk / burner4s

Burner email look up tool for Scala

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Burner4s

Look up email addresses against a burner email database of 60K+ temporary email providers (aka single-use email addresses).

The tool is based on this list

Many of those providers allow programmatic creation and enable horrible application layer attacks.

Usage

Add the following to build.sbt

libraryDependencies += "com.ariskk" %% "burner4s" % "0.1.7"

Up to version 0.1.5, only Scala 2.12 and 2.13 are supported. 0.1.6 introduced Scala 3 support.

And then:

import com.ariskk.burner4s.BurnerDB

val isBurner: Boolean = BurnerDB.contains("someone@gmail.com")

Or even

val isBurner: Boolean = BurnerDB.contains("gmail.com")

The implementation essentially loads the database into a Set and looks up the domain of the address. It uses ~3MB of memory.

About

Burner email look up tool for Scala

License:MIT License


Languages

Language:Scala 100.0%