Arachni-RPC EM

Version 0.1.3
Github page http://github.com/Arachni/arachni-rpc-em
Code Documentation http://rubydoc.info/github/Arachni/arachni-rpc-em/
Author Tasos "Zapotek" Laskos (@Zap0tek)
Twitter @ArachniScanner
Copyright 2011-2013
License 3-clause BSD

Synopsis

Arachni-RPC EM is an implementation of the Arachni-RPC protocol using EventMachine and provides both a server and a client.

Features

It's capable of:

  • Performing and handling a few thousand requests per second (depending on call size, network conditions and the like).
  • Configurable retry-on-fail for requests.
  • TLS encryption (with peer verification).
  • Asynchronous and synchronous requests.
  • Handling server-side asynchronous calls that require a block (or any method that passes its result to a block instead of returning it).
  • Token-based authentication.
  • Primary and secondary (fallback) serializers -- Server will expect the Client to use the primary serializer, if the Request cannot be parsed using the primary one, it will revert to using the fallback to parse the Request and serialize the Response.

Usage

Check out the files in the examples/ directory, they go through everything in great detail.
The tests under spec/arachni/rpc/ cover everything too so they can probably help you out.

Installation

Gem

gem install arachni-rpc-em

Source

If you want to clone the repository and work with the source code:

git co git://github.com/arachni/arachni-rpc-em.git
cd arachni-rpc-em
rake install

Running the Specs

rake spec

Bug reports/Feature requests

Please send your feedback using Github's issue system at http://github.com/arachni/arachni-rpc-em/issues.

License

Arachni-RPC EM is provided under the 3-clause BSD license.
See the LICENSE file for more information.