Tranquil IT recrute Tranquil IT recrute

tis-disablenetbios

Version : 3

Download
  • package : tis-disablenetbios
  • editor :
  • version : 3
  • licence :
  • architecture : all
  • locale :
  • description : disable netbios on all interfaces
  • description_fr :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • installed_size :
  • impacted_process :
  • signature_date : 20170720-111947
  • maintainer : TIS <technique@tranquil-it-systems.fr>

setup.py


from setuphelpers import *

uninstallkey=['']

def install():
    output = run('echo "" | wmic nicconfig get index')
    for i in output.split('\n'):
        if i.strip()!='':
            i = i.strip()
            cmd = 'echo "" | wmic nicconfig where index=%s call SetTcpipNetbios 2' %  str(i)
            print cmd
            run(cmd)

			

Changelog

"""{% trans %}No changelog.{% endtrans %}"""
			

manifest.sha256

[["setup.py", "b04abd17dff05c6c9456366e055de0e5e191fc0642fbef7f71018aeaefcb059b"], ["WAPT/certificate.crt", "20f25d6b242159077345379865f8e0d84bdc9e4764190f1aa6cb3816bcabd341"], ["WAPT/wapt.psproj", "df0b280a4dff05ccc3b6185cf1dd39ac9a0aeca883450cc1836a4004baee2567"], ["WAPT/control", "6ce0e1d127587be58f2d4ce9f0db3b832883b759c5a77fd6428899a08f140b4e"]]