Exemplo n.º 1
0
def check():
    return not sfile.installed("openssh-server")
Exemplo n.º 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"))
Exemplo n.º 3
0
def check():
    return not sfile.installed("talk")
Exemplo n.º 4
0
def check():
    return not sfile.installed("vsftpd")
Exemplo n.º 5
0
def check():
    return not sfile.installed("telnet")
Exemplo n.º 6
0
def check():
  return not sfile.installed("nis")
Exemplo n.º 7
0
def check():
  return sfile.installed("auditd")
Exemplo n.º 8
0
def check():
    return not (sfile.installed("rsh-client")
                or sfile.installed("rsh-redone-client"))
Exemplo n.º 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"))
Exemplo n.º 10
0
def check():
  return not sfile.installed("ldap-utils")
Exemplo n.º 11
0
def check():
    return not (sfile.installed("apache2") or sfile.installed("apache2-bin")
                or sfile.installed("apache2-data")
                or sfile.installed("apache2-utils"))
Exemplo n.º 12
0
def reset():
    if sfile.installed("auditd"):
        os.system("systemctl disable auditd")
Exemplo n.º 13
0
def check():
    return not (sfile.installed("netcat")
                or sfile.installed("netcat-traditional")
                or sfile.installed("netcat-openbsd"))