[framework-hackers] getting sniffing callbacks working from scruby

Robin Wood dninja at gmail.com
Tue Apr 8 16:37:09 CDT 2008


Hi
Has anyone got any example code of getting callbacks working with the
sniff command?

I started with the first example from here:

http://sylv1.tuxfamily.org/projects/scruby.html#script

And found that I had to change it slightly to this to get it to work:

#! /usr/bin/env ruby
require 'scruby'
require 'scruby/func'
module Scruby
a = ScrubyBasic.new
a.sniff
end

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?

Robin


More information about the Framework-Hackers mailing list