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