Skip to main content

A tool for obtaining your firmware's embedded AGESA version on Linux.

Project description

agesafetch

crates.io Version crates.io Downloads AUR Version License: MIT REUSE Status

A tool for obtaining your firmware's embedded AGESA version on Linux.

Installation

Binaries

Pre-compiled and signed binaries are provided with all GitLab releases.

From Source

cargo install agesafetch

Note

By default, Cargo installs binaries in ~/.cargo/bin, so that directory must be in $PATH for agesafetch to be found. However, not all methods of privilege escalation preserve the $PATH variable, e.g. sudo with a secure_path value.

When in doubt, refer to the complete path: sudo ~/.cargo/bin/agesafetch

From PyPI

PyPI Version

sudo pipx install --global agesafetch

Python Bindings

On top of the agesafetch command, the Python package also provides basic bindings for the AGESA search that you can invoke from your own code (which then also requires elevated privileges or capabilities):

import agesafetch

version: agesafetch.AGESAVersion | None = agesafetch.find_agesa_version()

Usage

agesafetch [-h]
🔒 The AGESA search requires elevated privileges or suitable capabilities.

Simply run agesafetch to invoke a search for the AGESA version in memory:

$ sudo agesafetch
:: Searching Reserved region #1 (1667 KiB)...
-> Found AGESA version: CezannePI-FP6 1.0.1.1

When run non-interactively, such as in pipes or redirections, agesafetch will automatically suppress all output except for the found version:

$ sudo agesafetch > found_version
$ cat found_version
CezannePI-FP6 1.0.1.1

Known Working Systems

So far, we have successfully tested agesafetch on the following platforms:

  • ASUS ROG STRIX X670E-E GAMING WIFI
  • Gigabyte
    • B450 AORUS PRO (F66d)
    • B550 AORUS ELITE V2 (F17)
    • B650 AORUS PRO AX (F32)
    • X570 GAMING X (F39)
  • Lenovo
    • ThinkPad P14s Gen 1 AMD (v1.51)
    • ThinkPad P14s Gen 2 AMD (v1.30)

🚀 If you would like to add to this list, get in touch!

Please feel free to open an issue if no version is found on your system even after a minute or two of searching.

License

This project is licensed under the MIT license. See the LICENSE file for more information.

Author

Thanks To

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

agesafetch-1.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (477.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

agesafetch-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (477.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

agesafetch-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

agesafetch-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file agesafetch-1.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for agesafetch-1.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab6bb6dcfd44fe61bb40f656728b97865c1a07cee96131c28041b73dfcd3d645
MD5 4eed2386d400efc55f2192a9a1e14284
BLAKE2b-256 32220924955d14f8285d628cfc0eefb38ea4daf03ba11fc8e2fda9ce83fd2dd5

See more details on using hashes here.

File details

Details for the file agesafetch-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for agesafetch-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc0545348e6e526c16be8506eb295ee2b2afe95a25c1604c178c1f95f1792530
MD5 0a9c2518f7dcc82c210cea13feb0e9ae
BLAKE2b-256 547fd4ba53b164c8c229fad684db808c5c20f42832f0a2fc48e16e5f6d02c396

See more details on using hashes here.

File details

Details for the file agesafetch-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for agesafetch-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28c72050034d2af94c1c915b3363543d819612e1c85ed758e62ee505769b4ea8
MD5 c6d8915db909fc45ecf2af9fbb581879
BLAKE2b-256 11be591bbc1aa16e60816fec4c9fa1311e00ad1c250914232c30bda5fd8a78bd

See more details on using hashes here.

File details

Details for the file agesafetch-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for agesafetch-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 da556dbc29a6c89b19f471cc30e8bf9111b793a40320b3abcc564c4fabb93407
MD5 9b13efeaef5bcd3eb8312737b65f9587
BLAKE2b-256 330dfb70c9290d8c651f8e6f1e4de3ee7505f3fa12215001730564c671bf4a56

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page