mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-22 04:54:26 +01:00
Update kickthemout.py
This commit is contained in:
parent
77092773ab
commit
32abf16531
@ -185,7 +185,7 @@ def getDefaultInterfaceMAC():
|
||||
def getGatewayIP():
|
||||
global stopAnimation
|
||||
try:
|
||||
getGateway = sr1(IP(dst="google.com", ttl=0) / ICMP() / "XXXXXXXXXXX", verbose=False)
|
||||
getGateway = sr1(IP(dst="github.com", ttl=0) / ICMP() / "XXXXXXXXXXX", verbose=False)
|
||||
return getGateway.src
|
||||
except:
|
||||
# request gateway IP address (after failed detection by scapy)
|
||||
|
Loading…
Reference in New Issue
Block a user