Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scapy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test-restored
platform
external
scapy
Commits
d302b8f6
Commit
d302b8f6
authored
8 years ago
by
gpotter2
Committed by
gpotter2
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Appveyor use npcap
parent
42d4672c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.appveyor/InstallWindump.ps1
+12
-0
12 additions, 0 deletions
.appveyor/InstallWindump.ps1
appveyor.yml
+3
-3
3 additions, 3 deletions
appveyor.yml
with
15 additions
and
3 deletions
.appveyor/InstallWindump.ps1
0 → 100644
+
12
−
0
View file @
d302b8f6
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
This diff is collapsed.
Click to expand it.
appveyor.yml
+
3
−
3
View file @
d302b8f6
...
@@ -11,9 +11,9 @@ environment:
...
@@ -11,9 +11,9 @@ environment:
build
:
off
build
:
off
install
:
install
:
# Install the
wi
npcap, windump and wireshark suites
# Install the npcap, windump and wireshark suites
-
choco install -y
wi
npcap 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%"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment