Robin Wood a écrit : > I'm now trying to get the second example work and I'm stuck with the > namespace for the callback function. I've tried everything I can, is > there any example code out there for the HDM Mangled scruby?
This seems to work: #! /usr/bin/env ruby require 'scruby' module Scruby def callback(pcap, packet) puts "yeah!" end end scruby = ScrubyBasic.new scruby.sniff(:prn=>:callback) -- Sylvain SARMEJEANNE _______________________________________________ Framework-Hackers mailing list Framework-Hackers@spool.metasploit.com http://spool.metasploit.com/mailman/listinfo/framework-hackers