elevate-ti 0.2.1

A safe, idiomatic Rust library to obtain Windows TrustedInstaller privileges
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! A safe, idiomatic Rust library to obtain Windows `TrustedInstaller` privileges.
//!
//! # Overview
//!
//! `elevate-ti` provides zero-cost, high-level abstractions to verify and acquire
//! `NT SERVICE\TrustedInstaller` privileges on Windows, allowing processes to relaunch
//! themselves or spawn sub-processes into the active interactive desktop session.

pub mod error;
pub mod security;
pub mod session;
pub mod strategy;

pub use error::ElevateError;
pub use security::{ImpersonationGuard, Privilege, Sid, Token, TokenCommand, TokenType};
pub use session::{ElevationStatus, elevated_command, relaunch, status};
pub use strategy::{ElevationStrategy, TrustedInstallerStrategy};