access-mask

Crates.ioaccess-mask
lib.rsaccess-mask
version0.1.0
created_at2025-03-23 22:26:05.544775+00
updated_at2025-03-23 22:26:05.544775+00
descriptionaccess-mask is a command line tool that interprets handle access mask values (both generic and specific).
homepagehttps://github.com/codeOverFlow/access-mask
repositoryhttps://github.com/codeOverFlow/access-mask
max_upload_size
id1603135
size36,723
CodeOverFLow (codeOverFlow)

documentation

README

crates.io MIT licensed

AccessMask

AccessMask is a command line tool that interprets handle access mask values (both generic and specific).

It is directly taken from the awesome tools from the one and only (the GOAT) Pavel Yosifovich.

This project is more or less a one-to-one rust translation of his tools but rust powered.

My primary goal is to learn more about windows internals by reading God Pavel's code, and then to make it available through cargo install.

Usage

Usage: access-mask.exe [OPTIONS] <VALUE>

Arguments:
<VALUE>  value is interpreted as hexadecimal, unless the -d switch is specified. Specific access mask bits will not be interpreted if type is not specified

Options:
-d, --decimal      interpret value as a decimal value
-t, --type <TYPE>  Specify a type for the access mask [possible values: process, thread, event, mutex, mutant, semaphore, timer, desktop, windows-station, winsta, key, token, job, file, directory, alpc, port, active-directory]
-h, --help         Print help
-V, --version      Print version
Commit count: 3

cargo fmt