Beispiel #1
0
def check():
    return not sfile.installed("openssh-server")
Beispiel #2
0
def check():
  return not (sfile.installed("samba") or sfile.installed("samba-common") or sfile.installed("samba-common-bin") or sfile.installed("python-samba") or sfile.installed("samba-dsdb-modules") or sfile.installed("samba-libs") or sfile.installed("samba-vfs-modules"))
Beispiel #3
0
def check():
    return not sfile.installed("talk")
Beispiel #4
0
def check():
    return not sfile.installed("vsftpd")
Beispiel #5
0
def check():
    return not sfile.installed("telnet")
Beispiel #6
0
def check():
  return not sfile.installed("nis")
Beispiel #7
0
def check():
  return sfile.installed("auditd")
Beispiel #8
0
def check():
    return not (sfile.installed("rsh-client")
                or sfile.installed("rsh-redone-client"))
Beispiel #9
0
def check():
  return not (sfile.installed("wireshark") or sfile.installed("wireshark-common") or sfile.installed("wireshark-qt") or sfile.installed("libwireshark8") or sfile.installed("libwireshark-data"))
Beispiel #10
0
def check():
  return not sfile.installed("ldap-utils")
Beispiel #11
0
def check():
    return not (sfile.installed("apache2") or sfile.installed("apache2-bin")
                or sfile.installed("apache2-data")
                or sfile.installed("apache2-utils"))
Beispiel #12
0
def reset():
    if sfile.installed("auditd"):
        os.system("systemctl disable auditd")
Beispiel #13
0
def check():
    return not (sfile.installed("netcat")
                or sfile.installed("netcat-traditional")
                or sfile.installed("netcat-openbsd"))