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
4a9ee8b9
Commit
4a9ee8b9
authored
15 years ago
by
Dirk Loss
Browse files
Options
Downloads
Patches
Plain Diff
Fixed more imports in arch.windows.__init__py
parent
5326e6c4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scapy/arch/windows/__init__.py
+7
-4
7 additions, 4 deletions
scapy/arch/windows/__init__.py
with
7 additions
and
4 deletions
scapy/arch/windows/__init__.py
+
7
−
4
View file @
4a9ee8b9
...
@@ -3,14 +3,16 @@
...
@@ -3,14 +3,16 @@
## Copyright (C) Philippe Biondi <phil@secdev.org>
## Copyright (C) Philippe Biondi <phil@secdev.org>
## This program is published under a GPLv2 license
## This program is published under a GPLv2 license
import
os
,
re
,
sys
,
socket
import
os
,
re
,
sys
,
socket
,
time
from
glob
import
glob
from
glob
import
glob
from
scapy.config
import
conf
,
ConfClass
from
scapy.config
import
conf
,
ConfClass
from
scapy.error
import
Scapy_Exception
,
log_loading
,
log_runtime
from
scapy.error
import
Scapy_Exception
,
log_loading
,
log_runtime
from
scapy.utils
import
atol
from
scapy.utils
import
atol
,
inet_aton
,
inet_ntoa
,
PcapReader
from
scapy.base_classes
import
Gen
,
Net
from
scapy.base_classes
import
Gen
,
Net
,
SetGen
import
scapy.plist
as
plist
import
scapy.plist
as
plist
from
scapy.sendrecv
import
debug
from
scapy.sendrecv
import
debug
,
srp1
from
scapy.layers.l2
import
Ether
,
ARP
from
scapy.data
import
MTU
,
ETHER_BROADCAST
,
ETH_P_ARP
conf
.
use_pcap
=
1
conf
.
use_pcap
=
1
conf
.
use_dnet
=
1
conf
.
use_dnet
=
1
...
@@ -18,6 +20,7 @@ from scapy.arch import pcapdnet
...
@@ -18,6 +20,7 @@ from scapy.arch import pcapdnet
from
scapy.arch.pcapdnet
import
*
from
scapy.arch.pcapdnet
import
*
LOOPBACK_NAME
=
"
lo0
"
LOOPBACK_NAME
=
"
lo0
"
WINDOWS
=
True
def
_where
(
filename
,
dirs
=
[],
env
=
"
PATH
"
):
def
_where
(
filename
,
dirs
=
[],
env
=
"
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