1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//! # truestack — Security-aware technology fingerprinting
//!
//! Security-aware technology fingerprinting for web servers.
//!
//! Unlike traditional fingerprinting tools that report what the version string
//! claims, `truestack` is designed to determine the **true** security posture
//! of a target — including detection of backported patches, behavioural
//! differential probing, and CVE correlation.
//!
//! ## Core capabilities
//!
//! - **YAML-driven rule engine** — signal-based detection from HTTP headers,
//! response bodies, and cookies. Ship your own rules or use the embedded set.
//! - **Security header auditing** — checks for HSTS, CSP, X-Frame-Options and
//! friends, including deep CSP bypass analysis (15 known bypass domains).
//! - **Favicon hashing** — Shodan-compatible MurmurHash3 for cross-service
//! pivot (`http.favicon.hash:{value}`).
//! - **Version extraction** — parses `Server`, `X-Powered-By`, and other
//! headers to extract semver-style version strings.
//!
//! ## Quick start
//!
//! ```rust
//! use truestack::fingerprints;
//!
//! let headers = vec![
//! ("Server".to_string(), "nginx/1.21.0".to_string()),
//! ];
//! let techs = fingerprints::detect(&headers, "");
//! assert_eq!(techs[0].name, "nginx");
//! assert_eq!(techs[0].version.as_deref(), Some("1.21.0"));
//! ```
/// Local HTTP compatibility shim backed by reqwest..
/// Re-export shared security finding types.
pub use ;
pub use ;