kernelCTF test action #6
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
name: kernelCTF test action | |
on: | |
workflow_dispatch: | |
push: # hack to make this workflow appear on the UI | |
permissions: {} | |
jobs: | |
cpu_info: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "KPTI check: cpuinfo" | |
continue-on-error: true | |
run: cat /proc/cpuinfo|grep " pti" | |
- name: "KPTI check: dmesg" | |
continue-on-error: true | |
run: sudo dmesg | grep 'Kernel/User page tables isolation' | |
- name: "KPTI check: dmesg isolation" | |
continue-on-error: true | |
run: sudo dmesg | grep isolation | |
- name: "Meltdown check" | |
continue-on-error: true | |
run: cat /sys/devices/system/cpu/vulnerabilities/meltdown | |
- name: "CPU vuln check" | |
continue-on-error: true | |
run: grep -r . /sys/devices/system/cpu/vulnerabilities | |
- name: cpuinfo | |
continue-on-error: true | |
run: cat /proc/cpuinfo | |
- name: dmesg | |
continue-on-error: true | |
run: sudo dmesg |