scapyi386.py (ed91ae7fe69ca20e49905f4512eca333d0d68180) | scapyi386.py (a26e895f3d803cc1f4ee1c2b33c61330998808b9) |
---|---|
1#!/usr/bin/env python 2#- 3# SPDX-License-Identifier: BSD-2-Clause 4# 5# Copyright (c) 2019 Netflix, Inc. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26# SUCH DAMAGE. 27# 28# $FreeBSD$ 29# 30 31import argparse | 1#!/usr/bin/env python 2#- 3# SPDX-License-Identifier: BSD-2-Clause 4# 5# Copyright (c) 2019 Netflix, Inc. 6# 7# Redistribution and use in source and binary forms, with or without 8# modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26# SUCH DAMAGE. 27# 28# $FreeBSD$ 29# 30 31import argparse |
32import logging 33logging.getLogger("scapy").setLevel(logging.CRITICAL) |
|
32import scapy.all as sp 33import socket 34import sys 35 36def main(): 37 parser = argparse.ArgumentParser("scapyi386.py", 38 description="IPv6 Ethernet Dest MAC test") 39 parser.add_argument('--sendif', nargs=1, --- 46 unchanged lines hidden --- | 34import scapy.all as sp 35import socket 36import sys 37 38def main(): 39 parser = argparse.ArgumentParser("scapyi386.py", 40 description="IPv6 Ethernet Dest MAC test") 41 parser.add_argument('--sendif', nargs=1, --- 46 unchanged lines hidden --- |