Sha256: 62b854d43514f532fab27794fdf22fbdcc5d79154c3bf4dc41763be177dfdd39
Contents?: true
Size: 1.42 KB
Versions: 4
Compression:
Stored size: 1.42 KB
Contents
#!/usr/bin/env ruby =begin Copyright 2010-2012 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 require_relative '../lib/arachni' Arachni::Options.parse def print_help( root ) puts <<USAGE #{Arachni::BANNER} 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 if Arachni::Options.help print_help( Arachni::Options.root_path ) exit end require 'eventmachine' ::EM.run do # Sinatra will run automatically require Arachni::Options.dir['lib'] + 'ui/web/server' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
arachni-0.4.1.3 | bin/arachni_web |
arachni-0.4.1.2 | bin/arachni_web |
arachni-0.4.1.1 | bin/arachni_web |
arachni-0.4.1 | bin/arachni_web |