mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-25 22:44:25 +01:00
Remove non-essential scapy3k exception
This commit is contained in:
parent
8202c984c5
commit
3fa1955ce4
@ -26,15 +26,10 @@ def shutdown():
|
|||||||
os._exit(1)
|
os._exit(1)
|
||||||
|
|
||||||
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