secret_scraper 0.1.3

A URL Crawler tool and library for crawling web targets, discovering links, and detecting secrets with configurable regex rules.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use secret_scraper::logging::{LogLevel, init_tracing_with_level};

fn main() {
    let _guard = init_tracing_with_level(LogLevel::Info);
    let a = 1;
    let b = "b";
    #[derive(Debug, Copy, Clone)]
    struct Position {
        x: u32,
        y: u32,
    }
    let po = Position { x: 1, y: 2 };
    let _coordinate_sum = po.x + po.y;
    tracing::info!(a, b = b, position=?po,"test: {:?}", po);
}