wordpress_audit/
lib.rs

1//! WordPress Audit - Real-time WordPress security scanner
2//!
3//! Scans WordPress websites to detect versions, plugins, and themes.
4//!
5//! # Example
6//!
7//! ```no_run
8//! use wordpress_audit::{Scanner, Analyzer};
9//!
10//! #[tokio::main]
11//! async fn main() -> wordpress_audit::Result<()> {
12//!     let scanner = Scanner::new("https://example.com")?;
13//!     let scan = scanner.scan().await?;
14//!     let analysis = Analyzer::new(scan).analyze();
15//!     println!("WordPress: {}", analysis.wordpress.version);
16//!     Ok(())
17//! }
18//! ```
19
20pub mod analyze;
21pub mod error;
22pub mod output;
23pub mod scanner;
24
25pub use analyze::{Analysis, Analyzer, ComponentAnalysis, ComponentStatus};
26pub use error::{Error, Result};
27pub use output::{OutputConfig, OutputFormat, OutputSort, output_analysis};
28pub use scanner::{PluginInfo, ScanResult, Scanner, ScannerBuilder, ThemeInfo};