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 License: MIT REUSE Status

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

Installation

AUR Version PyPI Version

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

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.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (431.7 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

agesafetch-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (431.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

agesafetch-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (432.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

agesafetch-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (432.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for agesafetch-1.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3507e901a5689df1e22f9fa429c02c71422e961a0a110bca78760aa0aa809ed0
MD5 0f5c912cca6b52390e7f3cb9f1cb64d0
BLAKE2b-256 b954d14e673efddac02c3abf7492305f2ffa0e665d148feedbdba6cb354edb4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agesafetch-1.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3618f83f6c2bd838e01cf2e120151884b3c3753d01ec35c40990be74630696db
MD5 6bf53e9b24429269beceac9772b2ae3e
BLAKE2b-256 e0dde20897fe7e372260f3efb3b0b46d583109f9249d07eb4f9059802550cc1d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agesafetch-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 28b4b60ab6857862b5738bd29271a259d0570a30298bc91ffe043bc6ffdbfb13
MD5 aae8d336e6065bfe5bb4039f6fb34632
BLAKE2b-256 6555c2614d78eb7dd3f4eb242e847e357d618493da219c002ef8b94887cbb974

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agesafetch-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db8a56a78bc532b66590467491bb05d5ab299208712faaec61093b38c0f96192
MD5 7d66ecdb8c2bacd8b63a87ab3f971544
BLAKE2b-256 4bed4b12788caa331d90f9132c47f5d8d31e0a8e221a76cf65d78de304fc51b2

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