Packet capture tool made only with Ruby
% gem install simple_capture
% vim test.rb
test.rb
require "simple_capture"
cap = SimpleCapture::Capture.new("eth1")
cap.run
% sudo ruby test.rb
Packet capture tool made only with Ruby
% gem install simple_capture
% vim test.rb
test.rb
require "simple_capture"
cap = SimpleCapture::Capture.new("eth1")
cap.run
% sudo ruby test.rb