Module Commands
In: commands/modules/show.rb
commands/modules/soap.rb
commands/modules/del.rb
commands/modules/edit.rb
commands/modules/filesystem.rb
commands/modules/add.rb
commands/modules/chucknorris.rb
commands/dispatcher.rb
commands/dispatchers/simple.rb
commands/dispatchers/namespace.rb
commands/parser.rb
commands.rb

Commands module groups three concepts: parsers, dispatchers and modules.

Parsers

A parser is an object that receives user input (lines of text) and forwards the request to the corresponding dispatcher. See Commands::Parser.

Dispatchers

A dispatcher is an object that can handle user request and perform actions. There is no limit in the amount or nature that a dispatcher can perform. See Dispatchers.

Modules

Modules are bits of code that can be plugged in into dradis to provide specific functionality.

Each module must inherit from a dispatcher. Dispatchers must be seen as a general class of module while Modules are concrete implementations providing functionality.

dradis core modules are:

  • Add: provides with commands to add new information to the knowledge base of the server.
  • Del: operations to remove information from the server knowledge base.
  • Show: includes actions to query information already stored on the server.
  • Soap: contains SOAP operations that do not fit in the Add/Del/Show categories
  • Filesystem: demo module that exposes some functionts to interact with the underlying filesystem.
  • Chucknorris: shows a random Chuck Norris fact. This module is based on a similar module of rbot project. Please visit linuxbrit.co.uk/rbot/ for further details.

Classes and Modules

Module Commands::Dispatchers
Module Commands::SoapDriver
Class Commands::Add
Class Commands::Chucknorris
Class Commands::Del
Class Commands::Edit
Class Commands::Filesystem
Class Commands::Parser
Class Commands::Show
Class Commands::Soap

[Validate]