Method: Arachni::RPC::Server::Instance#status

Defined in:
lib/arachni/rpc/server/instance.rb

#statusSymbol

Returns Status of the instance, possible values are (in order):

  • ‘:ready` – Initialised and waiting for instructions.

  • ‘:preparing` – Getting ready to start (i.e. initializing plugins etc.).

  • ‘:scanning` – The instance is currently auditing the webapp.

  • ‘:pausing` – The instance is being paused (if applicable).

  • ‘:paused` – The instance has been paused (if applicable).

  • ‘:suspending` – The instance is being suspended (if applicable).

  • ‘:suspended` – The instance has being suspended (if applicable).

  • ‘:cleanup` – The scan has completed and the instance is

    {Framework#clean_up cleaning up} after itself (i.e. waiting for
    plugins to finish etc.).
    
  • ‘:aborted` – The scan has been Framework#abort, you can grab the

    report and shutdown.
    
  • ‘:done` – The scan has completed, you can grab the report and shutdown.

Returns:

  • (Symbol)

    Status of the instance, possible values are (in order):

    • ‘:ready` – Initialised and waiting for instructions.

    • ‘:preparing` – Getting ready to start (i.e. initializing plugins etc.).

    • ‘:scanning` – The instance is currently auditing the webapp.

    • ‘:pausing` – The instance is being paused (if applicable).

    • ‘:paused` – The instance has been paused (if applicable).

    • ‘:suspending` – The instance is being suspended (if applicable).

    • ‘:suspended` – The instance has being suspended (if applicable).

    • ‘:cleanup` – The scan has completed and the instance is

      {Framework#clean_up cleaning up} after itself (i.e. waiting for
      plugins to finish etc.).
      
    • ‘:aborted` – The scan has been Framework#abort, you can grab the

      report and shutdown.
      
    • ‘:done` – The scan has completed, you can grab the report and shutdown.



341
342
343
# File 'lib/arachni/rpc/server/instance.rb', line 341

def status
    @framework.status
end