Prerequisites section in the issue.Write events.stream to a file
Please provide:
Is it possible to save the output to a file? I know net.sniff supports pcap but I would like to capture the ble and wifi traffic to a file as well.
♥ ANY INCOMPLETE REPORT WILL BE CLOSED RIGHT AWAY ♥
mmm not yet :)
Now it is:
bettercap -no-colors -eval "set events.stream.output ~/bettercap-events.log"
( Personally I don't use -no-colors as I like to replay the events with full coloring, but you can use it if you want :) )
See https://github.com/bettercap/bettercap/wiki/events.stream
Thank you sir. Going forward I will expect all my requests to be completed in a timely manor (less than 24 hours) ;-)
Don't put your expectations too high, this is not my job, I do it when I have time :)
I assume this feature is no longer supported? I can't get it to work pasting the exact command.
bettercap v2.24 (built for linux amd64 with go1.11.6)

@robertdavidgraham the events.stream module starts automatically, try switching it off before setting the output destination: -eval "events.stream off; set events.stream.output ~/bettercap-events.log; events.stream on; net.sniff on"
Thanks, this worked.
Most helpful comment
@robertdavidgraham the
events.streammodule starts automatically, try switching it off before setting the output destination:-eval "events.stream off; set events.stream.output ~/bettercap-events.log; events.stream on; net.sniff on"