Files
beef/config.yaml
wade@bindshell.net 23470fbe91 Version number has been updated.
Fixes issue 364.

git-svn-id: https://beef.googlecode.com/svn/trunk@1056 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
2011-07-10 01:09:07 +00:00

86 lines
2.9 KiB
YAML

#
# Copyright 2011 Wade Alcorn wade@bindshell.net
#
# 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.
#
# BeEF Configuration file
beef:
version: '0.4.2.8-alpha'
debug: false
restrictions:
# subnet of browser ip addresses that can hook to the framework
permitted_hooking_subnet: "0.0.0.0/0"
# subnet of browser ip addresses that can connect to the UI
# permitted_ui_subnet = "127.0.0.1/32"
permitted_ui_subnet: "0.0.0.0/0"
http:
host: "0.0.0.0"
port: "3000"
# if running behind a nat set the public ip address here
#public: ""
dns: "localhost"
demo_path: "/demos/basic.html"
panel_path: "/ui/panel"
hook_file: "/hook.js"
hook_session_name: "BEEFHOOK"
session_cookie_name: "BEEFSESSION"
database:
#supported DBs: sqlite, mysql
default: "sqlite"
# MySQL Notes:
# It's recommended to install MySQL >= 5.5.x
# Your system will require MySQL, MySQL-Server, MySQL-Devel and Ruby's MySQL libraries installed
# You will also need to "sudo gem install dm-mysql-adapter"
#
# UTF8 notes. Update/Add in my.cnf (or my.ini on Win) the following. Then save and reboot MySQL.
# Read more here: http://cameronyule.com/2008/07/configuring-mysql-to-use-utf-8
# [mysql]
# default-character-set=utf8
# [mysqld]
# character-set-server=utf8
# collation-server=utf8_general_ci
# init-connect='SET NAMES utf8'
# [client]
# default-character-set=utf8
#
# Please note that the db must exists. Schema will be created automatically.
# mysql> CREATE DATABASE beef CHARACTER SET utf8 COLLATE utf8_general_ci;
# mysql> grant all privileges on beef.* to 'beef'@'localhost' identified by 'beef123';
#
mysql:
db_host: "localhost"
db_name: "beef"
db_user: "beef"
db_passwd: "beef123"
db_encoding: "UTF-8"
sqlite:
db_name: "beef.db"
crypto_default_value_length: 80
# You may override default extension configuration parameters here
extension:
requester:
enable: true
proxy:
enable: true
metasploit:
enable: false