mirror of
https://github.com/atomiczsec/Adrenaline
synced 2026-06-21 13:47:29 +00:00
Power State BOF
Identifies the host form factor as Laptop, Desktop, Tablet, Server, Embedded, or Unknown.
The BOF prefers SMBIOS enclosure data and falls back to Windows power status when firmware information is missing or inconclusive.
Usage
power_state
No arguments are required.
Example Output
[+] Form: Laptop
[+] Form: Desktop
Notes
- Uses
GetSystemFirmwareTableto read SMBIOS chassis information. - Falls back to
GetSystemPowerStatusto distinguish battery-backed systems from fixed desktops. - Returns a single concise value intended for quick host posture triage.