Module: Arachni

Included in:
Component::Base
Defined in:
lib/arachni/data.rb,
lib/arachni.rb,
lib/arachni/uri.rb,
lib/arachni/page.rb,
lib/arachni/error.rb,
lib/arachni/issue.rb,
lib/arachni/scope.rb,
lib/arachni/state.rb,
lib/arachni/banner.rb,
lib/arachni/parser.rb,
lib/arachni/report.rb,
lib/arachni/browser.rb,
lib/arachni/options.rb,
lib/arachni/session.rb,
lib/arachni/trainer.rb,
lib/arachni/version.rb,
lib/arachni/page/dom.rb,
lib/arachni/snapshot.rb,
lib/arachni/framework.rb,
lib/arachni/uri/scope.rb,
lib/arachni/utilities.rb,
lib/arachni/check/base.rb,
lib/arachni/page/scope.rb,
lib/arachni/state/http.rb,
lib/arachni/data/issues.rb,
lib/arachni/http/client.rb,
lib/arachni/plugin/base.rb,
lib/arachni/state/audit.rb,
lib/arachni/data/plugins.rb,
lib/arachni/data/session.rb,
lib/arachni/element/base.rb,
lib/arachni/http/headers.rb,
lib/arachni/http/message.rb,
lib/arachni/http/request.rb,
lib/arachni/option_group.rb,
lib/arachni/check/auditor.rb,
lib/arachni/check/manager.rb,
lib/arachni/http/response.rb,
lib/arachni/platform/list.rb,
lib/arachni/reporter/base.rb,
lib/arachni/state/options.rb,
lib/arachni/state/plugins.rb,
lib/arachni/ui/foo/output.rb,
lib/arachni/component/base.rb,
lib/arachni/data/framework.rb,
lib/arachni/element_filter.rb,
lib/arachni/issue/severity.rb,
lib/arachni/plugin/manager.rb,
lib/arachni/rpc/serializer.rb,
lib/arachni/browser_cluster.rb,
lib/arachni/http/cookie_jar.rb,
lib/arachni/rpc/client/base.rb,
lib/arachni/rpc/server/base.rb,
lib/arachni/state/framework.rb,
lib/arachni/component/output.rb,
lib/arachni/platform/manager.rb,
lib/arachni/plugin/formatter.rb,
lib/arachni/reporter/manager.rb,
lib/arachni/reporter/options.rb,
lib/arachni/support/profiler.rb,
lib/arachni/component/manager.rb,
lib/arachni/component/options.rb,
lib/arachni/http/proxy_server.rb,
lib/arachni/processes/manager.rb,
lib/arachni/rpc/server/output.rb,
lib/arachni/browser/javascript.rb,
lib/arachni/data/framework/rpc.rb,
lib/arachni/http/message/scope.rb,
lib/arachni/http/request/scope.rb,
lib/arachni/support/cache/base.rb,
lib/arachni/browser_cluster/job.rb,
lib/arachni/component/utilities.rb,
lib/arachni/http/response/scope.rb,
lib/arachni/issue/severity/base.rb,
lib/arachni/page/dom/transition.rb,
lib/arachni/processes/instances.rb,
lib/arachni/rpc/client/instance.rb,
lib/arachni/rpc/server/instance.rb,
lib/arachni/state/framework/rpc.rb,
lib/arachni/support/buffer/base.rb,
lib/arachni/support/lookup/base.rb,
lib/arachni/rpc/server/framework.rb,
lib/arachni/state/element_filter.rb,
lib/arachni/support/lookup/moolb.rb,
lib/arachni/processes/dispatchers.rb,
lib/arachni/rpc/client/dispatcher.rb,
lib/arachni/rpc/server/dispatcher.rb,
lib/arachni/support/database/base.rb,
lib/arachni/support/database/hash.rb,
lib/arachni/browser_cluster/worker.rb,
lib/arachni/platform/fingerprinter.rb,
lib/arachni/support/database/queue.rb,
lib/arachni/browser/element_locator.rb,
lib/arachni/support/lookup/hash_set.rb,
lib/arachni/support/mixins/terminal.rb,
lib/arachni/browser/javascript/proxy.rb,
lib/arachni/rpc/server/check/manager.rb,
lib/arachni/support/buffer/autoflush.rb,
lib/arachni/support/cache/preference.rb,
lib/arachni/rpc/server/active_options.rb,
lib/arachni/rpc/server/plugin/manager.rb,
lib/arachni/support/mixins/observable.rb,
lib/arachni/browser_cluster/job/result.rb,
lib/arachni/reporter/formatter_manager.rb,
lib/arachni/rpc/server/dispatcher/node.rb,
lib/arachni/rpc/server/framework/slave.rb,
lib/arachni/support/crypto/rsa_aes_cbc.rb,
lib/arachni/rpc/client/instance/service.rb,
lib/arachni/rpc/server/framework/master.rb,
lib/arachni/element/capabilities/mutable.rb,
lib/arachni/browser/javascript/proxy/stub.rb,
lib/arachni/element/capabilities/with_dom.rb,
lib/arachni/rpc/client/instance/framework.rb,
lib/arachni/rpc/server/dispatcher/service.rb,
lib/arachni/browser/javascript/dom_monitor.rb,
lib/arachni/element/capabilities/auditable.rb,
lib/arachni/element/capabilities/with_node.rb,
lib/arachni/browser/javascript/taint_tracer.rb,
lib/arachni/element/capabilities/analyzable.rb,
lib/arachni/element/capabilities/inputtable.rb,
lib/arachni/element/capabilities/with_scope.rb,
lib/arachni/browser_cluster/jobs/taint_trace.rb,
lib/arachni/element/capabilities/submittable.rb,
lib/arachni/rpc/server/framework/distributor.rb,
lib/arachni/support/cache/random_replacement.rb,
lib/arachni/element/capabilities/with_auditor.rb,
lib/arachni/support/cache/least_recently_used.rb,
lib/arachni/element/capabilities/auditable/dom.rb,
lib/arachni/rpc/server/framework/multi_instance.rb,
lib/arachni/support/cache/least_cost_replacement.rb,
lib/arachni/browser/javascript/taint_tracer/frame.rb,
lib/arachni/browser_cluster/jobs/browser_provider.rb,
lib/arachni/element/capabilities/analyzable/taint.rb,
lib/arachni/element/capabilities/with_scope/scope.rb,
lib/arachni/browser_cluster/jobs/taint_trace/result.rb,
lib/arachni/element/capabilities/analyzable/timeout.rb,
lib/arachni/element/capabilities/with_auditor/output.rb,
lib/arachni/browser/javascript/taint_tracer/sink/base.rb,
lib/arachni/browser_cluster/jobs/resource_exploration.rb,
lib/arachni/element/capabilities/analyzable/differential.rb,
lib/arachni/browser/javascript/taint_tracer/sink/data_flow.rb,
lib/arachni/browser_cluster/jobs/taint_trace/event_trigger.rb,
lib/arachni/browser_cluster/jobs/resource_exploration/result.rb,
lib/arachni/browser/javascript/taint_tracer/sink/execution_flow.rb,
lib/arachni/browser/javascript/taint_tracer/frame/called_function.rb,
lib/arachni/browser_cluster/jobs/taint_trace/event_trigger/result.rb,
lib/arachni/browser_cluster/jobs/resource_exploration/event_trigger.rb,
lib/arachni/browser_cluster/jobs/resource_exploration/event_trigger/result.rb

Overview

Copyright 2010-2014 Tasos Laskos <[email protected]>

This file is part of the Arachni Framework project and is subject to
redistribution and commercial restrictions. Please see the Arachni Framework
web site for more information on licensing and terms of use.

Defined Under Namespace

Modules: Check, Checks, Component, Element, HTTP, Mixins, OptionGroups, Platform, Plugin, Plugins, Processes, RPC, Reporter, Reporters, Support, UI, Utilities Classes: Browser, BrowserCluster, Data, ElementFilter, Error, Framework, Issue, OptionGroup, Options, Page, Parser, Report, Scope, Session, Snapshot, State, Trainer, URI

Constant Summary collapse

Severity =
Arachni::Issue::Severity
WEBSITE =
'http://arachni-scanner.com'
WIKI =
"#{WEBSITE}/wiki"
<<EOBANNER
Arachni - Web Application Security Scanner Framework v#{VERSION}
   Author: Tasos "Zapotek" Laskos <[email protected]>

           (With the support of the community and the Arachni Team.)

   Website:       #{WEBSITE}
   Documentation: #{WIKI}
EOBANNER
VERSION =

the universal system version

IO.read( File.dirname( __FILE__ ) + '/../version' ).strip
Form =
Arachni::Element::Form
Arachni::Element::Link
Arachni::Element::Cookie
Header =
Arachni::Element::Header
LinkTemplate =
Arachni::Element::LinkTemplate

Class Method Summary collapse

Class Method Details

.jruby?Bool

Returns:

  • (Bool)


25
26
27
# File 'lib/arachni.rb', line 25

def jruby?
    RUBY_PLATFORM == 'java'
end

.null_deviceObject



20
21
22
# File 'lib/arachni.rb', line 20

def null_device
    Gem.win_platform? ? 'NUL' : '/dev/null'
end

.profile?Bool

Returns ‘true` if the `ARACHNI_PROFILE` env variable is set, `false` otherwise.

Returns:

  • (Bool)

    ‘true` if the `ARACHNI_PROFILE` env variable is set, `false` otherwise.



36
37
38
# File 'lib/arachni.rb', line 36

def profile?
    !!ENV['ARACHNI_PROFILER']
end

.URI(uri) ⇒ Object

Helper method which parses a URL using Arachni::URI.parse.

See Also:



19
20
21
# File 'lib/arachni/uri.rb', line 19

def self.URI( uri )
    Arachni::URI.parse( uri )
end

.windows?Bool

Returns:

  • (Bool)


30
31
32
# File 'lib/arachni.rb', line 30

def windows?
    Gem.win_platform?
end