LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

aa-decode

Decode hex-encoded strings in AppArmor logs

TLDR

Decode a single hex-encoded string
$ aa-decode [hexstring]
copy
Decode hex-encoded paths in a log file via stdin
$ aa-decode < [/var/log/audit/audit.log]
copy
Pipe kernel logs through aa-decode
$ cat /var/log/kern.log | aa-decode
copy
Decode the current journal AppArmor entries
$ journalctl -k | aa-decode
copy

SYNOPSIS

aa-decode [option] HEXSTRING_

DESCRIPTION

aa-decode decodes hexadecimal-encoded strings found in AppArmor log output. It processes audit logs from standard input and converts any hex-encoded AppArmor entries to human-readable format on standard output.AppArmor encodes certain characters (like spaces and special characters) in hexadecimal format within log entries to prevent parsing issues. This utility converts those back to readable text.

PARAMETERS

--help

Displays usage information

INSTALL

sudo apk add apparmor-utils
copy
sudo zypper install apparmor-utils
copy
nix profile install nixpkgs#apparmor-utils
copy

CAVEATS

The utility only decodes hexadecimal strings in the specific format used by AppArmor logs. Other hex-encoded data may not be decoded correctly.

HISTORY

Part of the AppArmor utilities package for managing application security profiles on Linux systems.

SEE ALSO

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid