How I Hacked Amazon’s $5 WiFi Button to track Baby Data
Ted Benson

I modified this code to use os.system(“mplayer stream”).

I changed count=10 to count=0 so the script will run continuously, but how can I run scapy so that I don’t have to paste in the code each time and so I can get cron to run it when the computer starts?

Is it possible to do something like scapy at command line or in cron? Of course it seems silly to start scapy and then go press the button.

Thank you very kindly for sharing your work. Although it did take me a few minutes to figure out the nuances of getting scapy working (it won’t work reliably on Raspbian Jesse but will on Ubuntu) It was very quick! I’d say your 10 minutes was right on target!

Like what you read? Give Leonard Burton a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.