Created
December 30, 2022 19:17
-
-
Save xanderlent/cc5e0e58f52147dd9889e1a7b048035e to your computer and use it in GitHub Desktop.
A bash script to show all CPU Hardware Security Vulnerabilities that Linux reports information on
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This is a little script that I keep re-writing whenever I need it. | |
# I suppose that means it's time to write it down! | |
for vuln in /sys/devices/system/cpu/vulnerabilities/*; do echo "$(basename $vuln): $(cat $vuln)"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment