Remove non-essential scapy3k exception

This commit is contained in:
k4m4 2018-04-25 17:17:14 +03:00
parent 8202c984c5
commit 3fa1955ce4
No known key found for this signature in database
GPG Key ID: A85C514862FA7B26

View File

@ -27,14 +27,9 @@ def shutdown():
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # Shut up scapy!
try:
try:
from scapy.config import conf
conf.ipv6_enabled = False
from scapy.all import *
except:
from scapy3k.config import conf
conf.ipv6_enabled = False
from scapy3k.all import *
from scapy.config import conf
conf.ipv6_enabled = False
from scapy.all import *
import scan, spoof, nmap
from urllib.request import urlopen, Request
from urllib.error import URLError