tis-wireshark icon

Wireshark

Paquet d’installation silencieuse pour Wireshark

4.4.4-6
System and network
System and network

  • package: tis-wireshark
  • name: Wireshark
  • version: 4.4.4-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.10 Mo
  • homepage : https://www.wireshark.org
  • depends:
  • conflicts :

package           : tis-wireshark
version           : 4.4.4-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      : b2f67606-56e2-4913-8251-1cde520edf34
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-02-26T15:10:32.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         : ezswJRk6gH5cbJRkub63xgM7qsFF18p3J0gY17nbbthlXv0NtkJZRc/D9YHCSjN9cCVlqXldagCsp2kLUUfPvA0eM+4tfkDVNfhB4dT7DC8YUx3y12czibT3UvmMxklU/+A3VSb2fALeQmbZu/5RnIf7Ojuy8ATfmHfghYP89+8Atldya19o45gADFNPVOTNgE1SFWpN5IiyrJT/m7h5SqK/s0kXbxEVeX2fjspXh5GRykqo9ORcjyBfSR889vO8ghICiEtkOS8zhZ2V8FfMiAKMDlD05UXH0nkZ8Rzwn9b6SQb/h1td2pH0mL8mWSF+F8aQ9AEvt6i71OWvxp00Ng==

# -*- 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
0ea519a171fb02eae3938112310d4860e78b71f0e74f0153d06c2b882feb4143 : WAPT/control
790a1e2a46c5470e8fd03c16f9701e4aafb62b070e200258e5d924f7efa5eaea : WAPT/icon.png
7511107872088965cc781fe877f79371fee441bdcfeae28ab78faa591f780a51 : Wireshark-4.4.4-x64.exe
923950dfee1f19e3a8bb32a435a50479ca33e0356b1bdcffbd3753363c458ada : luti.json
7a91b81ee847020889539969507741b5eaf4d3199d228ce904713b568e032891 : setup.py
f919c42a0dc710b14ef640d5b3da7a75c69ac48262b08142e1177f88b7b37597 : update_package.py