-
-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Facebook token configuration option.
Please see https://git.io/fjNMA for more info. Also we now don't declare CT API URLs if they aren't going to be used resulting in a performance improvement.
- Loading branch information
Showing
4 changed files
with
70 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "findomain" | ||
version = "0.2.1" | ||
version = "0.2.2" | ||
authors = ["Eduard Toloza <[email protected]>"] | ||
edition = "2018" | ||
description = "The fastest and cross-platform subdomain enumerator, don't waste your time." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
use std::env; | ||
|
||
pub fn get_auth_token(api: &str) -> String { | ||
if api == "facebook" { | ||
match env::var("findomain_fb_token") { | ||
Ok(token) => token, | ||
Err(_) => String::from(""), | ||
} | ||
} else { | ||
String::from("") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: findomain | ||
version: "0.2.1" | ||
version: "0.2.2" | ||
author: Eduard Tolosa <[email protected]> | ||
settings: | ||
- ArgRequiredElseHelp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters