42 Commits
Author SHA1 Message Date
dependabot[bot] 3ec2b8cefc chore: Bump tokio from 1.28.2 to 1.29.1 (#1370)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.2 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 16:39:24 +01:00
Amaury 5ca4dfa5ec refactor!: Use verify method for known providers (#1366)
BREAKING CHANGE: For Hotmail, Gmail and Yahoo addresses, the `*_use_api` and `*_use_headless` parameters have been removed and replaced with a `*VerifyMethod`, an enum which can take value Api, Headless or Smtp. If using headless, pass a webdriver address to env variable RCH_WEBDRIVER_ADDR.
2023-10-25 17:39:35 +02:00
Amaury 6f0f12b8cf feat: Yahoo account recovery via headless (#1364)
BREAKING CHANGE: `input.hotmail_use_headless` is now a bool instead of a string. Pass the webdriver address as an environment variable `RCH_WEBDRIVER_ADDR` now.
2023-10-25 13:05:54 +00:00
Amaury 6fd670d137 chore: Update header date 2023-10-24 18:47:34 +02:00
dependabot[bot] d10a0d7b43 chore: Bump once_cell from 1.17.1 to 1.18.0 (#1350)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.1 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.18.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 17:41:06 +02:00
dependabot[bot] e408a62f29 chore: Bump tokio from 1.26.0 to 1.28.2 (#1318)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.26.0 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.28.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 10:03:36 -07:00
dependabot[bot] 59889b1618 chore: Bump tokio from 1.25.0 to 1.26.0 (#1280)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 16:39:50 +01:00
Sylvain Reynaud 166dbd2cc8 feat(#289): add haveibeenpwned check (#1253) 2023-02-15 23:02:48 +01:00
dependabot[bot] 475d9efd94 chore: Bump tokio from 1.24.2 to 1.25.0 (#1264)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-03 20:18:29 +01:00
Amaury 9fae593b85 fix(core): Fix MX random record selection (#1263)
* fix(core): Fix MX random record selection

* fix clippy

* Fix clippy

* Fix clippy

* fix clippy (last?)

* fix clippy
2023-02-03 20:00:19 +01:00
dependabot[bot] 1d2000388f chore: Bump tokio from 1.24.1 to 1.24.2 (#1258)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/commits)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 12:07:58 +01:00
dependabot[bot] a5a5124e30 chore: Bump once_cell from 1.16.0 to 1.17.0 (#1249)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.16.0...v1.17.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 11:57:44 +01:00
dependabot[bot] 2d7d869575 chore: Bump tokio from 1.23.0 to 1.24.1 (#1252)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-16 11:57:34 +01:00
Amaury a4fe57e9ab fix(cli): Update flags default values 2023-01-09 18:34:01 +01:00
dependabot[bot] 080d405591 chore: Bump tokio from 1.22.0 to 1.23.0 (#1240)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.23.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-15 17:11:00 +01:00
dependabot[bot] 118ee1cb1c chore: Bump env_logger from 0.9.1 to 0.10.0 (#1235)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.1...v0.10.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 10:13:48 +01:00
dependabot[bot] bef2ca5d50 chore: Bump tokio from 1.21.2 to 1.22.0 (#1227)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.2 to 1.22.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.2...tokio-1.22.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-21 17:11:55 +01:00
Amaury M 51cdb2e3c1 fix(core): Fix hotmail headless with authenticator 2022-11-17 23:50:53 +01:00
dependabot[bot] 554f1d5c45 chore: Bump once_cell from 1.15.0 to 1.16.0 (#1213)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 10:02:56 +01:00
Roger G. CoramandAmaury 5d3c49f41e feat: add Microsoft 365 HTTP API validation (#1194)
* feat: add Outlook HTTP API validation

- check the validity of Outlook/Office 365 email addresses via the
  method outlined
  [here](https://www.trustedsec.com/blog/achieving-passive-user-enumeration-with-onedrive/).
- run only via the `--outlook-use-api` flags (defaulting to `false`.)

relates #937

* fix: restrict Office 365 domain

use `.mail.protection.outlook.com.` for domains backed by Outlook/Office
365.

* fix: continue for non-definitive responses from Outlook API

if using `--outlook-use-api`, only return immediately in the event of a
positive response: negative responses are ambiguous and the process
should fall back to subsequent checks.

* fix: amend Outlook references

update references to "Microsoft 365" to make is more explicit that this
pertains to the underlying services, not Outlook addresses.

* fix: continue in the event of a ReqwestError

allow both failures in the HTTP request and 404 responses to continue.

Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2022-10-11 16:13:11 +00:00
Roger G. CoramandPsypherPunk 49c8f5c3b4 feat: additional Gmail validation (#1193)
* feat: additional Gmail validation

- check the validity of `gmail.com`/`googlemail.com` email addresses via
  the method outlined
  [here](https://blog.0day.rocks/abusing-gmail-to-get-previously-unlisted-e-mail-addresses-41544b62b2).
- run only via the `--gmail-use-api`/`gmail_use_api` flags (defaulting
  to `false`.)

relates #937

* refactor: split out HTTP client

move the `create_client` method to a separate file; have the `yahoo` and
`gmail` modules reference this.

* test: add test for Gmail HTTP API

verify Gmail HTTP API behaviour with `someone@gmail.com`, failure
indicating that the API is no longer reliable.

* fix: correct host checks for Gmail HTTP API

should check as per the MX host:

- for gmail.com or googlemail.com, this will look like
  `*.gmail-smtp-in.l.google.com.`.
- for Google Apps/Workspace domains, this will look like
  `*.aspmx.l.google.com.`.

Co-authored-by: PsypherPunk <psypherpunk+github@gmail.com>
2022-10-06 15:54:17 +02:00
Daniel Huth 6a26035327 feat(core): Add check gravatar image (#1188)
* feat(core): Add check gravatar image

* Add missing changes

* Fix compilation

* Fix tests

* Apply PR feedback

* Don't panic
2022-10-04 23:11:21 +02:00
dependabot[bot] fafc741bfd chore: Bump tokio from 1.21.0 to 1.21.2 (#1186)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.21.0 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.0...tokio-1.21.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 13:21:43 +02:00
dependabot[bot] 6781ab9427 chore: Bump once_cell from 1.14.0 to 1.15.0 (#1183)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 12:15:14 +02:00
dependabot[bot] 1eb17061d4 chore: Bump once_cell from 1.13.1 to 1.14.0 (#1173)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.13.1...v1.14.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 21:19:23 +02:00
dependabot[bot] 823af574b7 chore: Bump tokio from 1.20.1 to 1.21.0 (#1170)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.20.1...tokio-1.21.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-05 19:58:52 +02:00
Amaury 7517ed98ba feat(core): Add Hotmail checks via headless password recovery (#1165)
* feat(core): Add Hotmail checks via headless password recovery

* add to backend too

* Fix dockerfile

* bump to 0.9.1
2022-08-29 22:51:19 +02:00
Amaury 9b6cafcb6f chore: Update to v0.9.0 (#1153) 2022-08-15 13:37:16 +02:00
Amaury ce1ba53468 feat: Revert back to check_email input with single email (#1150)
BREAKING CHANGE:

The library's main function `check_email`'s argument `CheckEmailInput` nows takes a single `to_email` field, instead of a `to_emails: Vec<String>`

```diff
pub struct CheckEmailInput {
- pub to_emails: Vec<String>,
+ pub to_email: String,
  // --snip--
}
```

This effectively makes the public API more similar to the v0.7.* series. I'm still thinking about how to best verify multiple emails in one SMTP connection, but it most likely will be a new function with a different API. Follow [issue #65](https://github.com/reacherhq/check-if-email-exists/issues/65) for more info.
2022-08-15 13:04:09 +02:00
Amaury 71843720c9 refactor!: Remove HTTP backend from CLI (#1151)
* refactor!: Remove HTTP backend from CLI

* Remove travis
2022-08-15 12:01:17 +02:00
dependabot[bot] 5fd5e80e8d chore: Bump clap from 3.2.16 to 3.2.17 (#1139)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.16 to 3.2.17.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.17/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.16...v3.2.17)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 11:08:12 +02:00
Amaury 0dc60531d2 feat: Move backend code to this repo (#1138)
* add placeholder

* add pacakge

* Rename action

* re-rename

* add backdne ci

* fix action

* Remove one ci file

* Add shortcut

* Attempt to fix docker deploy?

* Update readme

* wip

* wip

* Update readme

* emoji

* image height

* image

* 60 image

* pixel perfect

* wording

* try link

* try a

* add docs

* not using beta

* wording

* don't use tabs

* wording

* add full docs.rs

* remove you can

* tweaks

* self-host guide

* No remojis in linsk

* Try relative path

* add readme.md

* typo

* flasgs
2022-08-15 10:38:44 +02:00
Amaury 329af49d06 refactor: Move CLI to subfolder (#1137)
* Move CLI to subfolder

* Fix clippy

* 0.8.32

* Fix docs
2022-08-13 22:14:45 +02:00
Amaury Martiny cba124110b feat: Add Dockerfile & x86_64-unknown-linux-musl target (#86)
BREAKING CHANGE:

- The `is_disposable` subfield has been moved from the `mx` field to a separate `misc` field
2019-12-02 00:17:08 +01:00
Amaury Martiny d8b733e5a5 feat: Add a HTTP server behind the --http flag (#85)
* Add hyper

* Make it compile

* Make HTTP work!

* Add `input` field in response

* Fix tests

* Better error management

* Use tabs
2019-12-01 11:51:48 +01:00
Amaury Martiny 618a4c4758 refactor: Use default-run and put binary in cli/ (#81) 2019-11-20 17:53:38 +01:00
Amaury Martiny 6c93893273 fix: Don't use virtual workspace, be able to build (#59)
* fix: Don't use virtual workspace, be able to build

* Update to 0.3.1
2019-09-26 20:19:54 +02:00
Amaury Martiny aad2a0a02d chore(cli): Remove HTTP for now (#57)
* chore: Remove HTTP for now

* Update README
2019-09-26 18:37:29 +02:00
Amaury Martiny c39301bde2 refactor: Use virtual workspace (#54) 2019-09-26 16:53:22 +02:00
Amaury Martiny 9616ef5bcf fix: Refactor app to make travis build binaries (#17)
* Update chamgelog

* Remove workspace

* Bump to 0.2.1
2019-05-09 23:07:56 +02:00
Amaury Martiny e966f8e41e chore: Bump package versions to 0.2.0 (#16)
* Update readme, bump to 0.2.0

* Update readme

* Add badge
2019-05-09 22:02:45 +02:00
Amaury Martiny 532c4ebcb4 feat: Add serverless function (#15)
* Add serverless

* Make serverless work

* Make code cleaner

* Add --bin
2019-05-09 21:29:32 +02:00