Commit aef37db0 authored by Luke Macken's avatar Luke Macken

Fix the SELinux deny_ptrace boolean check

parent 9e910d2a
......@@ -40,7 +40,7 @@ def ptrace_check():
p = subprocess.Popen([getsebool, 'deny_ptrace'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
if out.decode('utf-8') == u'deny_ptrace --> off\n':
if out.decode('utf-8') == u'deny_ptrace --> on\n':
print("WARNING: ptrace is disabled. Injection will not work.")
print("You can enable it by running the following:")
print("sudo setsebool -P deny_ptrace=off")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment