pub struct RedDBConfig {Show 15 fields
pub verbose: bool,
pub no_color: bool,
pub output_format: String,
pub output_file: Option<String>,
pub preset: Option<String>,
pub threads: usize,
pub rate_limit: u32,
pub auto_persist: bool,
pub network: NetworkConfig,
pub web: WebConfig,
pub recon: ReconConfig,
pub database: DatabaseConfig,
pub wordlists: HashMap<String, String>,
pub credentials: HashMap<String, HashMap<String, String>>,
pub commands: HashMap<String, HashMap<String, String>>,
}Fields§
§verbose: bool§no_color: bool§output_format: String§output_file: Option<String>§preset: Option<String>§threads: usize§rate_limit: u32§auto_persist: bool§network: NetworkConfig§web: WebConfig§recon: ReconConfig§database: DatabaseConfig§wordlists: HashMap<String, String>§credentials: HashMap<String, HashMap<String, String>>§commands: HashMap<String, HashMap<String, String>>Implementations§
Source§impl RedDBConfig
impl RedDBConfig
pub fn load() -> RedDBConfig
pub fn create_default_file() -> Result<(), String>
Trait Implementations§
Source§impl Clone for RedDBConfig
impl Clone for RedDBConfig
Source§fn clone(&self) -> RedDBConfig
fn clone(&self) -> RedDBConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RedDBConfig
impl Debug for RedDBConfig
Source§impl Default for RedDBConfig
impl Default for RedDBConfig
Source§fn default() -> RedDBConfig
fn default() -> RedDBConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RedDBConfig
impl RefUnwindSafe for RedDBConfig
impl Send for RedDBConfig
impl Sync for RedDBConfig
impl Unpin for RedDBConfig
impl UnsafeUnpin for RedDBConfig
impl UnwindSafe for RedDBConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request