Wireshark
Paquet d’installation silencieuse pour Wireshark
								
								4.4.6-6
								
							
							
                                   
                                       
                                           System and network
                                       
                                   
                                
								
							
                               
                                   
                                       System and network
                                   
                               
							
							
						- package: tis-wireshark
 - name: Wireshark
 - version: 4.4.6-6
 - categories: System and network
 - maintainer: WAPT Team,Jimmy PELÉ,Amelie Le Jeune, Amel FRADJ
 - editor: The Wireshark team
 - licence: GPLv2
 - locale: all
 - target_os: windows
 - impacted_process: wireshark.exe
 - architecture: x64
 - signature_date:
 - size: 87.12 Mo
 - homepage : https://www.wireshark.org
 
package           : tis-wireshark
version           : 4.4.6-6
architecture      : x64
section           : base
priority          : optional
name              : Wireshark
categories        : System and network
maintainer        : WAPT Team,Jimmy PELÉ,Amelie Le Jeune, Amel FRADJ
description       : Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development, and education.
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.wireshark.org/download.html
installed_size    : 
impacted_process  : wireshark.exe
description_fr    : Wireshark est un analyseur de paquets libre et gratuit. Il est utilisé dans le dépannage et l’analyse de réseaux informatiques, le développement de protocoles, l’éducation et la rétro-ingénierie.
description_pl    : Wireshark to darmowy i open-source'owy analizator pakietów. Jest używany do rozwiązywania problemów z siecią, analizy, rozwoju oprogramowania i protokołów komunikacyjnych oraz edukacji
description_de    : Wireshark ist ein freier und quelloffener Paketanalysator. Es wird für die Fehlersuche in Netzwerken, die Analyse, die Entwicklung von Software und Kommunikationsprotokollen sowie für die Ausbildung verwendet
description_es    : Wireshark es un analizador de paquetes gratuito y de código abierto. Se utiliza para la resolución de problemas de red, el análisis, el desarrollo de software y protocolos de comunicación, y la educación
description_pt    : Wireshark é um analisador de pacotes gratuito e de código aberto. É utilizado para a resolução de problemas de rede, análise, desenvolvimento de software e protocolos de comunicação, e educação
description_it    : Wireshark è un analizzatore di pacchetti gratuito e open-source. È utilizzato per la risoluzione dei problemi di rete, l'analisi, lo sviluppo di software e protocolli di comunicazione e la formazione
description_nl    : Wireshark is een gratis en open-source pakketanalysator. Het wordt gebruikt voor netwerk troubleshooting, analyse, software en communicatie protocol ontwikkeling, en onderwijs
description_ru    : Wireshark - это бесплатный анализатор пакетов с открытым исходным кодом. Он используется для устранения неполадок в сети, анализа, разработки программного обеспечения и протоколов связи, а также для обучения
audit_schedule    : 
editor            : The Wireshark team
keywords          : wireshark,wire,shark,packet,analyzer,network,troubleshooting,analysis,protocol
licence           : GPLv2
homepage          : https://www.wireshark.org
package_uuid      : 23e955d0-99fe-4d06-be23-3af803bc503c
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.wireshark.org/docs/relnotes/
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 790a1e2a46c5470e8fd03c16f9701e4aafb62b070e200258e5d924f7efa5eaea
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T10:05:11.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         : PBcTMxF9P7VaEPLqY047ECZJEWpIVTOC36oaab++uCMXSEvAp0gCuhyLjic3hTp/JGuy/CPYQR3tMXceD45p7Dlxk/pPJ7x5yA7T7go4kd1zDWUMixY5klLiqv1BpcLd4nMAGHxDXijYxYVcqYyVwBxFHAUwcpxkXU93ZHSWjw2DqQoULihs+xzbCph6ZQ9Rtylqww2S89YqoSyqKzOkXJKLmhQhBL24INbSayApjcklJy0lUOxdxYt2Yzf+Mtx07rgA7svv+TqFQ+W71TuBHdo1Gs4tClyBxq8kdhbXRcccNaj9goWuuAy8l43U6zVJpcuZmANqfOyYGBN2TPoSfw==
                        # -*- coding: utf-8 -*-
from setuphelpers import *
def install():
    bin_name = glob.glob("Wireshark-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="/S /NCRC /quicklaunchicon=no /desktopicon=no",
        key="Wireshark",
        min_version=control.get_software_version(),
    )
                            # -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
from urllib.parse import unquote
def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    
    url_base = "https://www.wireshark.org/download.html"
    os_type = control.target_os + "-" + ensure_list(control.architecture)[0]
    download_os_dict = {
        'windows-x64': '-x64.exe',
        'darwin-arm': '%20Arm%2064.dmg',
        'darwin-x64': '%20Intel%2064.dmg'
    }
    download_accordion = bs_find(url_base, "div", "id", "download-accordion", proxies=proxies)
    latest_download_accordion = download_accordion.find('div', recursive=False)
    for li in latest_download_accordion.find_all('li'):
        download_url =  li.find('a')['href']
        if download_url.endswith(download_os_dict[os_type]):
            latest_bin = unquote(download_url.rsplit('/', 1)[-1])
            latest_bin_extension = latest_bin.rsplit('.', 1)[-1]
            version = latest_bin.split('-')[1] # For windows is '-', For darwin is ' '
            break
    # Downloading latest binaries
    print(f"Latest {app_name} version is: {version}")
    print(f"Download URL is: {download_url}")
    if not isfile(latest_bin):
        print(f"Downloading: '{latest_bin}'")
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print(f"Binary is present: '{latest_bin}'")
    # Deleting outdated binaries
    for f in glob.glob(f'*.{latest_bin_extension}'):
        if f != latest_bin:
            remove_file(f)
    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print(f"Software version updated (from: {control.get_software_version()} to: {version})")
        package_updated = True
    else:
        print(f"Software version up-to-date ({version})")
    control.set_software_version(version)
    control.save_control_to_wapt()
    # Validating or not update-package-sources
    return package_updated
                            38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
74c92579d5206a8c7c90431d2d3500d3188a305ad7d3c542417b677b8a5dbff6 : WAPT/control
790a1e2a46c5470e8fd03c16f9701e4aafb62b070e200258e5d924f7efa5eaea : WAPT/icon.png
d1925b045300c34ea8082b7ec0d79aeae31edf01eb9fdd9b69e069ece785ca93 : Wireshark-4.4.6-x64.exe
9c4dc260e6657c134cac5ec231dce057d29c94cb9ce23f9688d4c91b1f39330b : luti.json
7a91b81ee847020889539969507741b5eaf4d3199d228ce904713b568e032891 : setup.py
f919c42a0dc710b14ef640d5b3da7a75c69ac48262b08142e1177f88b7b37597 : update_package.py