revealer

package module
v0.0.0-...-d732853 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2018 License: MIT Imports: 5 Imported by: 0

README

Revealer

Build Status Go Report Card GoDoc

A go (or 'golang' for search engine friendliness) tool for "de-obfuscating" email addresses. Pass in an obfuscated email in string format and it will attempt to figure out the valid email address.

NOTE: Requires Go 1.10 or above due to use of "strings.Builder".

Examples

See the project documentation for examples of usage.

Project Status & Versioning

The API should be considered stable. Feedback and feature requests are appreciated.

This project uses Semantic Versioning 2.0.0. Accepted pull requests will land on master. Periodically, versions will be tagged from master. You can find all the releases on the project releases page.

More

Documentation can be found on godoc.org.

TODO

  • Make sure we handle Unicode properly
  • Support international addresses/punycode
References

http://jasonpriem.com/obfuscation-decoder/ https://stackoverflow.com/questions/2049502/what-characters-are-allowed-in-an-email-address https://en.wikipedia.org/wiki/Email_address#Local-part https://social.technet.microsoft.com/Forums/ie/en-US/69f393aa-d555-4f8f-bb16-c636a129fc25/what-are-valid-and-invalid-email-address-characters?forum=exchangesvradminlegacy

Documentation

Overview

Package revealer will "de-obfuscate" email addresses. It has been tested on a fairly large corpus of obfuscated email addresses.

See README.md for more info.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fix

func Fix(email string) (string, error)

Fix "de-obfucates" email addresses

Example
result, err := Fix("test [at] example (dot) edu")
if err != nil {
	fmt.Println(err)
}
fmt.Println(result)
Output:

test@example.edu

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL