Well, I don't really know if this is possible but I wanted to see what you guys think.
A few days ago I got my first raspberry pi 3 b+.
I'm an IT student so I thought about making a "sniffing" device.
My thinking is like this:
-->Carry the raspberry around, when I find open wifi or something like that, connect raspberry to a battery to turn it on, and plug in a wifi dongle with monitor mode support.
-->Create a script which sets everything up to sniff traffic on that network
-->Save capture to analyze later
What I don't know is how would I configure the raspberry on-the-go to let it know to connect to the wifi I want.
I hope I explained well, thanks in advance!