fixed macro import/export

This commit is contained in:
epi
2020-12-29 12:15:37 -06:00
parent 19a65483e8
commit 8f6c2e2e65
4 changed files with 5 additions and 5 deletions

View File

@@ -4,8 +4,9 @@ use crate::{
scanner::should_filter_response,
statistics::{StatCommand, StatError},
utils::{ferox_print, format_url, get_url_path_length, make_request, status_colorizer},
FeroxResponse,
FeroxResponse
};
use console::style;
use indicatif::ProgressBar;
use tokio::sync::mpsc::UnboundedSender;

View File

@@ -1,3 +1,4 @@
pub mod utils;
pub mod banner;
pub mod client;
pub mod config;
@@ -11,7 +12,6 @@ pub mod reporter;
pub mod scan_manager;
pub mod scanner;
pub mod statistics;
pub mod utils;
use crate::utils::{get_url_path_length, status_colorizer};
use console::{style, Color};

View File

@@ -1,6 +1,4 @@
use crossterm::event::{self, Event, KeyCode};
#[macro_use(update_stat)]
extern crate feroxbuster;
use feroxbuster::{
banner,
config::{CONFIGURATION, PROGRESS_BAR, PROGRESS_PRINTER},
@@ -12,7 +10,7 @@ use feroxbuster::{
scanner::{self, scan_url, send_report, RESPONSES, SCANNED_URLS},
statistics::{self, StatCommand},
utils::{ferox_print, get_current_depth, module_colorizer, status_colorizer},
FeroxError, FeroxResponse, FeroxResult, FeroxSerialize, SLEEP_DURATION, VERSION,
FeroxError, FeroxResponse, FeroxResult, FeroxSerialize, SLEEP_DURATION, VERSION, update_stat
};
#[cfg(not(target_os = "windows"))]
use feroxbuster::{utils::set_open_file_limit, DEFAULT_OPEN_FILE_LIMIT};

View File

@@ -1,3 +1,4 @@
#![macro_use]
use crate::statistics::{
StatCommand::{self, AddError, AddRequest, AddStatus},
StatError::{Connection, Other, Redirection, Request, Timeout},