app/install_wireshark.cmd hinzugefügt
This commit is contained in:
26
app/install_wireshark.cmd
Normal file
26
app/install_wireshark.cmd
Normal file
@@ -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
|
||||||
|
|
Reference in New Issue
Block a user