Skip to content

Commit a91d936

Browse files
authored
Update Build-Toolkit.ps1
1 parent 8c6c810 commit a91d936

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Build-Toolkit.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@ function Add-Sysinternals {
141141

142142
function 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
}

0 commit comments

Comments
 (0)