From c9a5b20f78e56ed82634af472c4da29d3e0e6f12 Mon Sep 17 00:00:00 2001 From: Peter Reichart Date: Wed, 27 Aug 2025 09:13:32 +0000 Subject: [PATCH] =?UTF-8?q?app/install=5Fwireshark.cmd=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/install_wireshark.cmd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 app/install_wireshark.cmd diff --git a/app/install_wireshark.cmd b/app/install_wireshark.cmd new file mode 100644 index 0000000..beafe22 --- /dev/null +++ b/app/install_wireshark.cmd @@ -0,0 +1,26 @@ +:: ------------------------------------------------------------ +:: Installationsroutine +:: ------------------------------------------------------------ + +:: --- Option: Download in ein temporäres Verzeichnis +:: --- Kann für z.B. für GLPI abgeschaltet werden +set SAVEPATH=%SYSTEMDRIVE%\TEMP\install +MKDIR %SAVEPATH% & CD /D %SAVEPATH% + +:: --- npcap herunterladen (muss manuell installiert werden) +set VERS=1.83 +set BASEURL=https://npcap.com/dist +set PROG=npcap-%VERS%.exe +curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% + +:: --- Download Basis-URL, Dateiname und TEMP-Verzeichnis +set VERS=4.4.8 +set BASEURL=https://2.na.dl.wireshark.org/win64 +set PROG=Wireshark-%VERS%-x64.exe + +:: --- Lade Installationsdatei herunter +curl -k -L %BASEURL%/%PROG% -o %SAVEPATH%\%PROG% + +:: --- Silent-Installation des Programms: +%PROG% /S /EXTRACOMPONENTS=ciscodump,sshdump,udpdump +