This file is indexed.

/etc/infond/config.lua is in infon-server 0~r198-8build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
-- ip and port to bind listen socket
listenaddr = "127.0.0.1"
listenport = 1234
-- uncomment the following line to enable other players
-- to connect over the network
-- listenaddr = "0.0.0.0"


-- password for the 'shell' command. disabled if empty or missing.
debugpass  = ""

-- password to disable no-client kicking. by default, a player is
-- kicked, once no client is connected for 120 seconds. using this
-- password, players can disable this limit. disabled if empty or 
-- missing.
nokickpass = ""

-- message displayed every 10 seconds
join_info  = "this message can be changed in /etc/infond/config.lua"

-- maps to rotate
maps       = {"foo", "gpn", "water", "cn", "owl", "stripeslice", "castle", "infon" }

-- rules file to use. 
rules      = "default"

-- filename prefix for demo files. disabled if unset.
-- demo       = "infond"

-- time limit for each map
time_limit = nil 

-- score limit for each map
score_limit = 500 

-- access control list. default is to allow connections 
-- from all clients. 
acl        = {{ pattern = "^ip:127\.0\..*"             }, 
              { pattern = "^special:.*"                }, 
              { pattern = ".*"                         },
              { pattern = ".*", deny = "access denied" }}

-- available highlevel apis
highlevel  =  { 'oo', 'state' }

-- disable joining?
-- disable_joining = "no joining!"

-- show banner?              
banner = [[
                    .--..-.
                   /   / \ \'-.  _
                  /   /  _( o)_ ; \
                  O  O  /      ' -.\
                        \___;_/-__ ;)
                          __/   \ //-.
                         ; /     //   \
                         ' (INFON  )   )
                          \(       )   )
                           '      /   /
                            '.__.- -'
                          _ \\   // _
                         (_'_/   \_'_)
]] 

-- allowed files for dofile
dofile_allowed = { 
    menu = "Botcode Menu System";
}

-- Disable Linehook Function.
-- This function offers some advanced debugging features,
-- but has not been tested enough. Do not enable, unless
-- you know what you're doing.
linehook = false

-- DO NOT ENABLE THE DEBUGGER IF OTHER PLAYERS CAN CONNECT
-- TO YOUR SERVER. The debugger is not yet secured against
-- malicious users.
debugger = false

-- competition = {
--     log  = "competition.log";
--     bots = {
--         { source = "bot1.lua" }, 
--         { source = "bot2.lua", 
--           log    = "bot2.log", 
--           name   = "2ndbot" }
--     }
-- }
-- 
-- maps             = { "foo", "foo", "foo" }
-- time_limit       = 10 * 60 * 1000
-- score_limit      = nil
-- listenaddr       = nil

-- Things to do once after the first game started
--
-- function autoexec()
--     start_bot{ source   = "contrib/bots/easybot.lua",
--                name     = "foo",
--                password = "secret",
--                api      = "state" }
-- end

-- function checking user/password combinations.
-- if pass is nil, return a boolean to indicate
-- if the username requires a password. If password
-- is set, return true if the password is correct.
--
-- function check_name_password(user, pass)
-- end

-- Uncomment the following lines to announce your
-- server to the Master Server at infon.dividuum.de.
-- This will send a tiny UDP packet every minute.
--
-- master_ip  = '217.28.96.154' -- infon.dividuum.de
-- servername = 'An Infon Server'