mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 04:54:26 +01:00
Remove non-essential scapy3k exception
This commit is contained in:
parent
8202c984c5
commit
3fa1955ce4
@ -27,14 +27,9 @@ def shutdown():
|
|||||||
|
|
||||||
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # Shut up scapy!
|
logging.getLogger("scapy.runtime").setLevel(logging.ERROR) # Shut up scapy!
|
||||||
try:
|
try:
|
||||||
try:
|
from scapy.config import conf
|
||||||
from scapy.config import conf
|
conf.ipv6_enabled = False
|
||||||
conf.ipv6_enabled = False
|
from scapy.all import *
|
||||||
from scapy.all import *
|
|
||||||
except:
|
|
||||||
from scapy3k.config import conf
|
|
||||||
conf.ipv6_enabled = False
|
|
||||||
from scapy3k.all import *
|
|
||||||
import scan, spoof, nmap
|
import scan, spoof, nmap
|
||||||
from urllib.request import urlopen, Request
|
from urllib.request import urlopen, Request
|
||||||
from urllib.error import URLError
|
from urllib.error import URLError
|
||||||
|
Loading…
Reference in New Issue
Block a user