Skip to content
Snippets Groups Projects
Commit d302b8f6 authored by gpotter2's avatar gpotter2 Committed by gpotter2
Browse files

Appveyor use npcap

parent 42d4672c
No related branches found
No related tags found
No related merge requests found
wget https://github.com/hsluoyz/WinDump/releases/download/v0.1/WinDump-for-Npcap-0.1.zip -UseBasicParsing -OutFile .\npcap.zip
Add-Type -AssemblyName System.IO.Compression.FileSystem
function Unzip
{
param([string]$zipfile, [string]$outpath)
[System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpath)
}
Unzip $PSScriptRoot"\npcap.zip" $PSScriptRoot"\npcap"
Remove-Item ".\npcap.zip"
Move-Item -Force ".\npcap\x64\WinDump.exe" "C:\Windows\System32\windump.exe"
Remove-Item ".\npcap" -recurse
\ No newline at end of file
...@@ -11,9 +11,9 @@ environment: ...@@ -11,9 +11,9 @@ environment:
build: off build: off
install: install:
# Install the winpcap, windump and wireshark suites # Install the npcap, windump and wireshark suites
- choco install -y winpcap wireshark - choco install -y npcap wireshark
- ps: wget http://www.winpcap.org/windump/install/bin/windump_3_9_5/WinDump.exe -UseBasicParsing -OutFile C:\Windows\System32\windump.exe - ps: .\.appveyor\InstallWindump.ps1
# Install Python modules # Install Python modules
- "%PYTHON%\\python -m pip install cryptography coverage mock pyreadline keyboard" - "%PYTHON%\\python -m pip install cryptography coverage mock pyreadline keyboard"
- set PATH="%PYTHON%\\Scripts\\;%PATH%" - set PATH="%PYTHON%\\Scripts\\;%PATH%"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment