示例#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"))