tis-wireshark icon

Wireshark

Silent install package for Wireshark

4.6.0-6
System and network
System and network

  • package: tis-wireshark
  • name: Wireshark
  • version: 4.6.0-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: 95.68 Mo
  • homepage : https://www.wireshark.org

package           : tis-wireshark
version           : 4.6.0-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      : 8f870ff6-bcf2-41e7-9278-e79b6558af0b
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-10-14T09:12:47.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         : eTPa5Gd5jPNW8QY2Om4eaWyVWjYMtYSKeioQIIB9Yq8Jt9qKG4MCgJ4hl2I3Ilma7s7Na1w5qzUHlzmmPLmzP1MjkXSsakF4+pEKQA68Z5XMuvZeOeDMSe3bgeQYO0gwVJjC1qKPr4kNYtHzEDmGTm9X6hSKVRertLA6D53iH9S0U2/3WZ5x/mj3pV8XoIcFrjjTA84FLnpIMi6LOZBSbm7ZjaA43073hw78hxfzd623ELHpjGNpnpxvf9pp/7ftPukcC96QGRLefRUx6jBQQiyQdsmENkM6REt8UN8VkUfCtJbNF380WnSiNfz+bguErXm+41kRVXCjwi9Nq7QVwg==

# -*- 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'
    }

    for bs_search in bs_find_all(url_base, "a", "target", "_blank", proxies = proxies):
        if bs_search.get("href").endswith(download_os_dict[os_type]):
            download_url = bs_search.get("href")
            latest_bin = 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
a0ee61bed2242b00b839e942482527f1aa3f2ba9773b2904504461923ef28a13 : WAPT/control
790a1e2a46c5470e8fd03c16f9701e4aafb62b070e200258e5d924f7efa5eaea : WAPT/icon.png
aaec7abd3b79e0f336722ab86b193bbf5175fed125d7b8e2629ccdfc9a763aa1 : Wireshark-4.6.0-x64.exe
b852ba4e8b0fe7d675607bd0216fe096009d9199f5c0ab68231d51dc55238930 : luti.json
7a91b81ee847020889539969507741b5eaf4d3199d228ce904713b568e032891 : setup.py
7082bec605be12ba2c21aa9eca5ad5db8ff3ab154d4252945e4ef48f31183824 : update_package.py