tis-disable-llmnr-bonjour
Paquet d’installation silencieuse pour tis-disable-llmnr-bonjour
1.0-5
- package: tis-disable-llmnr-bonjour
- version: 1.0-5
- maintainer: Tranquil IT
- target_os: windows
- architecture: all
- signature_date:
- size: 4.89 Ko
package : tis-disable-llmnr-bonjour
version : 1.0-5
architecture : all
section : base
priority : optional
name :
categories :
maintainer : Tranquil IT
description : Disable LLMNR and Remove Bonjour
depends :
conflicts :
maturity : PROD
locale :
target_os : windows
min_wapt_version : 2.5
sources :
installed_size :
impacted_process :
description_fr :
description_pl :
description_de :
description_es :
description_pt :
description_it :
description_nl :
description_ru :
audit_schedule :
editor :
keywords :
licence :
homepage :
package_uuid : 951edd00-b06a-4ec0-a7d6-b6e244aa5eb7
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum :
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-10-05T16:23:24.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature : v618oBJDmiZXfBM0wyLv35kxZI6L8dw3tMQsHAJ4Y8NnSOmJDMgAUDdFFgf6iRuX5VunnTBrrVm5iBuneUpICUhTUU1fawkH2W/qAASyTqVLNmu3rWQN/Gn97yxm2HBcp3gTdRNRt3FUM1QJTM3aF6mLc4V4GPoDR87ZUV5bFGYqEtwye4OA41gIDz6LhsXQq9f8rOM0hiJIZ0ea6BrC1l9WAXAnGqvacRGlYVE/+JeSHZvP2nVsrO7l11mePcbVkiFkGQpWTdm74AmAVqcB4rc412XzZpUPuIq2cZPJO8rBcqfKsT0G57j8IGoqYavifShBZjl1rmpMFdqebCAEyw==
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
if iswin64():
installed_path = [programfiles32,programfiles64]
else:
installed_path = [programfiles]
def install():
audit()
pass
def uninstall():
print('uninstalling %s' % control.asrequirement())
# put here what to do when package is removed from host
# implicit context variables are WAPT, control, user, params, run
def session_setup():
print('Session setup for %s' % control.asrequirement())
# put here what to do when package is configured inside a user session
# implicit context variables are WAPT, control, user, params
def audit():
warning = False
print('Auditing %s' % control.asrequirement())
EnableMulticast = registry_readstring(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Microsoft\Windows NT\DNSClient','EnableMulticast')
if EnableMulticast != 0:
print("LLMNR enabled")
autofixllmnr()
EnableMulticast = registry_readstring(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Microsoft\Windows NT\DNSClient','EnableMulticast')
if EnableMulticast != 0:
warning = True
if installed_softwares("Bonjour"):
if service_installed("Bonjour"):
service_stop("Bonjour")
for soft in installed_softwares("Bonjour"):
run_notfatal(uninstall_cmd(soft['key']))
print(installed_softwares("Bonjour"))
warning = True
else:
print('No Bonjour service found')
if warning :
return "WARNING"
else:
print("Ok, mDNS/Bonjour not seen on this computer")
return "OK"
def autofixllmnr():
print('try to fix LLMNR')
registry_set(HKEY_LOCAL_MACHINE,r'SOFTWARE\Policies\Microsoft\Windows NT\DNSClient','EnableMulticast',0)
5a14c1c45b2c6e8f0482eade49ae7067c749891fd599d52ff274b551b8df019c : .gitignore
9aa7772cc6ea3d640f4665d539b898bb4d898e1e852f63efa61929218623f717 : README.md
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
1fc4e49a135a0a11ab499b0d6504c1cf999c376f34acdd0362fe8212ebb614d8 : WAPT/control
a8acad07c0ab25d0ec0d7013af91a9adecc75fb8289e8542e2061c381e4e8f0a : luti.json
51536e1d536a52bd30ffa0a2ed33399ccba6043f59b06c08b3aef7c021ece441 : setup.py