2 hours ago · Tech · hide · 0 comments

CircleCityCon · Indianapolis, IN · 2015 · 17 min Player blocked? Watch it on YouTube. The tagline on the first slide was “It’s not just for Python,” and that was the whole point. Python gets all the attention in security tooling, but a lot of the tools we use every day are written in Ruby, and the language is a good fit for the work. Why Ruby works for security It reads easily. empty?, times, each: you can hand a Ruby script to someone who doesn’t write Ruby and they’ll follow it. Batteries included. A big standard library, first-class regular expressions borrowed from Perl, built-in support for most network protocols, binary string handling, and full OpenSSL bindings. It bends. Open classes, introspection, metaprogramming and blocks make it great for DSLs (think RSpec, Sinatra, Chef), which is exactly what a lot of security tools turn into. It reaches native code. FFI and DL for calling C libraries, plus a C API for extending or embedding it. IRB. A REPL for poking at a protocol or a…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.