Wireshark
Paquet d’installation silencieuse pour Wireshark
								
								4.4.5-6
								
							
							
                                   
                                       
                                           System and network
                                       
                                   
                                
								
							
                               
                                   
                                       System and network
                                   
                               
							
							
						- package: tis-wireshark
 - name: Wireshark
 - version: 4.4.5-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.09 Mo
 - homepage : https://www.wireshark.org
 - depends:
 - conflicts :
 
package           : tis-wireshark
version           : 4.4.5-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           : tis-win10pcap
conflicts         : tis-npcap
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      : 61078e99-cb5d-4923-8e33-53f50a2ec45d
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-03-01T23:00:15.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         : gDleXeLEoizUi92fc1UQx5OZk1aVa6qt74SdGNEIjPMyFP8iNBuYqNIhrxWkJBfAxSlcU2QuzVz/1iSKB9LtxhDgvHIaitBQA5wY0EQTDfRGGCHkH0KUvX0VWpGv4pFkyCl0wJU+nM7mn4Z6CjhqtVV/aM7dolpruOh+WcxC8iouABZGQy8u8XL2uleeM5YBnddvxJqgiQQdNbTvYT82w7s5b3dOA5eSVfbmCRJbkIun45MMOYmqsq/TOwsA6HRMiCphelOpXfSr52dWdzDtD+sqI654skFza5rZ6GMEd1LhEfpGz4MBiVsp6WyPNYVIUZ5CgH6HqWAvbilJQQ3Dcg==
                        # -*- 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
182da2d7df64fb98411a3abe07bacb959b78329b28d3c2e48feede334086a84e : WAPT/control
790a1e2a46c5470e8fd03c16f9701e4aafb62b070e200258e5d924f7efa5eaea : WAPT/icon.png
2dfdd1116d1f2c5a916a223b3e421f43fd15a6d2fdb7e2be23ce280d2062e19f : Wireshark-4.4.5-x64.exe
113e60ef7b8108b18105bcc1d7aa5c97ab0cbf21e17ef4edd197b70dc8a90aaf : luti.json
7a91b81ee847020889539969507741b5eaf4d3199d228ce904713b568e032891 : setup.py
f919c42a0dc710b14ef640d5b3da7a75c69ac48262b08142e1177f88b7b37597 : update_package.py