mahdooglej

Untitled

Feb 8th, 2019
349
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.12 KB | None | 0 0
  1. #!/usr/bin/env ruby
  2.  
  3.  
  4. require 'packetgen'
  5.  
  6.  
  7. packets = PacketGen.capture(iface: 'axp', filter: 'icmp', max: 2)
  8. p packets
Advertisement