Sha256: 6f31f4b76b1c0751b62199377c89ba9a13ed04434c59d0007343a38a32263313

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

#!/usr/bin/env ruby
=begin
    Copyright 2010-2013 Tasos Laskos <tasos.laskos@gmail.com>

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
=end

$LOAD_PATH.unshift( File.expand_path( File.dirname( __FILE__ ) + '/../lib' ) )

require 'arachni/ui/cli/output'
require 'arachni'

include Arachni
include Utilities
include UI::Output

Options.parse( false )

if Options.help || ARGV.empty?
    puts <<EOHELP
#{BANNER}


Usage: #{__FILE__} <script>

Pre-loads Arachni's libraries and loads and runs a Ruby script.

(Call the 'mute' method to mute framework output.)
EOHELP
    exit
end

load ARGV.shift

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
arachni-0.4.5.2 bin/arachni_script
arachni-0.4.5.1 bin/arachni_script
arachni-0.4.5 bin/arachni_script
arachni-0.4.4 bin/arachni_script
arachni-0.4.3.2 bin/arachni_script
arachni-0.4.3.1 bin/arachni_script
arachni-0.4.3 bin/arachni_script
arachni-0.4.2 bin/arachni_script