Comments (3)
Post the contents of your rootthebox.cfg file please.
from rootthebox.
###############################################
Root the Box - Configuration File
###############################################
[Server]
# Web server listen port
port = 8888
# Debug mode provides stack traces, etc
debug = True
# Bootstrap type 'production' / 'developement'
bootstrap = developement
# Set "domain" to your local ip/hostname, this is the address websockets will connect to
# Set to 'auto' to attempt to resolve your local ip automatically
domain = localhost
# Default theme
theme = cyborg.min.css
# Cache static files in memory
cache_files = True
[Logging]
# Sets the log level for the console / terminal
console_level = debug
# Enable/disable file logs
file_logs = True
# Set logging level for the file output (if save_logs is enabled)
file_level = debug
# Path to output file for logs (if save_logs is enabled)
logfile = rtb.log
# Allow admins to view logs from web ui
enable_logviewer = True
[Ssl]
# Enable/disable SSL server
# You'll need to manually setup an HTTP/302 to HTTPS if you want it
use_ssl = False
# Generate a self signed certificate/key like so:
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout bar.key -out foo.crt
# Certificate file path
certificate_file = foo.crt
# Key file path
key_file = bar.key
[Cache]
# Memcached settings
memcached_host = 127.0.0.1
memcached_port = 11211
# Session settings (stored in memcached)
session_age = 1800
session_regeneration_interval = 1800
[Security]
# Comma separated list of ips that can access the admin interface
# For example: admin_ips = 127.0.0.1,192.168.0.25,10.34.0.2
admin_ips = 127.0.0.1,192.168.114.140,192.168.1.10
# If x-headers is set to 'True', the app will honor the real IP address
# provided by a load balancer in the X-Real-Ip or X-Forwarded-For header.
# NOTE: This can affect the IP address security restrictions.
x-headers = False
# max_password_length is the number of chars a user can have for their "bank password"
max_password_length = 7
[Recaptcha]
# Recaptcha private key; get one at http://recaptcha.com
use_recaptcha = yes
private_key = 6LcJJ88SAAAAAPPAN72hppldxema3LI7fkw0jaIa
[Database]
# Supports 'mysql', 'postgresql', or 'sqlite'; defaults to mysql
dialect = mysql
# This is the database name we're connecting to
name = rootthebox
# These are not used for sqlite
# Leave blank or set to 'RUNTIME' if you want to prompt for creds when the application starts
# this keeps sensitive db credentials out of plain-text files, and is recommended for production.
host = localhost
user = rtb
password = rootthebox
# Set orm_sql to 'True' to log sql queries made by the ORM this may
# contain sensitive information! Enable only when you need to debug problems
# Very verbose when True
orm_sql = False
bot_sql = False
[Game]
# Most game settings are stored in the database
# but these are needed before we access the db
# Game name (appears in web ui)
game_name = Root the Box
# Allow users to create their own teams
public_teams = True
# Limit team size to
max_team_size = 3
# Require a registration token to create an account
restrict_registration = False
# Enable/disable use of the black market
use_black_market = True
# Enable/disable botnet features
use_bots = True
# Whitelist the IPs bots can connect from
whitelist_box_ips = False
# Reward amount for each bot per interval
bot_reward = 100
from rootthebox.
You removed the '#' from line 2 (check the default config - https://github.com/moloch--/RootTheBox/blob/master/rootthebox.cfg#L2 ), you need to re-add it so that the line is a comment and not treated as a configuration setting; not a bug in the code, but I could certainly add better error handling around this case.
from rootthebox.
Related Issues (20)
- Editing a flag - lose the dependency HOT 6
- Request a webhook on user validation HOT 2
- Level completion by specific level HOT 12
- Add an order to hints
- Countdown Display Issues
- Add support for SAML based auth [AWS SSO]
- Automatic Ban Feature Issue HOT 3
- Manually validating a user HOT 2
- Login failing, no attribute or memcached not found on Ubuntu 22.0 HOT 3
- Performance/scaling recommendations for RootTheBox server HOT 2
- Webhook for User Registration
- Remove case-sensitive on HANDLE
- Invalid Characters in Full Name HOT 4
- Need help to fetch list of last login users. HOT 1
- DB Schema change HOT 7
- Session Ends and Returns to Login Screen HOT 2
- Guest List Feature
- Cant export game configuration
- Advanced Features Doesn't Work
- Urgent - registration issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rootthebox.