[−][src]Trait feroxbuster::FeroxSerialize
FeroxSerialize trait; represents different types that are Serialize and also implement as_str / as_json methods
Required methods
pub fn as_str(&self) -> String
[src]
Return a String representation of the object, generally the human readable version of the implementor
pub fn as_json(&self) -> String
[src]
Return an NDJSON representation of the object
Implementors
impl FeroxSerialize for Configuration
[src]
Implementation of FeroxMessage
pub fn as_str(&self) -> String
[src]
Simple wrapper around create_report_string
pub fn as_json(&self) -> String
[src]
Create an NDJSON representation of the current scan's Configuration
(expanded for clarity) ex: { "type":"configuration", "wordlist":"test", "config":"/home/epi/.config/feroxbuster/ferox-config.toml", "proxy":"", "replay_proxy":"", "target_url":"https://localhost.com", "status_codes":[ 200, 204, 301, 302, 307, 308, 401, 403, 405 ], ... }\n
impl FeroxSerialize for FeroxState
[src]
FeroxSerialize implementation for FeroxState
pub fn as_str(&self) -> String
[src]
Simply return debug format of FeroxState to satisfy as_str
pub fn as_json(&self) -> String
[src]
Simple call to produce a JSON string using the given FeroxState
impl FeroxSerialize for FeroxMessage
[src]
Implementation of FeroxMessage
pub fn as_json(&self) -> String
[src]
Create an NDJSON representation of the log message
(expanded for clarity) ex: { "type": "log", "message": "Sent https://localhost/api to file handler", "level": "DEBUG", "time_offset": 0.86333454, "module": "feroxbuster::reporter" }\n
pub fn as_str(&self) -> String
[src]
Create a string representation of the log message
ex: 301 10l 16w 173c https://localhost/api
impl FeroxSerialize for FeroxResponse
[src]
Implement FeroxSerialusize::from(ize for FeroxRespons)e
pub fn as_str(&self) -> String
[src]
Simple wrapper around create_report_string
pub fn as_json(&self) -> String
[src]
Create an NDJSON representation of the FeroxResponse
(expanded for clarity) ex: { "type":"response", "url":"https://localhost.com/images", "path":"/images", "status":301, "content_length":179, "line_count":10, "word_count":16, "headers":{ "x-content-type-options":"nosniff", "strict-transport-security":"max-age=31536000; includeSubDomains", "x-frame-options":"SAMEORIGIN", "connection":"keep-alive", "server":"nginx/1.16.1", "content-type":"text/html; charset=UTF-8", "referrer-policy":"origin-when-cross-origin", "content-security-policy":"default-src 'none'", "access-control-allow-headers":"X-Requested-With", "x-xss-protection":"1; mode=block", "content-length":"179", "date":"Mon, 23 Nov 2020 15:33:24 GMT", "location":"/images/", "access-control-allow-origin":"https://localhost.com" } }\n