Quantcast
Channel: EmotiCODE - Snippets and Source Code Search Engine
Viewing all articles
Browse latest Browse all 146

Ruby - http sniffing Ruby

$
0
0
#!/usr/local/bin/ruby require 'pcaplet' httpdump = Pcaplet.new('-s 1500 -i eth0') HTTP_REQUEST = Pcap::Filter.new('tcp and dst port 80', httpdump.capture) HTTP_RESPONSE = Pcap::Filter.new('tcp ...

Viewing all articles
Browse latest Browse all 146

Trending Articles