k4m4 / kickthemout

💤 Kick devices off your network by performing an ARP Spoof attack.
https://nikolaskama.me/kickthemoutproject
MIT License
2.53k stars 440 forks source link

ERROR: It seems that you are offline. Please check your internet connection. #513

Closed cyb3rspace closed 1 year ago

cyb3rspace commented 2 years ago

'''/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/scapy/layers/ipsec.py:471: CryptographyDeprecationWarning: Blowfish has been deprecated cipher=algorithms.Blowfish, /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/scapy/layers/ipsec.py:485: CryptographyDeprecationWarning: CAST5 has been deprecated cipher=algorithms.CAST5,

ERROR: It seems that you are offline. Please check your internet connection.'''

I get this error message on Mac despite being online.

zLeki commented 1 year ago

Try this def checkInternetConnection(): try: urlopen('https://github.com', timeout=3) return True except URLError as err: return True except KeyboardInterrupt: shutdown()