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