lonkero_scanner/lib.rs
1// Copyright (c) 2026 Bountyy Oy. All rights reserved.
2// This software is proprietary and confidential.
3
4/**
5 * Bountyy Oy - Scanner Library
6 * Exposes scanner modules for testing
7 *
8 * @copyright 2026 Bountyy Oy
9 * @license Proprietary
10 */
11pub mod adaptive_concurrency;
12pub mod auth_context;
13pub mod cdn_detector;
14pub mod circuit_breaker;
15pub mod config;
16pub mod crawler;
17pub mod database;
18pub mod detection_helpers;
19pub mod dns_cache;
20pub mod framework_detector;
21pub mod headless_crawler;
22pub mod multi_role;
23pub mod oob_detector;
24pub mod payloads;
25pub mod payloads_comprehensive;
26pub mod payloads_optimized;
27pub mod queue;
28pub mod rate_limiter;
29pub mod reporting;
30pub mod request_batcher;
31pub mod subdomain_enum;
32pub mod types;
33pub mod vulnerability;
34
35// Probabilistic inference engine for side-channel vulnerability detection
36pub mod inference;
37
38// Cloud security infrastructure
39pub mod cloud;
40
41// Scanner modules
42pub mod http_client;
43pub mod scanners;
44
45// Production error handling and resilience modules
46pub mod errors;
47pub mod metrics;
48pub mod retry;
49
50// Validation modules
51pub mod validation;
52
53// Registry modules
54pub mod registry;
55
56// Rule engine module
57pub mod engine;
58
59// Real-time scanning module
60pub mod realtime;
61
62// Vulnerability retesting module
63pub mod retest;
64
65// Nuclei custom template management
66pub mod nuclei;
67
68// Analysis module
69pub mod analysis;
70
71// Discovery module
72pub mod discovery;
73
74// License verification and killswitch module
75pub mod license;
76
77// Quantum-safe signing and scan authorization module
78pub mod signing;
79
80// UTF-8 safe string utilities
81pub mod str_utils;
82
83// Module IDs for server-side authorization
84pub mod modules;
85
86// Machine Learning module (model-based detection, GDPR-compliant)
87pub mod ml;
88
89// AI-powered interactive security testing agent
90pub mod ai;
91
92// Feature extraction layer for model-based vulnerability scoring
93pub mod features;
94
95// Model scorer for vulnerability detection
96pub mod scorer;
97
98// ML Enhancer - bridges scanner findings to model scorer (one-way, no data uploaded)
99pub mod ml_enhancer;
100
101// Probe payload library
102pub mod probes;
103
104// GraphQL introspection and schema parsing
105pub mod graphql_introspection;
106
107// State-aware crawling module
108pub mod state_tracker;
109
110// Form replay system for security testing
111pub mod form_replay;
112
113// Session recording for browser session capture and replay
114pub mod session_recording;
115
116// Parasite Mode - route requests through real browser TLS (legacy name)
117pub mod parasite;
118
119// Browser-Assist Mode - legitimate browser-assisted security scanning
120// This is the proper, enterprise-ready approach: transparent, auditable, user-controlled
121pub mod browser_assist;