Tranquil IT recrute Tranquil IT recrute

tis-wireshark

Version : 2.6.0-6

Download
  • package : tis-wireshark
  • editor :
  • version : 2.6.0-6
  • licence :
  • architecture : all
  • locale : all
  • description : Wireshark TCP Packets analyzer (Wireshark development team) (1.12.13 for XP)
  • description_fr : Logiciel d'analyse de paquets TCP (Wireshark development team) (1.12.13 pour XP)
  • min_os_version : 5.1
  • max_os_version :
  • min_wapt_version :
  • installed_size :
  • impacted_process :
  • signature_date : 20180511-171712
  • maintainer : Kevin Guerineau
  • Depends :

setup.py

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform

# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []

dlversion1 = '1.12.13'
dlversion2 = '2.6.0'

def install():
    # if you want to modify the keys depending on environment (win32/win64... params..)
    if platform.win32_ver()[0]=='XP' or platform.win32_ver()[0]=='2003Server':
        #1.12.8 is the last supported version on winXP
        if iswin64():
            install_exe_if_needed('Wireshark-win64-%s.exe'%dlversion1,'/S /quicklaunchicon=no',key='Wireshark',min_version=dlversion1,killbefore='wireshark')
        else:
            install_exe_if_needed('Wireshark-win32-%s.exe'%dlversion1,'/S /quicklaunchicon=no',key='Wireshark',min_version=dlversion1,killbefore='wireshark')

    else:
        if iswin64():
            install_exe_if_needed('Wireshark-win64-%s.exe'%dlversion2,'/S /quicklaunchicon=no',key='Wireshark',min_version=dlversion2,killbefore='wireshark')
        else:
            install_exe_if_needed('Wireshark-win32-%s.exe'%dlversion2,'/S /quicklaunchicon=no',key='Wireshark',min_version=dlversion2,killbefore='wireshark')

def update_package():
    import glob
    for exe in glob.glob('Wireshark-*.exe'):
        if not exe in [
            'Wireshark-win32-%s.exe'%dlversion1,
            'Wireshark-win64-%s.exe'%dlversion1,
            'Wireshark-win32-%s.exe'%dlversion2,
            'Wireshark-win64-%s.exe'%dlversion2]:
            remove_file(exe)
    wget('https://1.na.dl.wireshark.org/win32/all-versions/Wireshark-win32-%s.exe'%dlversion1,'Wireshark-win32-%s.exe'%dlversion1)
    wget('https://1.na.dl.wireshark.org/win64/all-versions/Wireshark-win64-%s.exe'%dlversion2,'Wireshark-win64-%s.exe'%dlversion1)
    wget('https://1.na.dl.wireshark.org/win32/all-versions/Wireshark-win32-%s.exe'%dlversion1,'Wireshark-win32-%s.exe'%dlversion2)
    wget('https://1.na.dl.wireshark.org/win64/all-versions/Wireshark-win64-%s.exe'%dlversion2,'Wireshark-win64-%s.exe'%dlversion2)

if __name__ == '__main__':
    update_package()

			

Changelog

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

manifest.sha256

[["WAPT/icon.png", "95852c4695a4c1220e886256b2297ab1984c83954128ae4bffe316da15cbe4e6"], ["WAPT/certificate.crt", "13fb474c5c23c135a77aba592eb8821b9ecbcc463f5b7312312b87b20eac6779"], ["Wireshark-win64-1.12.13.exe", "a5c276cd3b2b3023b597debdf292cccb7f7f64400cd40d2ef5dd139d18424936"], ["Wireshark-win32-1.12.13.exe", "47eb5c4ac48848fdfd5c322491e0320c998f5a2dccebad88af9ed787c1907039"], ["Wireshark-win64-2.6.0.exe", "a5c276cd3b2b3023b597debdf292cccb7f7f64400cd40d2ef5dd139d18424936"], ["Wireshark-win32-2.6.0.exe", "47eb5c4ac48848fdfd5c322491e0320c998f5a2dccebad88af9ed787c1907039"], ["setup.py", "97196f1ad588180a6f5b8cd45f80988c798f202cee64150fb2e7b10bbff1435f"], ["WAPT/control", "559aa3a26e52438a809208ab3fd0a0dc9b62015294f9a973f66680afa2c87da6"], ["WAPT/wapt.psproj", "79adab7ad1d3821b05c9d018c5c1a8949b4400aa9ddb54bfb62d829484739d1a"]]