ronin-support 0.5.0, ronin 1.5.0 and ronin-gen 1.2.0 released!
— postmodern
ronin-support 0.5.0, ronin 1.5.0 and ronin-gen 1.2.0 have finally been released!
$ gem install ronin-support ronin ronin-gen
Checksums
- ronin-support-0.5.0.gem
- MD5:
98594570d14c37101abdfdba32c6505f
- SHA1:
9c505fa3bdb5d38831acfb10ea2989f214db517d
- PGP
- MD5:
- ronin-1.5.0.gem
- MD5:
1bfa9fc2709cc98231abf6944780ab63
- SHA1:
320659d87280d0a99075481ae7a05aa8bad4fff9
- PGP
- MD5:
- ronin-gen-1.2.0.gem
- MD5:
d3a3ea9c59f73abb274be8705160f1a2
- SHA1:
f4a186f9772c2b8bf6807192a0740f3148c81e71
- PGP
- MD5:
Whats New?
pack / unpack
Special pack
/ unpack
methods were added to String,
Integer, Float and Array
classes. Unlike the normal Array#pack / String#unpack methods,
these methods accept C-types:
You can even specify the lengths of fields with Array#pack and String#unpack:
For a complete list of supported types, please see the documentation for Binary::Template.
Binary::Template
The way we implemented the fancy pack
/ unpack
methods, was to create a
template (Binary::Template) which translates C-types to Ruby pack codes.
Using Binary::Template you can create reusable binary templates for packing
and unpacking data.
Binary::Struct
Binary::Struct was also added to ronin-support 0.5.0. It is similar to BinStruct, but provides the same API as FFI::Struct. It supports typedefs, Array fields, nested-Structs and overriding reader/writer methods of fields.
tcp_open? / udp_open?
The tcp_open? and udp_open? methods were added to ronin-support 0.5.0. These methods perform basic tests to determine if a TCP / UDP port is open.
Network::UNIX
Network::UNIX was added to help communicating with UNIX sockets.
Network::FTP
Network::FTP was added to provide the same helper methods as Network::IMAP, but for communicating with FTP Servers.
Network::TCP::Proxy / Network::UDP::Proxy
Network::TCP::Proxy and Network::UDP::Proxy were added as well. Finally, you can create simple evented TCP/UDP proxies, to intercept or rewrite messages.
Console Commands
In ronin 1.5.0, one can now embed variables into shell commands:
>> !ncat #{ip} #{port}
Special Console commands (edit
) have been separated from shell
commands (!netstat -an
) and are now prefixed with a .
:
>> .edit
ronin net:proxy
Building on Network::TCP::Proxy and Network::UDP::Proxy, the net:proxy command was added to ronin 1.5.0 for quick proxying.
$ ronin net:proxy --port 8080 --server google.com:80
$ ronin net:proxy --port 53 --server 4.2.2.1 --udp --hexdump
ronin fuzzer
The fuzzer command was also added to ronin 1.5.0, for quick and dirty fuzzing of files, commands, TCP/UDP Services.
$ ronin fuzzer -i request.txt -o bad.txt -r unix_path:bad_strings
Man pages
Ronin 1.5.0 now sports professional man-pages for every command. The man-pages
are viewed using the ronin help
command.
$ ronin-help wordlist
Update
Due to a few minor bugs that slipped past QA, ronin-support 0.5.1 has been released:
$ gem update ronin-support
- ronin-support-0.5.1.gem:
- MD5:
4e7a07c174d27f8f2c33f43002357ab3
- SHA1:
1a5f5580b0e7b76e5271e60db30d17bc6702b61a
- PGP
- MD5: