Sha256: 450813f97e6cadc000f65687d6e4a55518f6312c505933760ac8947520705f4d

Contents?: true

Size: 1.47 KB

Versions: 5

Compression:

Stored size: 1.47 KB

Contents

#!/usr/bin/env ruby
=begin
                  Arachni
  Copyright (c) 2010-2012 Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>

  This is free software; you can copy and distribute and modify
  this program under the term of the GPL v2.0 License
  (See LICENSE file for details)

=end

require_relative "../lib/arachni/options"

Arachni::Options.instance.parse!

def print_help( root )
        puts <<USAGE
Arachni - Web Application Security Scanner Framework
       Author: Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>
                                      <zapotek@segfault.gr>
               (With the support of the community and the Arachni Team.)

       Website:       http://arachni.segfault.gr - http://github.com/Zapotek/arachni
       Documentation: http://github.com/Zapotek/arachni/wiki

  Usage:  arachni_web \[options\]

  Supported options:

    -h
    --help                      output this

    --port                      specify port to listen on
    --host                      specify host to bind to

    --username                  set username for HTTP basic auth
    --password                  set password for HTTP basic auth

    For SSL options refer to "webui.yaml" and "README.webui.yaml.txt" under "#{root}conf/".

USAGE
end

options = Arachni::Options.instance
if options.help
    print_help( options.root_path )
    exit
end

require 'eventmachine'

::EM.run do
    # Sinatra will run automatically
    require Arachni::Options.instance.dir['lib'] + 'ui/web/server'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-0.4.0.4 bin/arachni_web
arachni-0.4.0.3 bin/arachni_web
arachni-0.4.0.2 bin/arachni_web
arachni-0.4.0.1 bin/arachni_web
arachni-0.4 bin/arachni_web