Expand description
WordPress Audit - Real-time WordPress security scanner
Scans WordPress websites to detect versions, plugins, and themes.
§Example
use wordpress_audit::{Scanner, Analyzer};
#[tokio::main]
async fn main() -> wordpress_audit::Result<()> {
let scanner = Scanner::new("https://example.com")?;
let scan = scanner.scan().await?;
let analysis = Analyzer::new(scan).analyze();
println!("WordPress: {}", analysis.wordpress.version);
Ok(())
}Re-exports§
pub use analyze::Analysis;pub use analyze::Analyzer;pub use analyze::ComponentAnalysis;pub use analyze::ComponentStatus;pub use error::Error;pub use error::Result;pub use output::OutputConfig;pub use output::OutputFormat;pub use output::OutputSort;pub use output::output_analysis;pub use scanner::PluginInfo;pub use scanner::ScanResult;pub use scanner::Scanner;pub use scanner::ScannerBuilder;pub use scanner::ThemeInfo;