Created
November 6, 2017 01:02
-
-
Save picatz/249b8728119c5ba19f335e2e2c30a99f to your computer and use it in GitHub Desktop.
Packetz : Packets Capturing in Monitor Mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "packetz" | |
capture = Packetz.capture | |
capture.enable_monitor_mode! if capture.supports_monitor_mode? | |
capture.start! | |
capture.each do |packet| | |
puts packet.hexdump | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment