diff --git a/Cargo.toml b/Cargo.toml index 229ed28..851810b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "feroxbuster" -version = "1.9.0" +version = "1.9.1" authors = ["Ben 'epi' Risher "] license = "MIT" edition = "2018" diff --git a/src/config.rs b/src/config.rs index 9fe8bf3..b174027 100644 --- a/src/config.rs +++ b/src/config.rs @@ -436,6 +436,9 @@ impl Configuration { // merge the cli options into the config file options and return the result Self::merge_config(&mut config, cli_config); + // rebuild clients is the last step in either code branch + Self::try_rebuild_clients(&mut config); + config } @@ -649,8 +652,6 @@ impl Configuration { } } - Self::try_rebuild_clients(&mut config); - config } diff --git a/tests/test_scanner.rs b/tests/test_scanner.rs index d53d0a3..8155366 100644 --- a/tests/test_scanner.rs +++ b/tests/test_scanner.rs @@ -396,8 +396,6 @@ fn scanner_single_request_replayed_to_proxy() -> Result<(), Box