ntdsextract2 1.4.33

Display contents of Active Directory database files (ntds.dit)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use strum::Display;

#[derive(clap::ValueEnum, Clone, Copy, Display, Default, Eq, PartialEq)]
pub enum InvalidSdAction {
    /// exit the program and fail with an error message. This is the most
    /// secure way when doing forensics. 
    #[strum(serialize = "panic")]
    #[default]
    Panic,

    /// don't show the security descriptor at all
    #[strum(serialize = "hide")]
    Hide,

    /// replace invalid security descriptors with an error message
    #[strum(serialize = "show-error")]
    ShowError
}