Skip to content

kernelCTF test action #6

kernelCTF test action

kernelCTF test action #6

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