sbox.conf
[OCULTAR][main]
server_only=0 # 0=mixed mode 1=only server
log=0 # 1=no log 1=log to /tmp/sbox.log //ALWAYS USE 0//
logudp=192.168.1.11:3354 # server ip:server port
userspath=/usr/bin/users.sbox # users list
channelinfo=/usr/bin/sbox.channelinfo # channel info
webinterface=1 # 1=web interface on 0=web interface off
webadmin=root:ldteam # user
ass for webinterface
webport=8181 # web interface port
radegast=0:16050 # 0=radegast server off - 1=radegast server on : radegast server port
use_nagra=1 # 1=use as nagra card 0=use as irdeto card (only for nagra over irdeto cards)
prio=1800:0000;0100:1111:2222 # prio caid for dvbapi, caid1
rov1;caid2
rov2
rov1
cccam=0:18000 # 0=cccam server off - 1=cccam server on : cccam server port
betatunnel=1 # 0=betatunnel support disabled 1=betatunnel support enabled
[slot0]
active=1 # 0=inactive 1=active
sci=/dev/sci0 # lower
ncdserver=1 # 0=newcamd server off 1=newcamd server on
deskey=0102030405060708091011121314 # newcamd deskey
port=50001 # newcamd port
mhz=368 # Mhz for card in this reader, DON'T WORK ON PHOENIX INTERFACE. Example: mhz=357, mhz=368
reader=1 # 0=phoenix, 1=sci (internal reader), 2=smartreader, 3=omnikey pcsc reader
cache=17 # how many ecms can be cached, 0 or less=cache disabled
# How to ADD RSA for TIGER/NCMED cards
# If your card is a ROM TIGER547 Rev124 (for example)
# [TIGER547] <- this is the rom version from your card
# rsa=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# ONLY THIS, for config bloquer, portlist, etc, look at the examples above!
#Nagra2/3 Example
[CCCCCCCC] # nagra2 camid (4 bytes)
rsa= # rsa "n" from this card (like newcs)
gppkeypubbeta= # alternative method
gppkeypub= # alternative method
boxkey= # boxkey from this card
emm=0 # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0 # use portlist or no
portlistpath=/usr/keys/50001.list # path from port.list
controlsid=0:0 # X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid
#Nagra tiger/ncmed Example
[CCCCCCCC] # nagra camid (4 bytes)
emm=2 # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0 # use portlist or no
portlistpath= # path from port.list
controlsid=0:0 # X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid
#Seca Example
[CCCCCCCC] # seca camid (4 bytes)
ok_view=0 # if ok_view=1 sbox simulates the "ok view this season" on seca smartcards
emm=7 # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0 # use portlist or no
portlistpath= # path from port.list
controlsid=0:0 # X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid
#Viaccess Example
[CCCCCCCC] # via camid (4 bytes)
emm=7 # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0 # use portlist or no
portlistpath= # path from port.list
aeskey= # aeskey used by nano d2, example: aeskey=01:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA;09:BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
controlsid=0:0 # X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid
#Irdeto Example
[CCCCCCCC] # irdeto camid (4 bytes)
camkey=0000000000000000 # CamKEY
camkeydata=00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
emm=7 # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0 # use portlist or no
portlistpath= # path from port.list
controlsid=0:0 # X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid
#NDS Example
[CCCCCCCC] # nds camid (4 bytes)
emm=7 # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0 # use portlist or no
portlistpath= # path from port.list
boxid= # if sbox can't get boxid from card, add here manually
controlsid=0:0 # X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid
#Conax Example
[CCCCCCCC] # conax camid (4 bytes)
emm=7 # 0=accept all 1=block emms 2=block emmu 4=block emmg
portlist=0 # use portlist or no
portlistpath= # path from port.list
rsa= # rsa ecm used on paired cards
controlsid=0:0 # X:Y X=max sids allowed at same time, Y=seconds needed to allow new sid[/OCULTAR]
users.sbox
[OCULTAR]#Example configuration file for sbox cardclient server
#Add newcamd user
#NC=dummy dummy slot0
#NC=dummy dummy slot0 0
#NC=dummy dummy slot0 0 150
#NC=dummy dummy slot0 0 150 ip
# | | | | | | |__________ user ip (optional)
# | | | | | |_____________ user timeout in sec min. 150 max. 1440 (optional)
# | | | | |________________ 0=au disabled for this user 1=au enabled for this user (optional)
# | | | |____________________ server to which this user belongs
# | | |__________________________ password for this user
# | |_______________________________ username
# |____________________________________ newcamd client
NC=dummy dummy slot0 1
#NC=dummy dummy slot1 0
#Add radegast server
#RS=ip port caid provider
# | | | | |__________________ provider
# | | | |________________________ caid
# | | |______________________________ server port
# | |__________________________________ server ip
# |____________________________________ radegast server
#RS=127.0.0.1 16050 1800 000000
#Add newcamd server
#NS=ip port user pass deskey au
# | | | | | | |________ enable send emms, 0=send all 1=dont send emm-s 2=dont send emm-u 4=dont send emm-g
# | | | | | |______________ deskey
# | | | | |____________________ password
# | | | |_________________________ user
# | | |______________________________ server port
# | |__________________________________ server ip
# |____________________________________ newcamd server
#NS=127.0.0.1 15050 dummy dummy 0102030405060708091011121314 7
#Add cccam server
#CS=ip port user pass 3
# | | | | | |________________ max hops (min.1 max.6)
# | | | | |____________________ password
# | | | |_________________________ user
# | | |______________________________ server port
# | |__________________________________ server ip
# |____________________________________ cccam server
#CS=127.0.0.1 15050 dummy dummy 3
#Add cccam client
#CC=user pass
#CC=user pass 5 0 1
#CC=user pass 5 0 1 { 0:0:1 }
#CC=user pass 5 0 1 { 0:0:1 } userip
# | | | | | | | | | |______ user ip (optional)
# | | | | | | | | |____________ max down hops (optional)
# | | | | | | | |______________ without use (optional)
# | | | | | | |________________ without use (optional)
# | | | | | |____________________ 0=au disabled for this user 1=au enabled for this user (optional)
# | | | | |______________________ without use (optional)
# | | | |________________________ gets all our shares at max 5 hops from us (optional)
# | | |___________________________ password
# | |________________________________ user
# |____________________________________ cccam client
#CC=dummy dummy 3 0 0 { 0:0:1 } 192.168.0.154
[/OCULTAR]
CCcam.cfg
[OCULTAR]######################################################################
# CONFIGURACION #
######################################################################
SERVER LISTEN PORT :
ALLOW WEBINFO: yes
WEBINFO USERNAME :
WEBINFO PASSWORD :
TELNETINFO LISTEN PORT :
WEBINFO LISTEN PORT :
ZAP OSD TIME : 0
OSD USERNAME :
OSD PASSWORD :
OSD PORT : 80
SHOW TIMING : yes
MINI OSD : yes
DEBUG : no
NEWCAMD CONF :no
DISABLE EMM : no
EXTRA EMM LEVEL : yes
#MINIMUM DOWNHOPS : 1
#SOFTKEY FILE : /usr/keys/SoftCam.Key
#AUTOROLL FILE : /usr/keys/AutoRoll.Key
#STATIC CW FILE : /usr/keys/constant.cw
CAID PRIO FILE : /etc/CCcam.prio
PROVIDERINFO FILE : /etc/CCcam.providers
CHANNELINFO FILE : /etc/CCcam.channelinfo
#LOG WARNINGS : /tmp/warnings.txt
#DVB API: -1
######################################################################
# ENLACES DE NEWCS Y MBOX #
######################################################################
N: 127.0.0.1 50001 dummy dummy 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256 #SBOX
######################################################################
## CLIENTES ##
## AQUI PONEMOS LAS LINEAS F ##
######################################################################
F: dummy dummy 2 0 1 { 0:0:2 } #actualiza card
######################################################################
## SERVIDOR ##
## AQUI PONEMOS LAS LINEAS C ##
######################################################################
[/OCULTAR]