I am following the cores: Python for Ethical Hacking Develop Pentesting tools (on udemy)
This is a Hackersploit cores. I am having trouble writing a mac sniffer
(section 6, tutorial 9)
When I run my ./excitably in Kali after chmod +x, I just get the error message on lines 35-36
[!!] Error on creating socket object from the try: except: statement.
I am running this with sudo privileges
Below is the link to my code.
I have heavily commented it to help me understand it better but please do correct me if I have misunderstood .
I would real appreciate any help with this please