File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,8 +141,9 @@ function Add-Sysinternals {
141141
142142function Add-Wireshark {
143143 Write-Host " >> Add Wireshark..." - ForegroundColor Yellow
144- $WSUrl = (Invoke-WebRequest " https://www.wireshark.org/" ).Content | Select-String - CaseSensitive - Pattern ' (https:\/\/[a-z0-9\./]+WiresharkPortable[0-9\._]+\.paf\.exe)'
145- Get-RemoteFile - Uri $WSUrl.Matches.Value - OutFile " $WorkFolder \wireshark-portable.exe"
144+ # $WSUrl = (Invoke-WebRequest "https://www.wireshark.org/").Content | Select-String -CaseSensitive -Pattern '(https:\/\/[a-z0-9\./]+WiresharkPortable[0-9\._]+\.paf\.exe)'
145+ $wsUrl = " https://2.na.dl.wireshark.org/win64/WiresharkPortable64_4.6.3.paf.exe"
146+ Get-RemoteFile - Uri $wsUrl - OutFile " $WorkFolder \wireshark-portable.exe"
146147 Get-RemoteFile - Uri " https://nmap.org/npcap/dist/npcap-1.75.exe" - OutFile " $WorkFolder \npcap.exe"
147148 Write-Host " << Added!" - ForegroundColor Yellow
148149}
You can’t perform that action at this time.
0 commit comments