mirror of
https://github.com/k4m4/kickthemout.git
synced 2024-11-25 14:34:23 +01:00
Update kickthemout.py
This commit is contained in:
parent
77092773ab
commit
32abf16531
@ -185,7 +185,7 @@ def getDefaultInterfaceMAC():
|
|||||||
def getGatewayIP():
|
def getGatewayIP():
|
||||||
global stopAnimation
|
global stopAnimation
|
||||||
try:
|
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
|
return getGateway.src
|
||||||
except:
|
except:
|
||||||
# request gateway IP address (after failed detection by scapy)
|
# request gateway IP address (after failed detection by scapy)
|
||||||
|
Loading…
Reference in New Issue
Block a user