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)
  • HP t730 Thin Client
  • 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 Distribution

agesafetch-1.4.0.tar.gz (26.1 kB view details)

Uploaded Source

Built Distributions

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

agesafetch-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (431.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

agesafetch-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (431.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

agesafetch-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (431.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

agesafetch-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (432.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file agesafetch-1.4.0.tar.gz.

File metadata

  • Download URL: agesafetch-1.4.0.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for agesafetch-1.4.0.tar.gz
Algorithm Hash digest
SHA256 f0c9e3e37ff162b664f9830f11aa88b825346894d4697f8169e31c6f4ecb2071
MD5 30fc2db5e7574362ae01ef8393a0a491
BLAKE2b-256 554f8e242b3c50f0a8964294ce47a165df626c69cf513b6cc2d7c6073097d67f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agesafetch-1.4.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eb28f76bb88a0bbd6de86bec4b20b427a08d871c06432dcd2dccc9a32ffed4cf
MD5 aca1ceca83c7695504abdb1d1f126b42
BLAKE2b-256 711e3a64e6ae6451505956c277b9c33204fa85c7dfd5810a49f59f0d415d1366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agesafetch-1.4.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3e4f43de62638ff96d8b353948e3fe0a1d403e93f7ed687093b841322f0e8da4
MD5 893108ba10aac4e631379c37ac6ce719
BLAKE2b-256 186b62f62d0c8fed9c51383a2d25a54a880e8310d27da206bacde5de261e52c9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agesafetch-1.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0b38a9241685bafaf552fb3e516b78d7349193188b940312484102f0b5bc088c
MD5 da8fca136569f56363cf78388022cf3a
BLAKE2b-256 b2ff99765e2de7b6d6f205438f108262c12b2ab5c898821957868fd28d10a9a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agesafetch-1.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 eaaf09a18e9de8cd91cd973906ef638aac699c781116ed85af3d094521b61163
MD5 861211f93563bc0e503b918b2028141d
BLAKE2b-256 7b372b87b22eb05de15114b1a5fc54506160708c4c5952cd1cbeabbcea06b2f5

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