☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
testsuite
/
systemtap.examples
/
security-band-aids
/
cve-2021-4034.stp
☽
☼
testsuite/systemtap.examples/security-band-aids/cve-2021-4034.stp
code
plain
raw
1
// CVE-2021-4034 - polkit privilege escalation
2
3
// Approach: intercept the main function, abort with empty argv
4
5
probe process("/usr/bin/pkexec").function("main") {
6
if (cmdline_arg(1) == "")
7
raise(9);
8
}