Blog Entries for "Ruby"
The last few days I've been building a new feature into the network monitor to visualize topologies. Turns out that if you can build a tree out of your topology, you can render it with Graphviz pretty easily. This has actually be a ton of fun, despite the fact that the ruby-graphviz gem is slightly dated and lacking some attribute support, has a slight TempFile issue when executing via (at least my) Rails app, and hard coded support for only Graphviz dot and twopi (though it's really trivial to support circo and neato). If ... [read more...]
Just a quick update. Nmap ping sweeps are now fully integrated into my networking monitoring web app. Nmap is capable of returning a good deal of information on a range of hosts, so dropping my quick and dirty ping and port sweeps in favor of this now yields more complete results, which can later be passed directly to Metasploit.
Fun Ruby tidbit of the day: IO.popen does not block execution of the current thread, as the docs state, it runs it as a Ruby subprocess. So trying to File.read the output of your popen ... [read more...]
