├── .github └── workflows │ └── main.yml ├── .gitignore ├── .travis.yml ├── .trunk-svn ├── CMakeLists.txt ├── CODING.RULES.txt ├── COPYING ├── Distribution ├── doc │ ├── example │ │ ├── oscam.ac │ │ ├── oscam.cacheex │ │ ├── oscam.cert │ │ ├── oscam.conf │ │ ├── oscam.dvbapi │ │ ├── oscam.guess │ │ ├── oscam.ird │ │ ├── oscam.provid │ │ ├── oscam.server │ │ ├── oscam.services │ │ ├── oscam.srvid │ │ ├── oscam.tiers │ │ ├── oscam.user │ │ └── oscam.whitelist │ ├── html │ │ ├── list_smargo.1.html │ │ ├── oscam.1.html │ │ ├── oscam.ac.5.html │ │ ├── oscam.cacheex.5.html │ │ ├── oscam.cert.5.html │ │ ├── oscam.conf.5.html │ │ ├── oscam.dvbapi.5.html │ │ ├── oscam.guess.5.html │ │ ├── oscam.ird.5.html │ │ ├── oscam.provid.5.html │ │ ├── oscam.ratelimit.5.html │ │ ├── oscam.server.5.html │ │ ├── oscam.services.5.html │ │ ├── oscam.srvid.5.html │ │ ├── oscam.srvid2.5.html │ │ ├── oscam.tiers.5.html │ │ ├── oscam.user.5.html │ │ └── oscam.whitelist.5.html │ ├── man │ │ ├── list_smargo.1 │ │ ├── oscam.1 │ │ ├── oscam.ac.5 │ │ ├── oscam.cacheex.5 │ │ ├── oscam.cert.5 │ │ ├── oscam.conf.5 │ │ ├── oscam.dvbapi.5 │ │ ├── oscam.guess.5 │ │ ├── oscam.ird.5 │ │ ├── oscam.provid.5 │ │ ├── oscam.ratelimit.5 │ │ ├── oscam.server.5 │ │ ├── oscam.services.5 │ │ ├── oscam.srvid.5 │ │ ├── oscam.srvid2.5 │ │ ├── oscam.tiers.5 │ │ ├── oscam.user.5 │ │ └── oscam.whitelist.5 │ └── txt │ │ ├── list_smargo.txt │ │ ├── oscam.ac.txt │ │ ├── oscam.cacheex.txt │ │ ├── oscam.cert.txt │ │ ├── oscam.conf.txt │ │ ├── oscam.dvbapi.txt │ │ ├── oscam.guess.txt │ │ ├── oscam.ird.txt │ │ ├── oscam.provid.txt │ │ ├── oscam.ratelimit.txt │ │ ├── oscam.server.txt │ │ ├── oscam.services.txt │ │ ├── oscam.srvid.txt │ │ ├── oscam.srvid2.txt │ │ ├── oscam.tiers.txt │ │ ├── oscam.txt │ │ ├── oscam.user.txt │ │ └── oscam.whitelist.txt └── monitor │ ├── mpcsmon-src-0.6.tar.bz2 │ └── mpcsmon.sh ├── LICENSE ├── Makefile ├── Makefile.extra ├── README ├── README.build ├── README.config ├── README.dvbapi_protocol ├── README.md ├── cardlist.c ├── cardlist.h ├── config.h ├── config.sh ├── cscrypt ├── CMakeLists.txt ├── Makefile ├── aes.c ├── aes.h ├── bn.h ├── bn_add.c ├── bn_asm.c ├── bn_ctx.c ├── bn_div.c ├── bn_exp.c ├── bn_lcl.h ├── bn_lib.c ├── bn_mul.c ├── bn_print.c ├── bn_shift.c ├── bn_sqr.c ├── bn_word.c ├── buffer.h ├── des.c ├── des.h ├── fast_aes.c ├── fast_aes.h ├── i_cbc.c ├── i_ecb.c ├── i_skey.c ├── idea.h ├── idea_lcl.h ├── jet_dh.c ├── jet_dh.h ├── jet_twofish.c ├── jet_twofish.h ├── md5.c ├── md5.h ├── mdc2.c ├── mdc2.h ├── mem.c ├── openssl_mods.h ├── rc6.c ├── rc6.h ├── sha1.c ├── sha1.h ├── sha256.c └── sha256.h ├── csctapi ├── CMakeLists.txt ├── Makefile ├── atr.c ├── atr.h ├── cardreaders.h ├── icc_async.c ├── icc_async.h ├── ifd_azbox.c ├── ifd_cool.c ├── ifd_db2com.c ├── ifd_db2com.h ├── ifd_drecas.c ├── ifd_drecas.h ├── ifd_mp35.c ├── ifd_pcsc.c ├── ifd_phoenix.c ├── ifd_phoenix.h ├── ifd_sc8in1.c ├── ifd_sci.c ├── ifd_sci_global.h ├── ifd_sci_ioctl.h ├── ifd_smargo.c ├── ifd_smartreader.c ├── ifd_smartreader_types.h ├── ifd_stapi.c ├── ifd_stinger.c ├── io_serial.c ├── io_serial.h ├── protocol_t0.c ├── protocol_t0.h └── protocol_t1.c ├── devtools ├── README ├── check_cmdline_opts.sh ├── check_config_tables.sh └── extract_config.sh ├── extapi ├── README ├── coolapi.h ├── cygwin │ ├── SCardErr.h │ ├── WinSCard.h │ └── WinSmCrd.h ├── linux │ ├── README │ ├── serial.h │ └── tty_flags.h └── openxcas │ ├── libOpenXCASAPI.a │ ├── openxcas.conf │ ├── openxcas_api.h │ ├── openxcas_message.h │ └── openxcas_smartcard.h ├── ffdecsa ├── CMakeLists.txt ├── COPYING ├── Makefile ├── ffdecsa.c ├── ffdecsa.h ├── fftable.h ├── parallel_032_int.h ├── parallel_064_long.h ├── parallel_128_neon.h ├── parallel_128_sse2.h ├── parallel_generic.h ├── parallel_std_def.h └── stream.c ├── files ├── SoftCam.Key ├── oscam.constcw ├── oscam.dvbapi ├── oscam.server └── softcam.oscam ├── git-svn-diff.sh ├── globals.h ├── minilzo ├── CMakeLists.txt ├── Makefile ├── README.LZO ├── lzoconf.h ├── lzodefs.h ├── minilzo.c └── minilzo.h ├── module-anticasc.c ├── module-anticasc.h ├── module-cacheex.c ├── module-cacheex.h ├── module-camd33.c ├── module-camd35-cacheex.c ├── module-camd35-cacheex.h ├── module-camd35.c ├── module-camd35.h ├── module-cccam-cacheex.c ├── module-cccam-cacheex.h ├── module-cccam-data.h ├── module-cccam.c ├── module-cccam.h ├── module-cccshare.c ├── module-cccshare.h ├── module-constcw.c ├── module-csp.c ├── module-cw-cycle-check.c ├── module-cw-cycle-check.h ├── module-dvbapi-azbox.c ├── module-dvbapi-azbox.h ├── module-dvbapi-chancache.c ├── module-dvbapi-chancache.h ├── module-dvbapi-coolapi-legacy.c ├── module-dvbapi-coolapi.c ├── module-dvbapi-coolapi.h ├── module-dvbapi-mca.c ├── module-dvbapi-mca.h ├── module-dvbapi-stapi.c ├── module-dvbapi-stapi.h ├── module-dvbapi-stapi5.c ├── module-dvbapi.c ├── module-dvbapi.h ├── module-emulator-biss.c ├── module-emulator-biss.h ├── module-emulator-cryptoworks.c ├── module-emulator-cryptoworks.h ├── module-emulator-director.c ├── module-emulator-director.h ├── module-emulator-icam.c ├── module-emulator-icam.h ├── module-emulator-irdeto.c ├── module-emulator-irdeto.h ├── module-emulator-nagravision.c ├── module-emulator-nagravision.h ├── module-emulator-osemu.c ├── module-emulator-osemu.h ├── module-emulator-powervu.c ├── module-emulator-powervu.h ├── module-emulator-streamserver.c ├── module-emulator-streamserver.h ├── module-emulator-viaccess.c ├── module-emulator-viaccess.h ├── module-emulator.c ├── module-gbox-cards.c ├── module-gbox-cards.h ├── module-gbox-helper.c ├── module-gbox-helper.h ├── module-gbox-remm.c ├── module-gbox-remm.h ├── module-gbox-sms.c ├── module-gbox-sms.h ├── module-gbox.c ├── module-gbox.h ├── module-ghttp.c ├── module-ird-guess.c ├── module-ird-guess.h ├── module-lcd.c ├── module-lcd.h ├── module-led.c ├── module-led.h ├── module-monitor.c ├── module-monitor.h ├── module-newcamd-des.c ├── module-newcamd-des.h ├── module-newcamd.c ├── module-newcamd.h ├── module-pandora.c ├── module-radegast.c ├── module-scam.c ├── module-serial.c ├── module-stat.c ├── module-stat.h ├── module-webif-lib.c ├── module-webif-lib.h ├── module-webif-tpl.c ├── module-webif-tpl.h ├── module-webif.c ├── module-webif.h ├── modules.h ├── oscam-aes.c ├── oscam-aes.h ├── oscam-array.c ├── oscam-array.h ├── oscam-cache.c ├── oscam-cache.h ├── oscam-chk.c ├── oscam-chk.h ├── oscam-client.c ├── oscam-client.h ├── oscam-conf-chk.c ├── oscam-conf-chk.h ├── oscam-conf-mk.c ├── oscam-conf-mk.h ├── oscam-conf.c ├── oscam-conf.h ├── oscam-config-account.c ├── oscam-config-global.c ├── oscam-config-null.c ├── oscam-config-null.h ├── oscam-config-reader.c ├── oscam-config.c ├── oscam-config.h ├── oscam-ecm.c ├── oscam-ecm.h ├── oscam-emm-cache.c ├── oscam-emm-cache.h ├── oscam-emm.c ├── oscam-emm.h ├── oscam-failban.c ├── oscam-failban.h ├── oscam-files.c ├── oscam-files.h ├── oscam-garbage.c ├── oscam-garbage.h ├── oscam-hashtable.c ├── oscam-hashtable.h ├── oscam-llist.c ├── oscam-llist.h ├── oscam-lock.c ├── oscam-lock.h ├── oscam-log-reader.c ├── oscam-log-reader.h ├── oscam-log.c ├── oscam-log.h ├── oscam-net.c ├── oscam-net.h ├── oscam-reader.c ├── oscam-reader.h ├── oscam-simples.c ├── oscam-string-isotables.h ├── oscam-string.c ├── oscam-string.h ├── oscam-time.c ├── oscam-time.h ├── oscam-work.c ├── oscam-work.h ├── oscam.c ├── patches-ahead ├── 0001-modern_webif.patch ├── 0002-zeroconf.patch ├── 0003-oscam-emu.patch ├── 0004-oscam_emu_icam_dvbapi_radegast_v9.patch ├── 0005-sogno_unibox_dvbapi-11518_boxtype_sogno_version.patch ├── 0006-CAK7.patch ├── 0007-smod.patch ├── 0008-ncam-jet.patch ├── 0009-ncam-cccam.patch ├── 0010-log_bad_cacheex_cw_2.patch ├── 0011-logfile.patch ├── X001-CAK7.patch ├── X002-show_me_the_bad_guy_3.patch ├── rest.patch └── show_me_the_bad_guy_3.patch ├── reader-bulcrypt.c ├── reader-common.c ├── reader-common.h ├── reader-conax.c ├── reader-cryptoworks.c ├── reader-dgcrypt.c ├── reader-dre-cas.c ├── reader-dre-common.c ├── reader-dre-common.h ├── reader-dre-st20.c ├── reader-dre-st20.h ├── reader-dre.c ├── reader-griffin.c ├── reader-irdeto.c ├── reader-irdeto.h ├── reader-jet.c ├── reader-nagra-common.c ├── reader-nagra-common.h ├── reader-nagra.c ├── reader-nagracak7.c ├── reader-nagracak7.h ├── reader-seca.c ├── reader-streamguard.c ├── reader-tongfang.c ├── reader-viaccess.c ├── reader-videoguard-common.c ├── reader-videoguard-common.h ├── reader-videoguard1.c ├── reader-videoguard12.c ├── reader-videoguard2.c ├── readers.h ├── sample-bb ├── enigma2-plugin-softcams-oscam-schimmelreiter-ipv4.bb ├── enigma2-plugin-softcams-oscam-schimmelreiter.bb └── oscam-schimmelreiter.inc ├── scripts ├── modern-up.sh └── svn-up.sh ├── tests.c ├── tommyDS_hashlin ├── tommychain.h ├── tommyhash.c ├── tommyhash.h ├── tommyhashlin.c ├── tommyhashlin.h ├── tommylist.c ├── tommylist.h └── tommytypes.h ├── toolchains ├── toolchain-arm-coolstream.cmake ├── toolchain-arm-dockstar-openwrt.cmake ├── toolchain-arm-friendlyarm.cmake ├── toolchain-arm-mca.cmake ├── toolchain-arm-none.cmake ├── toolchain-arm-nslu2-openwrt.cmake ├── toolchain-arm-nslu2-unslung.cmake ├── toolchain-arm-su980.cmake ├── toolchain-arm-wrt350nv2-openwrt.cmake ├── toolchain-mips-agv2_w.cmake ├── toolchain-mips-azbox.cmake ├── toolchain-mips-dir825.cmake ├── toolchain-mips-fonera2.cmake ├── toolchain-mips-tuxbox.cmake ├── toolchain-mips-wrt54g.cmake ├── toolchain-mipsel-tuxbox-broken-pthread.cmake ├── toolchain-mipsel-tuxbox-linux-gnu.cmake ├── toolchain-mipsel-tuxbox.cmake ├── toolchain-powerpc-tuxbox.cmake ├── toolchain-sh4-amino.cmake ├── toolchain-sh4-qboxhd.cmake ├── toolchain-sh4-tuxbox-stapi.cmake ├── toolchain-sh4-tuxbox.cmake ├── toolchain-sparc-padre.cmake └── toolchain-tripledragon.cmake ├── utils ├── CMakeLists.txt └── list_smargo.c └── webif ├── .gitignore ├── Makefile ├── README ├── api.json ├── cacheex.json ├── cacheexaiobit.json ├── cacheexbit.json ├── entitlementbit.json ├── entitlements.json ├── footer.json ├── header.json ├── reader.json ├── readerbit.json ├── status.json ├── status_statusbits.json ├── user.json └── userbit.json ├── api.xml ├── cccamcardlist.xml ├── cccamcardlist_cardlist.xml ├── cccamcardlist_cardlist_nodelist.xml ├── cccamcardlist_cardlist_providerlist.xml ├── confirmation.xml ├── error.xml ├── failban.xml ├── failban_failbanrow.xml ├── file.xml ├── footer.xml ├── header.xml ├── readers.xml ├── readers_readerlist.xml ├── readerstats.xml ├── readerstats_ecmstats.xml ├── readerstats_emmstats.xml ├── status.xml ├── status_statusbits.xml ├── userconfiglist.xml ├── userconfiglist_userconfigs.xml └── useredit.xml ├── cacheex ├── cacheex.html ├── cacheex_tablerow.html └── cacheex_tablerow_stats.html ├── cacheexaio ├── cacheex.html ├── cacheex_tablerow.html └── cacheex_tablerow_stats.html ├── config ├── anticasc.html ├── cache.html ├── cache_cacheexaiocsp.html ├── cache_cacheexcsp.html ├── cache_cwcycle.html ├── cacheaio.html ├── camd33.html ├── camd35.html ├── camd35tcp.html ├── cccam.html ├── cccam_control.html ├── cccreshare.html ├── config.html ├── dvbapi.html ├── gbox.html ├── global.html ├── global_enableledbit.html ├── global_getblockemmauprovid.html ├── global_localcards.html ├── global_suppresscmd08.html ├── global_unlockparental.html ├── lcd.html ├── loadbalancer.html ├── loadbalancer_control.html ├── menu.html ├── menu_anticasc.html ├── menu_camd33.html ├── menu_camd35.html ├── menu_camd35tcp.html ├── menu_cccam.html ├── menu_cmcaptioncwc.html ├── menu_dvbapi.html ├── menu_gbox.html ├── menu_lcd.html ├── menu_loadbalancer.html ├── menu_monitor.html ├── menu_newcamd.html ├── menu_radegast.html ├── menu_scam.html ├── menu_serial.html ├── menu_streamrelay.html ├── monitor.html ├── newcamd.html ├── radegast.html ├── scam.html ├── serial.html ├── serial_devices.html ├── streamrelay.html ├── webif.html ├── webif_httpssl.html ├── webif_show_jquery.html └── webif_showcacheexinfo.html ├── emm └── emm.html ├── emm_running └── emm_running.html ├── entitlements ├── entitlements.html ├── entitlements_bit.html ├── entitlements_bit_nds.html ├── entitlements_cccambit.html ├── entitlements_cccambit_statsentry.html ├── entitlements_genericbit.html └── entitlements_itembit.html ├── failban ├── failban.html └── failban_failbanrow.html ├── files ├── file.html ├── file_edit_css.html ├── file_filterform.html ├── file_writeprotection.html ├── menu.html ├── menu_anticasc.html ├── menu_constantcw.html ├── menu_dvbapi.html ├── menu_fakecws.html ├── menu_gbox.html ├── menu_softcamkey.html └── menu_twin.html ├── ghttp ├── autoconf.html └── pre_autoconf.html ├── graph └── graph.svg ├── images ├── ICARRL.svg ├── ICARRR.svg ├── ICDEL.svg ├── ICDIS.svg ├── ICEDI.svg ├── ICEMM.svg ├── ICENA.svg ├── ICENT.svg ├── ICHID.svg ├── ICKIL.svg ├── ICMLOGO.svg ├── ICREF.svg ├── ICRES.svg ├── ICSHW.svg ├── ICSPAC.gif ├── ICSTA.svg ├── ICSTART.svg ├── ICSTOP.svg └── favicon.ico ├── include ├── body.html ├── cccamentitlements.html ├── cccamentitletooltip.html ├── css.css ├── footer.html ├── foundentitlements.html ├── header.html ├── header_short.html ├── jquery.js ├── jscript.js ├── logobit.html ├── logobit_img.html ├── menu.html ├── menu_cacheexmenuitem.html ├── message.html ├── message_bit.html ├── noentitlements.html ├── poll.html ├── pollingset.html ├── protocamd3aiopic.html ├── protocccampic.html ├── protonewcamdpic.html ├── protootherpic.html └── refresh.html ├── logmenu ├── log_clearlog.html ├── log_clearuserlog.html ├── log_disablelogmenu.html ├── log_filterform.html └── log_logmenuonoff.html ├── logpage ├── logpage.html ├── logpage_debugmenu.html ├── logpage_menu.html └── logpage_sizemenu.html ├── pages_gen.c ├── pages_index.txt ├── pages_index_check ├── pages_mkdep ├── readerconfig ├── readerconfig.html ├── readerconfig_cacheexaiobit.html ├── readerconfig_cacheexbit.html ├── readerconfig_camd35bit.html ├── readerconfig_cccambit.html ├── readerconfig_cs378xbit.html ├── readerconfig_emubit.html ├── readerconfig_gboxbit.html ├── readerconfig_gboxcccresharebit.html ├── readerconfig_ghttpbit.html ├── readerconfig_hopbit.html ├── readerconfig_hwreader.html ├── readerconfig_hwreader_boxkey.html ├── readerconfig_hwreader_conax.html ├── readerconfig_hwreader_cryptoworks.html ├── readerconfig_hwreader_deskey.html ├── readerconfig_hwreader_dre.html ├── readerconfig_hwreader_irdeto.html ├── readerconfig_hwreader_jet.html ├── readerconfig_hwreader_nagra.html ├── readerconfig_hwreader_nagracak7.html ├── readerconfig_hwreader_nano.html ├── readerconfig_hwreader_pincode.html ├── readerconfig_hwreader_rsakey.html ├── readerconfig_hwreader_sc8in1.html ├── readerconfig_hwreader_smargo.html ├── readerconfig_hwreader_tongfang.html ├── readerconfig_hwreader_viaccess.html ├── readerconfig_hwreader_videoguard.html ├── readerconfig_lbweight.html ├── readerconfig_ncd524bit.html ├── readerconfig_ncd525bit.html ├── readerconfig_radegastbit.html ├── readerconfig_scambit.html ├── readerconfig_sid.html ├── readerconfig_sidlbokbit.html ├── readerconfig_sidnobit.html ├── readerconfig_sidokbit.html ├── readerconfigaio.html └── readerinfo_gbox_remm.html ├── readers ├── readerctypbit.html ├── readerctypnoicon.html ├── readerlabel.html ├── readernamebit.html ├── readernoicon.html ├── readers.html ├── readers_lblweightbit.html ├── readers_lblweightd.html ├── readers_lblweightu.html ├── readers_readerlist.html ├── readers_readerlist_entitlement.html ├── readers_readerlist_lbstat.html ├── readers_readerlist_refresh.html ├── readers_readerlist_writeemm.html ├── readersaio.html └── readersaio_readerlist.html ├── readerstats ├── readerstats.html ├── readerstats_nostats.html ├── readerstats_statsbit.html ├── readerstatsinvalid.html ├── readerstatsnotfound.html ├── readerstatsrowbit.html └── readerstatstimeoutbit.html ├── savetemplates └── savetemplates.html ├── scanusb ├── scanusb.html └── scanusb_usbbit.html ├── script └── script.html ├── services ├── services.html ├── services_servicetabs.html └── services_servicetabs_sidlist.html ├── services_edit ├── services_edit.html └── services_editaio.html ├── shutdown ├── pre_shutdown.html └── shutdown.html ├── status ├── status.html ├── status_cacheexaioinfo.html ├── status_cacheexinfo.html ├── status_cheadline.html ├── status_cheadlineadd.html ├── status_clientheadlinebit.html ├── status_clientstatusbit.html ├── status_currentchannel.html ├── status_currentchannelbit.html ├── status_currentchannelpic.html ├── status_headline.html ├── status_hidebutton.html ├── status_killbutton.html ├── status_lblvaluereaderbit.html ├── status_lbvaluereaderproxy.html ├── status_loghistory.html ├── status_mheadline.html ├── status_pheadline.html ├── status_pheadlineadd.html ├── status_reader.html ├── status_readericon.html ├── status_readerinfo.html ├── status_restartbutton.html ├── status_rheadline.html ├── status_rheadlineadd.html ├── status_sdebug.html ├── status_sdebugaio.html ├── status_sheadline.html ├── status_systeminfo.html ├── status_user.html ├── status_usericon.html └── status_userinfo.html ├── touch ├── css.css ├── jscript.js └── status.html ├── user_edit ├── user_edit.html ├── user_edit_anticasc.html ├── user_edit_cacheexaiobit.html ├── user_edit_cacheexbit.html ├── user_edit_cccam.html ├── user_edit_cwcycle.html ├── user_edit_monlevel.html ├── user_edit_sid.html ├── user_edit_sidnobit.html ├── user_edit_sidokbit.html └── user_editaio.html └── userconfig ├── userconfig.html ├── userconfig_anticascbit.html ├── userconfig_cwanticascthv.html ├── userconfig_cwcyclebit.html ├── userconfig_cwcyclethv.html ├── userconfig_entry.html ├── userconfig_entry_cwanticasctbv.html ├── userconfig_entry_cwcycletbv.html ├── userconfig_lastchannelicon.html ├── userconfig_newuserform.html ├── userconfig_notify.html ├── userconfig_usericon.html ├── userconfig_userlabel.html └── userconfig_usernoicon.html /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: oscam smod 2 | 3 | on: 4 | push: 5 | branches: [ master ] 6 | pull_request: 7 | branches: [ master ] 8 | 9 | jobs: 10 | build: 11 | name: Build oscam 12 | runs-on: ubuntu-latest 13 | strategy: 14 | matrix: 15 | gcc: [9, 10, 11, 12] 16 | steps: 17 | - name: Install prerequisites 18 | run: | 19 | sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test 20 | sudo apt-get -q update 21 | sudo apt-get install g++-${{ matrix.gcc }} 22 | 23 | - uses: actions/checkout@v2 24 | with: 25 | ref: 'master' 26 | 27 | - name: Build oscam 28 | env: 29 | CC: "gcc-${{ matrix.gcc }}" 30 | CXX: "g++-${{ matrix.gcc }}" 31 | run: | 32 | echo "compiling oscam" 33 | sed -i 's/#if defined(WITH_SOFTCAM) && !defined(__APPLE__) && !defined(__ANDROID__)/#if defined(WITH_SOFTCAM_PATCH)/g' module-emulator-osemu.c 34 | ./config.sh -E all 35 | make 36 | echo done! 37 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # generated binaries 2 | Distribution/oscam-* 3 | Distribution/list_smargo-* 4 | 5 | # backup/swap file for vi 6 | *~ 7 | *.swp 8 | 9 | # IDE resources 10 | .vscode 11 | 12 | # build directories 13 | /build/ 14 | 15 | # Currently enabled config items 16 | webif/is_defined.txt 17 | 18 | # Testing program 19 | tests.bin 20 | tests.bin.debug 21 | 22 | # Emu files 23 | *.patch 24 | SoftCam.* 25 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: cpp 2 | script: ./config.sh -E all && make 3 | -------------------------------------------------------------------------------- /.trunk-svn: -------------------------------------------------------------------------------- 1 | 11720 2 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.ac: -------------------------------------------------------------------------------- 1 | # 2 | # anti-cascading table 3 | # 4 | # format: 5 | # 6 | # := 7 | # 8 | 9 | 0500:000000=10 10 | *=7 11 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.cacheex: -------------------------------------------------------------------------------- 1 | # 2 | # ECM length matching table 3 | # 4 | # format: 5 | # 6 | # matching: 7 | # m:[CAID][:][provider ID][:][service ID][:][ECM PID][:][CHID][:][ECM length 1][,ECM length 2]...= 8 | # [CAID][:][provider ID][:][service ID][:][ECM PID][:][CHID][:][ECM length 1][,ECM length 2]... 9 | # 10 | 11 | m:1234:::::93=5678:::::93 # matching CAID 1234 and CAID 5678 with 12 | # ECM length 93 -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.cert: -------------------------------------------------------------------------------- 1 | # 2 | # Issuer Public Keys (IPK) 3 | # 4 | # format: 5 | # 6 | # CAID:reserved:KEY 7 | # 8 | 9 | 0100:00000000:000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F 10 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.dvbapi: -------------------------------------------------------------------------------- 1 | # 2 | # dvbapi configuration 3 | # 4 | # format: 5 | # 6 | # priority: 7 | # P: CAID[:][provider ID][:][service ID][:][ECM PID] [continue] 8 | # 9 | # ignore: 10 | # I: CAID[:][provider ID][:][service ID][:][ECM PID] 11 | # 12 | # wait: 13 | # D: CAID[:][provider ID][:][service ID][:][ECM PID] delay 14 | # 15 | # map: 16 | # M: CAID[:][provider ID][:][service ID][:][ECM PID] target CAID[:][target provider ID] 17 | # 18 | # length: 19 | # L: CAID[:][provider ID][:][service ID][:][ECM PID] length 20 | # 21 | 22 | P: 0100:123456 # prioritise CAID 0100 with provider 123456 23 | 24 | P: :1234 # prioritise ECM with provider ID 1234 on 25 | # on any CAID and service 26 | 27 | P: 0200 # prioritise CAID 0200 28 | 29 | P: 0300::9ABC # prioritise CAID 0300 on service 9ABC only 30 | 31 | M: 0400 0500:123456 # map CAID 0400 to provider ID 123456 with 32 | # CAID 0500 33 | 34 | D: 0600 200 # wait 200 ms before writing CW for CAID 0600 35 | 36 | I: :654321 # ignore provider ID 654321 for every CAID and 37 | # service 38 | 39 | I: 0 # ignore every CAID that was not handled before 40 | 41 | L: 0700 8e # ECM length for CAID 0700 to 8e (hexadecimal) -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.guess: -------------------------------------------------------------------------------- 1 | # 2 | # CAID guessing table 3 | # 4 | # format: 5 | # 6 | # : 7 | # 8 | 9 | 12:3456 10 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.ird: -------------------------------------------------------------------------------- 1 | # 2 | # Irdeto guessing table 3 | # 4 | # format: 5 | # 6 | # ::: 7 | # 8 | 9 | 12:0000000A:12AB:CD01 10 | 11 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.provid: -------------------------------------------------------------------------------- 1 | # 2 | # provider table 3 | # 4 | # format: 5 | # 6 | # :||| 7 | # 8 | 9 | 0100:012345|MyPay-TV1|Astra 19.2E|German 10 | 0200:543210|MyPay-TV2|Hot Bird 13.0E|English 11 | 0300:112233|MyPay-TV3|Hot Bird 13.0E|Italian 12 | 0400:223344|MyPay-TV4|Atra 28.2E|English 13 | 14 | 15 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.services: -------------------------------------------------------------------------------- 1 | # 2 | # definition of services 3 | # 4 | # format: 5 | # 6 | # [name] 7 | # caid=CAID[,CAID]... 8 | # provid = provider ID[,provider ID]... 9 | # srvid = service ID[,service ID]... 10 | # 11 | 12 | [services1] 13 | caid=0100 14 | provid=000001,ABCDEF 15 | srvid=0001,0002,000A,000B 16 | 17 | [services2] 18 | caid=0200 19 | srvid=0003,0004,000C,000D 20 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.srvid: -------------------------------------------------------------------------------- 1 | # 2 | # service ID configuration file for web interface and monitor 3 | # 4 | 5 | 1111,2222:000A|provider A|Name C|TV|package E 6 | 3333,4444,5555:000B|provider B|Name D|Radio|package F 7 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.tiers: -------------------------------------------------------------------------------- 1 | # 2 | # TIERS 3 | # 4 | 5 | 0001,0002,0003:000a|my TIER 1 6 | 0004:000b|my TIER 2 7 | 0005:000b|my TIER 3 8 | -------------------------------------------------------------------------------- /Distribution/doc/example/oscam.whitelist: -------------------------------------------------------------------------------- 1 | # 2 | # whitelist table 3 | # 4 | # format: 5 | # 6 | # whitelist: 7 | # w:[CAID][:][provider ID][:][service ID][:][ECM PID][:][CHID][:][ECM length 1][,ECM length 2]... 8 | # 9 | # whitelist, not proceed with any other ECM length whitelisting when matching: 10 | # l:[CAID][:][provider ID][:][service ID][:][ECM PID][:][CHID][:][ECM length 1][,ECM length 2]... 11 | # 12 | # ignore: 13 | # i:[CAID][:][provider ID][:][service ID][:][ECM PID][:][CHID][:][ECM length 1][,ECM length 2]... 14 | # 15 | 16 | w:0100 # whitelisting for CAID 0100 17 | 18 | i:0200:1234 # ignore CAID 0200 with service ID 1234 19 | 20 | i:::::2345 # ignore CHID 2345 21 | 22 | w: # allow all others (blacklist) 23 | 24 | l:0300 # whitelisting for CAID 0300 not proceeding 25 | # if matching 26 | 27 | -------------------------------------------------------------------------------- /Distribution/doc/man/list_smargo.1: -------------------------------------------------------------------------------- 1 | .TH list_smargo 1 2 | .SH NAME 3 | \fBlist_smargo\fR - list all connected Smartreader+ 4 | .SH SYNOPSIS 5 | list_smargo 6 | .SH DESCRIPTIONS 7 | The list_smargo software lists all connected Smartreader+ with bus number and device address. 8 | .RE 9 | .SH "SEE ALSO" 10 | \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 11 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.ac.5: -------------------------------------------------------------------------------- 1 | .TH oscam.ac 5 2 | .SH NAME 3 | \fBoscam.ac\fR - anti-cascading table for OSCam 4 | .SH SYNOPSIS 5 | anti-cascading table 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fB\fP:\fB\fP=\fB\fP 9 | .RS 3n 10 | define time cycles between CWs changes relating to CAID and provider ID 11 | .RE 12 | .PP 13 | \fB*\fP=\fB\fP 14 | .RS 3n 15 | default time cycles between CWs changes \fIrequired\fR 16 | .RE 17 | .SH EXAMPLES 18 | 0100:000000=10 19 | *=7 20 | .SH "SEE ALSO" 21 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 22 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.cacheex.5: -------------------------------------------------------------------------------- 1 | .TH oscam.cacheex 5 2 | .SH NAME 3 | \fBoscam..cacheex\fR - global ECM length matching configuration file for OSCam 4 | .SH SYNOPSIS 5 | ECM length matching 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fBm\fP:\fB[CAID]\fP[:]\fB[provider ID]\fP[:]\fB[service ID]\fP[:]\fB[ECM PID]\fP[:]\fB[CHID]\fP[:]\fB[ECM length 1[,ECM length 2]...]]\fP=\fB[CAID]\fP[:]\fB[provider ID]\fP[:]\fB[service ID]\fP[:]\fB[ECM PID]\fP[:]\fB[CHID]\fP[:]\fB[ECM length 1[,ECM length 2]...]]\fP 9 | .RS 3n 10 | ECM length matching from remote cache exchange partner to local 11 | cache, \fIfor cache exchange pull mode (cacheex = 1) only\fR 12 | .RE 13 | .SH ANNONTATIONS 14 | \fIPlease use Unix text file format only.\fR 15 | .SH EXAMPLES 16 | m:1234:::::93=5678:::::93 # matching CAID 1234 and CAID 5678 with 17 | # ECM length 93 18 | .SH "SEE ALSO" 19 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid \fR(5), \fBoscam.srvid2\fR(5),\fBoscam.user\fR(5) 20 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.cert.5: -------------------------------------------------------------------------------- 1 | .TH oscam.cert 5 2 | .SH NAME 3 | \fBoscam.cert\fR - Issuer Public Keys (IPK) for OSCam 4 | .SH SYNOPSIS 5 | Issuer Public Keys (IPK) 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fBCAID\fP:\fBreserved\fP:\fBIPK\fP 9 | .RS 3n 10 | mapping between CAID and IPK/sessions keys in hex, currently for Cryptoworks only 11 | .SH EXAMPLES 12 | 0100:00000000:0102030405060708090A0B0C0D0E0F 13 | .RE 14 | .RE 15 | .SH "SEE ALSO" 16 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.guess.5: -------------------------------------------------------------------------------- 1 | .TH oscam.guess 5 2 | .SH NAME 3 | \fBoscam.guess\fR - CAID guessing table for OSCam 4 | .SH SYNOPSIS 5 | CAID guessing table 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fB\fP:\fB\fP 9 | .RS 3n 10 | CAID guessing table by len in hex, only needed for protocols (at the moment BOMBA protocol only) that does not pass CAIDs 11 | .RE 12 | .SH EXAMPLES 13 | 12:3456 14 | .SH "SEE ALSO" 15 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.ird.5: -------------------------------------------------------------------------------- 1 | .TH oscam.ird 5 2 | .SH NAME 3 | \fBoscam.ird\fR - Irdeto guessing table for OSCam 4 | .SH SYNOPSIS 5 | Irdeto guessing table 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fB\fP:\fB\fP:\fB\fP:\fB\fP 9 | .RS 3n 10 | Irdeto guessing table by signature 11 | .RE 12 | .SH EXAMPLES 13 | 12:0000000a:12ab:cd01 14 | .SH "SEE ALSO" 15 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 16 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.provid.5: -------------------------------------------------------------------------------- 1 | .TH oscam.provid 5 2 | .SH NAME 3 | \fBoscam.provid\fR - provider table for OSCam 4 | .SH SYNOPSIS 5 | provider table 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fB\fP:\fB\fP|\fB\fP|\fB\fP|\fB\fP 9 | .RS 3n 10 | provider table 11 | .RE 12 | .SH EXAMPLES 13 | 0100:012345|MyPay-TV|Astra 19E|German 14 | .SH "SEE ALSO" 15 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 16 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.ratelimit.5: -------------------------------------------------------------------------------- 1 | .TH oscam.ratelimit 5 2 | .SH NAME 3 | \fBoscam.ratelimit\fR - ECMs ratelimit for OSCam 4 | .SH SYNOPSIS 5 | limit rate of ECMs allowed for an interval 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fBCAID\fP:\fBprovider ID\fP:\fBservice ID\fP:\fBChID\fP:\fBratelimitecm\fP:\fBratelimitseconds\fP:\fBsrvidholdseconds\fP 9 | .RS 3n 10 | 11 | \fBratelimitecm\fP 12 | .RS 3n 13 | number of different SIDs in ECMs allowed for an interval 14 | .RE 15 | 16 | \fBratelimitseconds\fP 17 | .RS 3n 18 | interval in seconds for ratelimit 19 | .RE 20 | 21 | \fBsrvidholdseconds\fP 22 | .RS 3n 23 | extra time in seconds this service ID is kept in a slot before another service ID can take its place 24 | .RE 25 | .SH EXAMPLES 26 | 0100:00002A:3A3A:4A00:0002:0010:0004 27 | .RE 28 | .RE 29 | .SH "SEE ALSO" 30 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.services.5: -------------------------------------------------------------------------------- 1 | .TH oscam.services 5 2 | .SH NAME 3 | \fBoscam.services\fR - definition of services for OSCam 4 | .SH SYNOPSIS 5 | service definitions 6 | .SH DESCRIPTIONS 7 | .SS "The [] section" 8 | service name section, service name sections are recurring, \fIrequired\fR, \fImaximum 64 services are allowed\fR 9 | .PP 10 | \fBcaid\fP = \fBCAID[,CAID]...\fP 11 | .RS 3n 12 | listing of CAIDs in hex 13 | .RE 14 | .RE 15 | .PP 16 | \fBprovid\fP = \fBprovider ID[,provider ID]...\fP 17 | .RS 3n 18 | listing of provider IDs in hex 19 | .RE 20 | .RE 21 | .PP 22 | \fBsrvid\fP = \fBservice ID[,service ID]...\fP 23 | .RS 3n 24 | listing of service IDs in hex 25 | .RE 26 | .SH EXAMPLES 27 | [myservice] 28 | CAID=0100,0200,000A 29 | provid=000001,ABCDEF 30 | srvid=0001,0002,000A,000B 31 | .SH "SEE ALSO" 32 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 33 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.srvid.5: -------------------------------------------------------------------------------- 1 | .TH oscam.srvid 5 2 | .SH NAME 3 | \fBoscam.srvid\fR - service ID configuration file for OSCam 4 | .SH SYNOPSIS 5 | service ID mappings 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fBCAID[,CAID]...\fP:\fBservice ID\fP|\fB[provider]\fP|\fB[name]\fP|\fB[type]\fP|\fB[description]\fP 9 | 10 | .RS 3n 11 | mapping between CAID, service ID, provider, name, type and description of service 12 | .RE 13 | .SH ANNONTATIONS 14 | \fIPlease use Unix text file format only.\fR 15 | 16 | You only need the \fBoscam.srvid\fR when using the monitor or the web interface. 17 | \fIFor saving memory consumption only insert the service IDs you really need.\fR Some 18 | external programs use their own \fBoscam.srvid\fR and do not need the \fBoscam.srvid\fR of OSCam. 19 | .SH EXAMPLES 20 | 0001,0002,0003:000a|my provider 1|tv name 1|tv|my tv package 21 | 0004,0005,0006:000a|my provider 2|radio name 2|radio|my radio package 22 | 0006:000b|my provider 3|tv name 3| 23 | .SH "SEE ALSO" 24 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 25 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.srvid2.5: -------------------------------------------------------------------------------- 1 | .TH oscam.srvid2 5 2 | .SH NAME 3 | \fBoscam.srvid2\fR - service ID configuration file for OSCam 4 | .SH SYNOPSIS 5 | service ID mappings 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fBservice ID\fP:\fBCAID\fP[:\fB@provider ID\fP[\fB@provider ID\fP]...][,:\fBCAID\fP[:\fB@provider ID\fP[\fB@provider ID\fP]...]][\fBname\fP]|[\fBtype\fP]|[\fBdescription\fP]|[\fBprovider\fP] 9 | 10 | .RS 3n 11 | mapping between service ID, CAID, provider ID, name, type, description and proivder 12 | .RE 13 | .SH ANNONTATIONS 14 | \fIPlease use Unix text file format only.\fR 15 | 16 | You only need the \fBoscam.srvid2\fR when using the monitor or the web interface. 17 | \fIFor saving memory consumption only insert the service IDs you really need.\fR Some 18 | external programs use their own \fBoscam.srvid2\fR and do not need the \fBoscam.srvid2\fR of OSCam. 19 | .SH "SEE ALSO" 20 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.tiers\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 21 | -------------------------------------------------------------------------------- /Distribution/doc/man/oscam.tiers.5: -------------------------------------------------------------------------------- 1 | .TH oscam.tiers 5 2 | .SH NAME 3 | \fBoscam.tiers\fR - TIER configuration file for OSCam 4 | .SH SYNOPSIS 5 | TIER mappings 6 | .SH DESCRIPTIONS 7 | .PP 8 | \fBCAID[,CAID]...\fP:\fBTIER ID\fP|\fBdescription\fP 9 | 10 | .RS 3n 11 | mapping between CAID, TIER ID and description of TIER 12 | .RE 13 | .SH ANNONTATIONS 14 | \fIPlease use Unix text file format only.\fR 15 | .SH EXAMPLES 16 | 0001,0002,0003:000a|my TIER 1 17 | 0004:000b|my TIER 2 18 | 0005:000b|my TIER 3 19 | .SH "SEE ALSO" 20 | \fBlist_smargo\fR(1), \fBoscam\fR(1), \fBoscam.ac\fR(5), \fBoscam.cacheex\fR(5), \fBoscam.cert\fR(5), \fBoscam.conf\fR(5), \fBoscam.dvbapi\fR(5), \fBoscam.fakecws\fR(5), \fBoscam.guess\fR(5), \fBoscam.ird\fR(5), \fBoscam.provid\fR(5), \fBoscam.ratelimit\fR(5), \fBoscam.server\fR(5), \fBoscam.services\fR(5), \fBoscam.srvid\fR(5), \fBoscam.srvid2\fR(5), \fBoscam.user\fR(5), \fBoscam.whitelist\fR(5) 21 | -------------------------------------------------------------------------------- /Distribution/doc/txt/list_smargo.txt: -------------------------------------------------------------------------------- 1 | list_smargo(1) General Commands Manual list_smargo(1) 2 | 3 | 4 | 5 | NAME 6 | list_smargo - list all connected Smartreader+ 7 | 8 | SYNOPSIS 9 | list_smargo 10 | 11 | DESCRIPTIONS 12 | The list_smargo software lists all connected Smartreader+ with bus number and device address. 13 | 14 | SEE ALSO 15 | oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), oscam.guess(5), 16 | oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), oscam.srvid2(5), 17 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 18 | 19 | 20 | 21 | list_smargo(1) 22 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.ac.txt: -------------------------------------------------------------------------------- 1 | oscam.ac(5) File Formats Manual oscam.ac(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.ac - anti-cascading table for OSCam 7 | 8 | SYNOPSIS 9 | anti-cascading table 10 | 11 | DESCRIPTIONS 12 | := 13 | define time cycles between CWs changes relating to CAID and provider ID 14 | 15 | *= 16 | default time cycles between CWs changes required 17 | 18 | EXAMPLES 19 | 0100:000000=10 20 | *=7 21 | 22 | SEE ALSO 23 | list_smargo(1), oscam(1), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 24 | oscam.guess(5), oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), 25 | oscam.srvid2(5), oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 26 | 27 | 28 | 29 | oscam.ac(5) 30 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.cacheex.txt: -------------------------------------------------------------------------------- 1 | oscam.cacheex(5) File Formats Manual oscam.cacheex(5) 2 | 3 | 4 | 5 | NAME 6 | oscam..cacheex - global ECM length matching configuration file for OSCam 7 | 8 | SYNOPSIS 9 | ECM length matching 10 | 11 | DESCRIPTIONS 12 | m:[CAID][:][provider ID][:][service ID][:][ECM PID][:][CHID][:][ECM length 1[,ECM length 2]...]]=[CAID][:][provider 13 | ID][:][service ID][:][ECM PID][:][CHID][:][ECM length 1[,ECM length 2]...]] 14 | ECM length matching from remote cache exchange partner to local 15 | cache, for cache exchange pull mode (cacheex = 1) only 16 | 17 | ANNONTATIONS 18 | Please use Unix text file format only. 19 | 20 | EXAMPLES 21 | m:1234:::::93=5678:::::93 # matching CAID 1234 and CAID 5678 with 22 | # ECM length 93 23 | 24 | SEE ALSO 25 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), oscam.guess(5), 26 | oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid (5), 27 | oscam.srvid2(5), oscam.user(5) 28 | 29 | 30 | 31 | oscam.cacheex(5) 32 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.cert.txt: -------------------------------------------------------------------------------- 1 | oscam.cert(5) File Formats Manual oscam.cert(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.cert - Issuer Public Keys (IPK) for OSCam 7 | 8 | SYNOPSIS 9 | Issuer Public Keys (IPK) 10 | 11 | DESCRIPTIONS 12 | CAID:reserved:IPK 13 | mapping between CAID and IPK/sessions keys in hex, currently for Cryptoworks only 14 | 15 | EXAMPLES 16 | 0100:00000000:0102030405060708090A0B0C0D0E0F 17 | 18 | SEE ALSO 19 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), oscam.guess(5), 20 | oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), oscam.srvid2(5), 21 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 22 | 23 | 24 | 25 | oscam.cert(5) 26 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.guess.txt: -------------------------------------------------------------------------------- 1 | oscam.guess(5) File Formats Manual oscam.guess(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.guess - CAID guessing table for OSCam 7 | 8 | SYNOPSIS 9 | CAID guessing table 10 | 11 | DESCRIPTIONS 12 | : 13 | CAID guessing table by len in hex, only needed for protocols (at the moment BOMBA protocol only) that does not pass 14 | CAIDs 15 | 16 | EXAMPLES 17 | 12:3456 18 | 19 | SEE ALSO 20 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 21 | oscam.guess(5), oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), 22 | oscam.srvid2(5), oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 23 | 24 | 25 | 26 | oscam.guess(5) 27 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.ird.txt: -------------------------------------------------------------------------------- 1 | oscam.ird(5) File Formats Manual oscam.ird(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.ird - Irdeto guessing table for OSCam 7 | 8 | SYNOPSIS 9 | Irdeto guessing table 10 | 11 | DESCRIPTIONS 12 | ::: 13 | Irdeto guessing table by signature 14 | 15 | EXAMPLES 16 | 12:0000000a:12ab:cd01 17 | 18 | SEE ALSO 19 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 20 | oscam.guess(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), oscam.srvid2(5), 21 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 22 | 23 | 24 | 25 | oscam.ird(5) 26 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.provid.txt: -------------------------------------------------------------------------------- 1 | oscam.provid(5) File Formats Manual oscam.provid(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.provid - provider table for OSCam 7 | 8 | SYNOPSIS 9 | provider table 10 | 11 | DESCRIPTIONS 12 | :||| 13 | provider table 14 | 15 | EXAMPLES 16 | 0100:012345|MyPay-TV|Astra 19E|German 17 | 18 | SEE ALSO 19 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 20 | oscam.guess(5), oscam.ird(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), oscam.srvid2(5), 21 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 22 | 23 | 24 | 25 | oscam.provid(5) 26 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.ratelimit.txt: -------------------------------------------------------------------------------- 1 | oscam.ratelimit(5) File Formats Manual oscam.ratelimit(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.ratelimit - ECMs ratelimit for OSCam 7 | 8 | SYNOPSIS 9 | limit rate of ECMs allowed for an interval 10 | 11 | DESCRIPTIONS 12 | CAID:provider ID:service ID:ChID:ratelimitecm:ratelimitseconds:srvidholdseconds 13 | 14 | ratelimitecm 15 | number of different SIDs in ECMs allowed for an interval 16 | 17 | ratelimitseconds 18 | interval in seconds for ratelimit 19 | 20 | srvidholdseconds 21 | extra time in seconds this service ID is kept in a slot before another service ID can take its place 22 | 23 | EXAMPLES 24 | 0100:00002A:3A3A:4A00:0002:0010:0004 25 | 26 | SEE ALSO 27 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 28 | oscam.guess(5), oscam.ird(5), oscam.provid(5), oscam.server(5), oscam.services(5), oscam.srvid(5), oscam.srvid2(5), 29 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 30 | 31 | 32 | 33 | oscam.ratelimit(5) 34 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.services.txt: -------------------------------------------------------------------------------- 1 | oscam.services(5) File Formats Manual oscam.services(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.services - definition of services for OSCam 7 | 8 | SYNOPSIS 9 | service definitions 10 | 11 | DESCRIPTIONS 12 | The [] section 13 | service name section, service name sections are recurring, required, maximum 64 services are allowed 14 | 15 | caid = CAID[,CAID]... 16 | listing of CAIDs in hex 17 | 18 | provid = provider ID[,provider ID]... 19 | listing of provider IDs in hex 20 | 21 | srvid = service ID[,service ID]... 22 | listing of service IDs in hex 23 | 24 | EXAMPLES 25 | [myservice] 26 | CAID=0100,0200,000A 27 | provid=000001,ABCDEF 28 | srvid=0001,0002,000A,000B 29 | 30 | SEE ALSO 31 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 32 | oscam.guess(5), oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.srvid(5), oscam.srvid2(5), 33 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 34 | 35 | 36 | 37 | oscam.services(5) 38 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.srvid.txt: -------------------------------------------------------------------------------- 1 | oscam.srvid(5) File Formats Manual oscam.srvid(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.srvid - service ID configuration file for OSCam 7 | 8 | SYNOPSIS 9 | service ID mappings 10 | 11 | DESCRIPTIONS 12 | CAID[,CAID]...:service ID|[provider]|[name]|[type]|[description] 13 | 14 | mapping between CAID, service ID, provider, name, type and description of service 15 | 16 | ANNONTATIONS 17 | Please use Unix text file format only. 18 | 19 | You only need the oscam.srvid when using the monitor or the web interface. For saving memory consumption only insert the 20 | service IDs you really need. Some external programs use their own oscam.srvid and do not need the oscam.srvid of OSCam. 21 | 22 | EXAMPLES 23 | 0001,0002,0003:000a|my provider 1|tv name 1|tv|my tv package 24 | 0004,0005,0006:000a|my provider 2|radio name 2|radio|my radio package 25 | 0006:000b|my provider 3|tv name 3| 26 | 27 | SEE ALSO 28 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 29 | oscam.guess(5), oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid2(5), 30 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 31 | 32 | 33 | 34 | oscam.srvid(5) 35 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.srvid2.txt: -------------------------------------------------------------------------------- 1 | oscam.srvid2(5) File Formats Manual oscam.srvid2(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.srvid2 - service ID configuration file for OSCam 7 | 8 | SYNOPSIS 9 | service ID mappings 10 | 11 | DESCRIPTIONS 12 | service ID:CAID[:@provider ID[@provider ID]...][,:CAID[:@provider ID[@provider ID]...]][name]|[type]|[descrip‐ 13 | tion]|[provider] 14 | 15 | mapping between service ID, CAID, provider ID, name, type, description and proivder 16 | 17 | ANNONTATIONS 18 | Please use Unix text file format only. 19 | 20 | You only need the oscam.srvid2 when using the monitor or the web interface. For saving memory consumption only insert the 21 | service IDs you really need. Some external programs use their own oscam.srvid2 and do not need the oscam.srvid2 of OSCam. 22 | 23 | SEE ALSO 24 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 25 | oscam.guess(5), oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), 26 | oscam.tiers(5), oscam.user(5), oscam.whitelist(5) 27 | 28 | 29 | 30 | oscam.srvid2(5) 31 | -------------------------------------------------------------------------------- /Distribution/doc/txt/oscam.tiers.txt: -------------------------------------------------------------------------------- 1 | oscam.tiers(5) File Formats Manual oscam.tiers(5) 2 | 3 | 4 | 5 | NAME 6 | oscam.tiers - TIER configuration file for OSCam 7 | 8 | SYNOPSIS 9 | TIER mappings 10 | 11 | DESCRIPTIONS 12 | CAID[,CAID]...:TIER ID|description 13 | 14 | mapping between CAID, TIER ID and description of TIER 15 | 16 | ANNONTATIONS 17 | Please use Unix text file format only. 18 | 19 | EXAMPLES 20 | 0001,0002,0003:000a|my TIER 1 21 | 0004:000b|my TIER 2 22 | 0005:000b|my TIER 3 23 | 24 | SEE ALSO 25 | list_smargo(1), oscam(1), oscam.ac(5), oscam.cacheex(5), oscam.cert(5), oscam.conf(5), oscam.dvbapi(5), oscam.fakecws(5), 26 | oscam.guess(5), oscam.ird(5), oscam.provid(5), oscam.ratelimit(5), oscam.server(5), oscam.services(5), oscam.srvid(5), 27 | oscam.srvid2(5), oscam.user(5), oscam.whitelist(5) 28 | 29 | 30 | 31 | oscam.tiers(5) 32 | -------------------------------------------------------------------------------- /Distribution/monitor/mpcsmon-src-0.6.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schimmelreiter/oscam-smod/01bc9cdbdccee92b5a975e3549116a1519df162a/Distribution/monitor/mpcsmon-src-0.6.tar.bz2 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Build Status](https://travis-ci.org/Schimmelreiter/oscam-smod.svg?branch=master)](https://travis-ci.org/Schimmelreiter/oscam-smod) 2 | 3 | oscam-smod 4 | ========== 5 | 6 | This variant of oscam combines the benefits of 7 | - the original oscam-trunk (http://www.streamboard.tv/oscam/changeset) 8 | - Gorgone's modern interface (http://www.streamboard.tv/oscam-addons/changeset/1532/modern) 9 | and 10 | - oscam-emu (https://github.com/oscam-emu/oscam-patched/commits/master) 11 | - auto-configuration for many cards incl. HD+, Sky DE, TivuSat, ... (WITH_CARDLIST) 12 | 13 | License 14 | ------- 15 | Licensed under the GNU General Public License, Version 2.0. See [COPYING](https://github.com/Schimmelreiter/oscam-schimmelreiter/blob/master/src/COPYING) for more details. 16 | -------------------------------------------------------------------------------- /cardlist.h: -------------------------------------------------------------------------------- 1 | #ifndef _CSCTAPI_CARDLIST_H_ 2 | #define _CSCTAPI_CARDLIST_H_ 3 | 4 | #ifdef WITH_CARDLIST 5 | extern struct atrlist current; 6 | struct atrlist{ int found; char providername[32]; char atr[80]; char info[50];}; 7 | void findatr(struct s_reader *reader); 8 | #endif // WITH_CARDLIST 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /cscrypt/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project (cscrypt) 2 | if (OSCamOperatingSystem MATCHES "Mac OS X" AND SWVER GREATER 10.5 AND HAVE_LIBCRYPTO) 3 | file (GLOB cscrypt_mac "bn*" "mem*" "aes*" "sha1*") 4 | file (GLOB cscrypt_srcs "*.c") 5 | list(REMOVE_ITEM cscrypt_srcs ${cscrypt_mac}) 6 | file (GLOB cscrypt_hdrs "*.h") 7 | list(REMOVE_ITEM cscrypt_hdrs ${cscrypt_mac}) 8 | else (OSCamOperatingSystem MATCHES "Mac OS X" AND SWVER GREATER 10.5 AND HAVE_LIBCRYPTO) 9 | file (GLOB cscrypt_srcs "*.c") 10 | file (GLOB cscrypt_hdrs "*.h") 11 | endif (OSCamOperatingSystem MATCHES "Mac OS X" AND SWVER GREATER 10.5 AND HAVE_LIBCRYPTO) 12 | 13 | set (lib_name "cscrypt") 14 | 15 | add_library (${lib_name} STATIC ${cscrypt_srcs} ${cscrypt_hdrs}) 16 | 17 | -------------------------------------------------------------------------------- /cscrypt/Makefile: -------------------------------------------------------------------------------- 1 | parent: 2 | @$(MAKE) --no-print-directory -C .. 3 | -------------------------------------------------------------------------------- /cscrypt/fast_aes.h: -------------------------------------------------------------------------------- 1 | /* 2 | * AES Cryptographic Algorithm Header File. Include this header file in 3 | * your source which uses these given APIs. (This source is kept under 4 | * public domain) 5 | */ 6 | 7 | // AES context structure 8 | typedef struct 9 | { 10 | unsigned int Ek[60]; 11 | unsigned int Dk[60]; 12 | unsigned int Iv[4]; 13 | unsigned char Nr; 14 | unsigned char Mode; 15 | } AesCtx; 16 | 17 | // key length in bytes 18 | #define KEY128 16 19 | #define KEY192 24 20 | #define KEY256 32 21 | // block size in bytes 22 | #define BLOCKSZ 16 23 | // mode 24 | #define EBC 0 25 | #define CBC 1 26 | 27 | // AES API function prototype 28 | 29 | int AesCtxIni(AesCtx *pCtx, unsigned char *pIV, unsigned char *pKey, unsigned int KeyLen, unsigned char Mode); 30 | int AesEncrypt(AesCtx *pCtx, unsigned char *pData, unsigned char *pCipher, unsigned int DataLen); 31 | int AesDecrypt(AesCtx *pCtx, unsigned char *pCipher, unsigned char *pData, unsigned int CipherLen); 32 | 33 | -------------------------------------------------------------------------------- /cscrypt/md5.h: -------------------------------------------------------------------------------- 1 | #ifndef _CSCRYPT_MD5_H 2 | #define _CSCRYPT_MD5_H 3 | 4 | #if defined(WITH_SSL) || defined(WITH_LIBCRYPTO) 5 | #include 6 | #else 7 | #define MD5_DIGEST_LENGTH 16 8 | 9 | unsigned char *MD5(const unsigned char *input, unsigned long len, unsigned char *output_hash); 10 | 11 | typedef struct MD5Context { 12 | uint32_t buf[4]; 13 | uint32_t bits[2]; 14 | uint32_t in[16]; 15 | } MD5_CTX; 16 | 17 | void MD5_Init(MD5_CTX *ctx); 18 | void MD5_Update(MD5_CTX *ctx, const unsigned char *buf, unsigned int len); 19 | void MD5_Final(unsigned char digest[MD5_DIGEST_LENGTH], MD5_CTX *ctx); 20 | #endif 21 | char *__md5_crypt(const char *text_pass, const char *salt, char *crypted_passwd); 22 | #endif 23 | -------------------------------------------------------------------------------- /cscrypt/openssl_mods.h: -------------------------------------------------------------------------------- 1 | /* openssl_mods.h */ 2 | #ifndef _OPENSSL_MODSH 3 | #define _OPENSSL_MODSH 4 | 5 | #define OPENSSL_malloc(num) CRYPTO_malloc((int)num,__FILE__,__LINE__) 6 | #define OPENSSL_free(addr) CRYPTO_free(addr) 7 | 8 | void *CRYPTO_malloc(int num, const char *file, int line); 9 | void CRYPTO_free(void *); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /cscrypt/sha1.h: -------------------------------------------------------------------------------- 1 | #if defined(WITH_SSL) || defined(WITH_LIBCRYPTO) 2 | # include 3 | #else 4 | /* public api for steve reid's public domain SHA-1 implementation */ 5 | /* this file is in the public domain */ 6 | 7 | #ifndef __SHA1_H 8 | #define __SHA1_H 9 | 10 | #include 11 | #include 12 | 13 | typedef struct 14 | { 15 | uint32_t state[5]; 16 | uint32_t count[2]; 17 | uint8_t buffer[64]; 18 | } SHA_CTX; 19 | 20 | #define SHA_DIGEST_LENGTH 20 21 | 22 | void SHA1_Transform(uint32_t state[5], const uint8_t buffer[64]); 23 | 24 | void SHA1_Init(SHA_CTX *context); 25 | void SHA1_Update(SHA_CTX *context, const uint8_t *data, const size_t len); 26 | void SHA1_Final(uint8_t digest[SHA_DIGEST_LENGTH], SHA_CTX *context); 27 | 28 | #endif /* __SHA1_H */ 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /csctapi/Makefile: -------------------------------------------------------------------------------- 1 | parent: 2 | @$(MAKE) --no-print-directory -C .. 3 | -------------------------------------------------------------------------------- /csctapi/cardreaders.h: -------------------------------------------------------------------------------- 1 | #ifndef CSCTAPI_CARDREADERS_H_ 2 | #define CSCTAPI_CARDREADERS_H_ 3 | 4 | extern const struct s_cardreader cardreader_db2com; 5 | extern const struct s_cardreader cardreader_internal_sci; 6 | extern const struct s_cardreader cardreader_internal_cool; 7 | extern const struct s_cardreader cardreader_internal_azbox; 8 | extern const struct s_cardreader cardreader_mp35; 9 | extern const struct s_cardreader cardreader_mouse; 10 | extern const struct s_cardreader cardreader_pcsc; 11 | extern const struct s_cardreader cardreader_sc8in1; 12 | extern const struct s_cardreader cardreader_smargo; 13 | extern const struct s_cardreader cardreader_smartreader; 14 | extern const struct s_cardreader cardreader_stapi; 15 | extern const struct s_cardreader cardreader_stinger; 16 | extern const struct s_cardreader cardreader_drecas; 17 | extern const struct s_cardreader cardreader_emu; 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /csctapi/ifd_db2com.h: -------------------------------------------------------------------------------- 1 | #ifndef _CSCTAPI_IFD_DB2COM_H_ 2 | #define _CSCTAPI_IFD_DB2COM_H_ 3 | 4 | #ifdef CARDREADER_DB2COM 5 | bool detect_db2com_reader(struct s_reader *reader); 6 | extern struct s_cardreader cardreader_db2com; 7 | #else 8 | static inline bool detect_db2com_reader(struct s_reader *UNUSED(reader)) { return false; } 9 | static struct s_cardreader cardreader_db2com; 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /csctapi/ifd_drecas.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Header file for DreCas reader. 3 | */ 4 | #ifndef _CSCTAPI_IFD_DRECAS_H_ 5 | #define _CSCTAPI_IFD_DRECAS_H_ 6 | 7 | int32_t DreCas_Init(struct s_reader *reader); 8 | int32_t DreCas_GetStatus(struct s_reader *reader, int32_t *status); 9 | int32_t DreCas_Reset(struct s_reader *reader, ATR *atr); 10 | int32_t DreCas_Close(struct s_reader *reader); 11 | int32_t DreCas_FastReset(struct s_reader *reader, int32_t delay); 12 | 13 | #endif 14 | 15 | -------------------------------------------------------------------------------- /csctapi/ifd_phoenix.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Header file for Smartmouse/Phoenix reader. 3 | */ 4 | #ifndef _CSCTAPI_IFD_PHOENIX_H_ 5 | #define _CSCTAPI_IFD_PHOENIX_H_ 6 | 7 | int32_t Phoenix_Init(struct s_reader *reader); 8 | int32_t Phoenix_GetStatus(struct s_reader *reader, int32_t *status); 9 | int32_t Phoenix_Reset(struct s_reader *reader, ATR *atr); 10 | int32_t Phoenix_Close(struct s_reader *reader); 11 | int32_t Phoenix_FastReset(struct s_reader *reader, int32_t delay); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /devtools/README: -------------------------------------------------------------------------------- 1 | The idea of devtools directory is to collect tools that are useful for 2 | OSCam coders during development or tools used in the oscam build. 3 | 4 | These tools are not meant to be used by OSCam users. 5 | 6 | Currently available tools are: 7 | 8 | check_config_tables.sh This script checks config tables 9 | against variable defintions 10 | in order to find wrong types. 11 | 12 | check_cmdline_opts.sh This script checks if all command 13 | line parameters are properly set. 14 | 15 | extract_config.sh This script extracts OSCam build 16 | config from oscam binary. 17 | -------------------------------------------------------------------------------- /devtools/extract_config.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "$1" = "" ] 4 | then 5 | echo "Extract OSCam config from OSCam binary" 6 | echo 7 | echo " Usage: `basename $0` oscam_binary" 8 | echo 9 | exit 1 10 | fi 11 | 12 | strings $1 | sed -n 's/^CFG~//p' | openssl enc -d -base64 | gzip -d 2>/dev/null 13 | -------------------------------------------------------------------------------- /extapi/README: -------------------------------------------------------------------------------- 1 | This directory holds files that are external to OSCam. 2 | 3 | These files are API definitions or libs that are better to be shipped 4 | with OSCAM than to depend on founding them on the system that OSCam is 5 | being compiled on. 6 | -------------------------------------------------------------------------------- /extapi/linux/README: -------------------------------------------------------------------------------- 1 | The files in this directory are the official Linux include files that 2 | for some reason are not shipped with Android NDK. 3 | -------------------------------------------------------------------------------- /extapi/openxcas/libOpenXCASAPI.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schimmelreiter/oscam-smod/01bc9cdbdccee92b5a975e3549116a1519df162a/extapi/openxcas/libOpenXCASAPI.a -------------------------------------------------------------------------------- /extapi/openxcas/openxcas.conf: -------------------------------------------------------------------------------- 1 | [module] 2 | name = oscamCAS 3 | daemon = oscam_module 4 | #daemon = oscam_module -255 5 | version = 1 6 | -------------------------------------------------------------------------------- /extapi/openxcas/openxcas_smartcard.h: -------------------------------------------------------------------------------- 1 | #ifndef __OPENXCARD_SMARTCARD_H__ 2 | #define __OPENXCARD_SMARTCARD_H__ 3 | 4 | /* from LINUX_BSP/include/asm/tango2/scard.h */ 5 | /* ioctl commands for user level applications */ 6 | 7 | #define SCARD_IOC_MAGIC 'S' 8 | #define SCARD_IOC_WARMRESET _IO(SCARD_IOC_MAGIC, 0) 9 | #define SCARD_IOC_CLOCKSTOP _IO(SCARD_IOC_MAGIC, 1) 10 | #define SCARD_IOC_CLOCKSTART _IO(SCARD_IOC_MAGIC, 2) 11 | #define SCARD_IOC_CHECKCARD _IO(SCARD_IOC_MAGIC, 3) 12 | 13 | #define SMARTCARD_DEV "/dev/scard" 14 | 15 | #define AZBOX_MODES 16 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /ffdecsa/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project (ffdecsa) 2 | 3 | file (GLOB ffdecsa_srcs "ffdecsa.c") 4 | file (GLOB ffdecsa_hdrs "*.h") 5 | 6 | set (lib_name "ffdecsa") 7 | 8 | if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)") 9 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse -msse2 -msse3") 10 | elseif (CMAKE_SYSTEM_PROCESSOR MATCHES "(arm)|(ARM)") 11 | set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mfpu=neon") 12 | set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -mfpu=neon") 13 | endif (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)") 14 | 15 | if (CMAKE_COMPILER_IS_GNUCC) 16 | set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -O3 -pipe -ffunction-sections -fdata-sections -funroll-loops -fomit-frame-pointer -fno-schedule-insns") 17 | endif (CMAKE_COMPILER_IS_GNUCC) 18 | 19 | add_library (${lib_name} STATIC ${ffdecsa_srcs} ${ffdecsa_hdrs}) 20 | -------------------------------------------------------------------------------- /ffdecsa/Makefile: -------------------------------------------------------------------------------- 1 | parent: 2 | @$(MAKE) --no-print-directory -C .. 3 | -------------------------------------------------------------------------------- /ffdecsa/parallel_std_def.h: -------------------------------------------------------------------------------- 1 | /* FFdecsa -- fast decsa algorithm 2 | * 3 | * Copyright (C) 2003-2004 fatih89r 4 | * 5 | * This program is free software; you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation; either version 2 of the License, or 8 | * (at your option) any later version. 9 | * 10 | * This program is distributed in the hope that it will be useful, 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 | * GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License 16 | * along with this program; if not, write to the Free Software 17 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 | */ 19 | 20 | #define FFXOR(a,b) ((a)^(b)) 21 | #define FFAND(a,b) ((a)&(b)) 22 | #define FFOR(a,b) ((a)|(b)) 23 | #define FFNOT(a) (~(a)) 24 | 25 | #define B_FFAND(a,b) ((a)&(b)) 26 | #define B_FFOR(a,b) ((a)|(b)) 27 | #define B_FFXOR(a,b) ((a)^(b)) 28 | #define B_FFSH8L(a,n) ((a)<<(n)) 29 | #define B_FFSH8R(a,n) ((a)>>(n)) 30 | -------------------------------------------------------------------------------- /files/SoftCam.Key: -------------------------------------------------------------------------------- 1 | # SoftCam keys 2 | -------------------------------------------------------------------------------- /files/oscam.constcw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schimmelreiter/oscam-smod/01bc9cdbdccee92b5a975e3549116a1519df162a/files/oscam.constcw -------------------------------------------------------------------------------- /files/oscam.dvbapi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schimmelreiter/oscam-smod/01bc9cdbdccee92b5a975e3549116a1519df162a/files/oscam.dvbapi -------------------------------------------------------------------------------- /git-svn-diff.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Generate an SVN-compatible diff against the tip of the tracking branch 3 | 4 | # Get the tracking branch (if we're on a branch) 5 | TRACKING_BRANCH=`git svn info | grep URL | sed -e 's/.*\/branches\///'` 6 | 7 | # If the tracking branch has 'URL' at the beginning, then the sed wasn't successful 8 | # and we'll fall back to the svn-remote config option 9 | if [[ "$TRACKING_BRANCH" =~ URL.* ]] 10 | then 11 | TRACKING_BRANCH=`git config --get svn-remote.svn.fetch | sed -e 's/.*:refs\/remotes\///'` 12 | fi 13 | 14 | # Get the highest revision number 15 | REV=`git svn find-rev $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH)` 16 | #REV=`git svn info | grep 'Last Changed Rev:' | sed -E 's/^.*: ([[:digit:]]*)/\1/'` 17 | 18 | # Then do the diff from the highest revision on the current branch and convert to SVN format 19 | git diff --no-prefix --no-indent-heuristic $(git rev-list --date-order --max-count=1 $TRACKING_BRANCH) $* | 20 | sed -e "/--- \/dev\/null/{ N; s|^--- /dev/null\n+++ \(.*\)|--- \1 (nonexistent)\n+++ \1 (working copy)|;n}" \ 21 | -e "s/^--- .*/& (revision $REV)/" \ 22 | -e "s/^+++ .*/& (working copy)/" \ 23 | -e "s/^\(@@.*@@\).*/\1/" \ 24 | -e "s/^diff --git [^[:space:]]*/Index:/" \ 25 | -e "s/^index.*/===================================================================/" \ 26 | -e "/^new file mode [0-9]\+$/d" \ 27 | -e "/^deleted file mode [0-9]\+$/d" -------------------------------------------------------------------------------- /minilzo/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project (minilzo) 2 | 3 | file (GLOB minilzo_srcs "*.c") 4 | file (GLOB minilzo_hdrs "*.h") 5 | 6 | set (lib_name "minilzo") 7 | 8 | add_library (${lib_name} STATIC ${minilzo_srcs} ${minilzo_hdrs}) 9 | -------------------------------------------------------------------------------- /minilzo/Makefile: -------------------------------------------------------------------------------- 1 | parent: 2 | @$(MAKE) --no-print-directory -C .. 3 | -------------------------------------------------------------------------------- /module-anticasc.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_ANTICASC_H_ 2 | #define MODULE_ANTICASC_H_ 3 | 4 | #ifdef CS_ANTICASC 5 | extern void ac_init(void); 6 | extern void ac_init_stat(void); 7 | extern void ac_do_stat(void); 8 | extern void ac_clear(void); 9 | extern void ac_copy_vars(struct s_auth *src, struct s_auth *dst); 10 | extern void ac_init_client(struct s_client *cl, struct s_auth *account); 11 | extern void ac_chk(struct s_client *cl, ECM_REQUEST *er, int32_t level); 12 | extern void insert_zaplist(ECM_REQUEST *er, struct s_client *client); 13 | static inline bool acosc_enabled(void) { return cfg.acosc_enabled; } 14 | extern bool anticasc_logging(char *txt); 15 | #else 16 | static inline void ac_init(void) { } 17 | static inline void ac_init_stat(void) { } 18 | static inline void ac_do_stat(void) { } 19 | static inline void ac_clear(void) { } 20 | static inline void ac_copy_vars(struct s_auth *UNUSED(src), struct s_auth *UNUSED(dst)) { } 21 | static inline void ac_init_client(struct s_client *UNUSED(cl), struct s_auth *UNUSED(account)) { } 22 | static inline void ac_chk(struct s_client *UNUSED(cl), ECM_REQUEST *UNUSED(er), int32_t UNUSED(level)) { } 23 | static inline void insert_zaplist(ECM_REQUEST *UNUSED(er), struct s_client *UNUSED(client)) { } 24 | static inline bool acosc_enabled(void) { return 0; } 25 | static inline bool anticasc_logging(char *UNUSED(txt)) { return 0; } 26 | #endif 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /module-camd35.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_CAMD35_H_ 2 | #define MODULE_CAMD35_H_ 3 | 4 | int32_t camd35_send(struct s_client *cl, uint8_t *buf, int32_t buflen); 5 | int32_t camd35_send_without_timeout(struct s_client *cl, uint8_t *buf, int32_t buflen); 6 | int32_t camd35_tcp_connect(struct s_client *cl); 7 | #ifdef CS_CACHEEX_AIO 8 | void camd35_send_extmode(struct s_client *cl, bool answer); 9 | #endif 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /module-cccam-cacheex.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_CCCAM_CACHEEX_H_ 2 | #define MODULE_CCCAM_CACHEEX_H_ 3 | 4 | #ifdef CS_CACHEEX 5 | void cc_cacheex_filter_out(struct s_client *cl); 6 | void cc_cacheex_filter_in(struct s_client *cl, uint8_t *buf); 7 | void cc_cacheex_push_in(struct s_client *cl, uint8_t *buf); 8 | void cc_cacheex_module_init(struct s_module *ph); 9 | #ifdef CS_CACHEEX_AIO 10 | void cc_cacheex_feature_request(struct s_client *cl); 11 | void cc_cacheex_feature_request_reply(struct s_client *cl); 12 | void cc_cacheex_feature_request_save(struct s_client *cl, uint8_t *buf); 13 | void cc_cacheex_feature_trigger_in(struct s_client *cl, uint8_t *buf); 14 | #endif 15 | #else 16 | static inline void cc_cacheex_filter_out(struct s_client *UNUSED(cl)) { } 17 | static inline void cc_cacheex_filter_in(struct s_client *UNUSED(cl), uint8_t *UNUSED(buf)) { } 18 | static inline void cc_cacheex_push_in(struct s_client *UNUSED(cl), uint8_t *UNUSED(buf)) { } 19 | static inline void cc_cacheex_module_init(struct s_module *UNUSED(ph)) { } 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /module-cw-cycle-check.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_CW_CYCLE_CHECK_H_ 2 | #define MODULE_CW_CYCLE_CHECK_H_ 3 | 4 | uint8_t checkcwcycle(struct s_client *client, ECM_REQUEST *er, struct s_reader *reader, uint8_t *cw, int8_t rc, uint8_t cycletime_fr, uint8_t next_cw_cycle_fr); 5 | 6 | #ifdef CW_CYCLE_CHECK 7 | void cleanupcwcycle(void); 8 | #else 9 | static inline void cleanupcwcycle(void) { } 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /module-dvbapi-azbox.h: -------------------------------------------------------------------------------- 1 | #ifndef _MODULE_AZBOX_H_ 2 | #define _MODULE_AZBOX_H_ 3 | 4 | void azbox_send_dcw(struct s_client *client, ECM_REQUEST *er); 5 | void *azbox_handler(struct s_client *cl, uint8_t *mbuf, int32_t module_idx); 6 | 7 | #if defined(HAVE_DVBAPI) && defined(WITH_AZBOX) 8 | void azbox_init(void); 9 | void azbox_close(void); 10 | #else 11 | static inline void azbox_init(void) { } 12 | static inline void azbox_close(void) { } 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /module-dvbapi-chancache.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_DVBAPI_CHANCACHE_H_ 2 | #define MODULE_DVBAPI_CHANCACHE_H_ 3 | 4 | #ifdef HAVE_DVBAPI 5 | 6 | struct s_channel_cache 7 | { 8 | uint16_t caid; 9 | uint32_t prid; 10 | uint16_t srvid; 11 | uint16_t pid; 12 | uint32_t chid; 13 | }; 14 | 15 | void dvbapi_save_channel_cache(void); 16 | void dvbapi_load_channel_cache(void); 17 | struct s_channel_cache *dvbapi_find_channel_cache(int32_t demux_id, int32_t pidindex, int8_t caid_and_prid_only); 18 | int32_t dvbapi_edit_channel_cache(int32_t demux_id, int32_t pidindex, uint8_t add); 19 | 20 | #else 21 | static inline void dvbapi_save_channel_cache(void) { } 22 | #endif 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /module-dvbapi-coolapi.h: -------------------------------------------------------------------------------- 1 | #ifndef _MODULE_COOLAPI_H_ 2 | #define _MODULE_COOLAPI_H_ 3 | 4 | int32_t coolapi_set_filter(int32_t fd, int32_t num, int32_t pid, uint8_t *flt, uint8_t *mask, int32_t type); 5 | int32_t coolapi_remove_filter(int32_t fd, int32_t num); 6 | int32_t coolapi_open_device(int32_t demux_index, int32_t demux_id); 7 | int32_t coolapi_close_device(int32_t fd); 8 | int32_t coolapi_write_cw(int32_t mask, uint16_t *STREAMpids, int32_t count, ca_descr_t *ca_descr); 9 | int32_t coolapi_get_filter_num(int32_t fd); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /module-dvbapi-mca.h: -------------------------------------------------------------------------------- 1 | #ifndef _MODULE_MCA_H_ 2 | #define _MODULE_MCA_H_ 3 | 4 | void mca_send_dcw(struct s_client *client, ECM_REQUEST *er); 5 | void *mca_handler(struct s_client *cl, uint8_t *mbuf, int32_t module_idx); 6 | 7 | #if defined(HAVE_DVBAPI) && defined(WITH_MCA) 8 | void mca_init(void); 9 | void mca_close(void); 10 | #else 11 | static inline void mca_init(void) { } 12 | static inline void mca_close(void) { } 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /module-dvbapi-stapi.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_DVBAPI_STAPI_H_ 2 | #define MODULE_DVBAPI_STAPI_H_ 3 | 4 | int32_t stapi_open(void); 5 | int32_t stapi_set_filter(int32_t demux_id, uint16_t pid, uint8_t *filter, uint8_t *mask, int32_t num, char *pmtfile); 6 | int32_t stapi_remove_filter(int32_t demux_id, int32_t num, char *pmtfile); 7 | int32_t stapi_set_pid(int32_t demux_id, int32_t num, uint32_t idx, uint16_t pid, char *pmtfile); 8 | int32_t stapi_write_cw(int32_t demux_id, uint8_t *cw, uint16_t *, int32_t, char *pmtfile); 9 | int32_t stapi_activate_section_filter(int32_t fd, uint8_t *filter, uint8_t *mask); 10 | 11 | #ifdef WITH_STAPI5 12 | 13 | struct STDEVICE 14 | { 15 | char name[20]; 16 | uint32_t SessionHandle; 17 | uint32_t SignalHandle; 18 | pthread_t thread; 19 | struct filter_s demux_fd[MAX_DEMUX][MAX_FILTER]; 20 | }; 21 | 22 | extern struct STDEVICE dev_list[PTINUM]; 23 | 24 | #endif 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /module-emulator-biss.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_EMULATOR_BISS_H 2 | #define MODULE_EMULATOR_BISS_H 3 | 4 | #ifdef WITH_EMU 5 | 6 | #include 7 | 8 | #define BISS2_MAX_RSA_KEYS 16 9 | 10 | typedef struct biss2_rsa_key 11 | { 12 | uint8_t ekid[8]; 13 | RSA *key; 14 | } biss2_rsa_key_t; 15 | 16 | int8_t biss_ecm(struct s_reader *rdr, const uint8_t *ecm, uint16_t caid, uint16_t ecm_pid, uint8_t *dw, EXTENDED_CW *cw_ex); 17 | int8_t biss_emm(struct s_reader *rdr, const uint8_t *emm, uint32_t *keysAdded); 18 | uint16_t biss_read_pem(struct s_reader *rdr, uint8_t max_keys); 19 | 20 | #endif // WITH_EMU 21 | 22 | #endif // MODULE_EMULATOR_BISS_H 23 | -------------------------------------------------------------------------------- /module-emulator-cryptoworks.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_EMULATOR_CRYPTOWORKS_H 2 | #define MODULE_EMULATOR_CRYPTOWORKS_H 3 | 4 | #ifdef WITH_EMU 5 | 6 | int8_t cryptoworks_ecm(uint32_t caid, uint8_t *ecm, uint8_t *cw); 7 | 8 | #endif // WITH_EMU 9 | 10 | #endif // MODULE_EMULATOR_CRYPTOWORKS_H 11 | -------------------------------------------------------------------------------- /module-emulator-director.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_EMULATOR_DIRECTOR_H 2 | #define MODULE_EMULATOR_DIRECTOR_H 3 | 4 | #ifdef WITH_EMU 5 | 6 | int8_t director_ecm(uint8_t *ecm, uint8_t *dw); 7 | int8_t director_emm(uint8_t *emm, uint32_t *keysAdded); 8 | 9 | #endif // WITH_EMU 10 | 11 | #endif // MODULE_EMULATOR_DIRECTOR_H 12 | -------------------------------------------------------------------------------- /module-emulator-icam.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_EMULATOR_ICAM_H 2 | #define MODULE_EMULATOR_ICAM_H 3 | 4 | #ifdef WITH_EMU 5 | 6 | #include "module-emulator-streamserver.h" 7 | 8 | bool caid_is_icam(uint16_t caid); 9 | void icam_write_cw(ECM_REQUEST *er, int32_t connid); 10 | 11 | #ifdef MODULE_RADEGAST 12 | void icam_ecm(emu_stream_client_data *cdata); 13 | bool icam_connect_to_radegast(void); 14 | void icam_close_radegast_connection(void); 15 | void icam_reset(int32_t connid); 16 | bool icam_send_to_radegast(uint8_t* data, int len); 17 | #endif // MODULE_RADEGAST 18 | 19 | #endif // WITH_EMU 20 | 21 | #endif // MODULE_EMULATOR_ICAM_H 22 | -------------------------------------------------------------------------------- /module-emulator-irdeto.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_EMULATOR_IRDETO_H 2 | #define MODULE_EMULATOR_IRDETO_H 3 | 4 | #ifdef WITH_EMU 5 | 6 | int8_t irdeto2_ecm(uint16_t caid, uint8_t *oecm, uint8_t *dw); 7 | int8_t irdeto2_emm(uint16_t caid, uint8_t *oemm, uint32_t *keysAdded); 8 | 9 | // hexserial must be of type "uint8_t hexserial[3]" 10 | // returns 0 on error, 1 on success 11 | int8_t irdeto2_get_hexserial(uint16_t caid, uint8_t *hexserial); 12 | 13 | #endif // WITH_EMU 14 | 15 | #endif // MODULE_EMULATOR_IRDETO_H 16 | -------------------------------------------------------------------------------- /module-emulator-nagravision.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_EMULATOR_NAGRAVISION_H 2 | #define MODULE_EMULATOR_NAGRAVISION_H 3 | 4 | #ifdef WITH_EMU 5 | 6 | int8_t nagra2_ecm(uint8_t *ecm, uint8_t *dw); 7 | 8 | #endif // WITH_EMU 9 | 10 | #endif // MODULE_EMULATOR_NAGRAVISION_H 11 | -------------------------------------------------------------------------------- /module-emulator-viaccess.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_EMULATOR_VIACCESS_H 2 | #define MODULE_EMULATOR_VIACCESS_H 3 | 4 | #ifdef WITH_EMU 5 | 6 | int8_t viaccess_ecm(uint8_t *ecm, uint8_t *dw); 7 | int8_t viaccess_emm(uint8_t *emm, uint32_t *keysAdded); 8 | 9 | #endif // WITH_EMU 10 | 11 | #endif // MODULE_EMULATOR_VIACCESS_H 12 | -------------------------------------------------------------------------------- /module-gbox-helper.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_GBOX_HELPER_H_ 2 | #define MODULE_GBOX_HELPER_H_ 3 | 4 | #ifdef MODULE_GBOX 5 | uint16_t gbox_get_caid(uint32_t caprovid); 6 | uint32_t gbox_get_provid(uint32_t caprovid); 7 | uint32_t gbox_get_caprovid(uint16_t caid, uint32_t prid); 8 | uint32_t gbox_get_checksum(uint8_t *ecm, uint16_t ecmlen); 9 | void gbox_encrypt(uint8_t *buffer, int bufsize, uint32_t key); 10 | void gbox_decrypt(uint8_t *buffer, int bufsize, uint32_t localkey); 11 | void gbox_compress(uint8_t *buf, int32_t unpacked_len, int32_t *packed_len); 12 | void gbox_decompress(uint8_t *buf, int32_t *unpacked_len); 13 | #endif 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /module-gbox-remm.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_GBOX_REMM_H_ 2 | #define MODULE_GBOX_REMM_H_ 3 | 4 | #ifdef MODULE_GBOX 5 | 6 | #define MSG_REM_EMM 0x49BF 7 | 8 | #define MSGID_REMM_REQ 1 9 | #define MSGID_REMM_DATA 2 10 | #define MSGID_REMM_ACK 3 11 | 12 | #define PEER_AU_BLOCKED 1 13 | #define PEER_AU_READY 2 14 | #define PEER_AU_UNREADY 3 15 | 16 | void gbox_send_remm_req(struct s_client *cli, ECM_REQUEST *er); 17 | void gbox_recvd_remm_cmd_switch(struct s_client *cli, uint8_t *buf, int32_t n); 18 | int32_t gbox_send_remm_data(EMM_PACKET *ep); 19 | uint8_t check_valid_remm_peer(uint16_t peer_id); 20 | 21 | #endif 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /module-gbox-sms.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_GBOX_SMS_H_ 2 | #define MODULE_GBOX_SMS_H_ 3 | 4 | #ifdef MODULE_GBOX 5 | 6 | #define FILE_GSMS_TXT "gsms.txt" 7 | #define FILE_GSMS_MSG "gsms.log" 8 | #define FILE_OSD_MSG "gsms.osd" 9 | #define FILE_GSMS_ACK "gsms.ack" 10 | #define FILE_GSMS_NACK "gsms.nack" 11 | 12 | void gbox_init_send_gsms(void); 13 | void write_gsms_msg(struct s_client *cli, uint8_t *gsms, uint16_t type, uint16_t UNUSED(msglen)); 14 | void gbox_send_gsms_ack(struct s_client *cli); 15 | int gbox_direct_send_gsms(uint16_t boxid, uint8_t num, char *gsms); 16 | void gbox_get_online_peers(void); 17 | void write_gsms_ack(struct s_client *cli); 18 | void gsms_unavail(void); 19 | 20 | #endif 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /module-ird-guess.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_IRD_GUESS_H 2 | #define MODULE_IRD_GUESS_H 3 | 4 | #ifdef IRDETO_GUESSING 5 | int32_t init_irdeto_guess_tab(void); 6 | void guess_irdeto(ECM_REQUEST *er); 7 | void free_irdeto_guess_tab(void); 8 | #else 9 | static inline int32_t init_irdeto_guess_tab(void) 10 | { 11 | return 0; 12 | } 13 | static inline void guess_irdeto(ECM_REQUEST *UNUSED(er)) { } 14 | static inline void free_irdeto_guess_tab(void) { } 15 | #endif 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /module-lcd.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_LCD_H_ 2 | #define MODULE_LCD_H_ 3 | 4 | #ifdef LCDSUPPORT 5 | extern void lcd_thread_start(void); 6 | extern void lcd_thread_stop(void); 7 | #else 8 | static inline void lcd_thread_start(void) { } 9 | static inline void lcd_thread_stop(void) { } 10 | #endif 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /module-monitor.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_MONITOR_H_ 2 | #define MODULE_MONITOR_H_ 3 | 4 | #ifdef MODULE_MONITOR 5 | int32_t monitor_send_idx(struct s_client *cl, char *txt); 6 | #else 7 | int32_t monitor_send_idx(struct s_client *UNUSED(cl), char *UNUSED(txt)) 8 | { 9 | return 0; 10 | } 11 | #endif 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /module-newcamd-des.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_NEWCAMD_DES_H_ 2 | #define MODULE_NEWCAMD_DES_H_ 3 | 4 | #define DES_IP 1 5 | #define DES_IP_1 2 6 | #define DES_RIGHT 4 7 | #define DES_HASH 8 8 | 9 | #define DES_ECM_CRYPT 0 10 | #define DES_ECM_HASH DES_HASH 11 | 12 | void nc_des(uint8_t key[], uint8_t mode, uint8_t data[]); 13 | int nc_des_encrypt(uint8_t *buffer, int len, uint8_t *deskey); 14 | int nc_des_decrypt(uint8_t *buffer, int len, uint8_t *deskey); 15 | uint8_t *nc_des_login_key_get(uint8_t *key1, uint8_t *key2, int len, uint8_t *des16); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /module-newcamd.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_NEWCAMD_H_ 2 | #define MODULE_NEWCAMD_H_ 3 | 4 | const char *newcamd_get_client_name(uint16_t client_id); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /module-webif.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULE_WEBIF_H_ 2 | #define MODULE_WEBIF_H_ 3 | 4 | #ifdef WEBIF 5 | void webif_init(void); 6 | void webif_close(void); 7 | void webif_client_reset_lastresponsetime(struct s_client *cl); 8 | void webif_client_add_lastresponsetime(struct s_client *cl, int32_t ltime, time_t timestamp, int32_t rc); 9 | void webif_client_init_lastreader(struct s_client *cl, ECM_REQUEST *er, struct s_reader *er_reader, const char *stxt[]); 10 | #else 11 | static inline void webif_init(void) { } 12 | static inline void webif_close(void) { } 13 | static inline void webif_client_reset_lastresponsetime(struct s_client *UNUSED(cl)) { } 14 | static inline void webif_client_add_lastresponsetime(struct s_client *UNUSED(cl), int32_t UNUSED(ltime), time_t UNUSED(timestamp), int32_t UNUSED(rc)) { } 15 | static inline void webif_client_init_lastreader(struct s_client *UNUSED(cl), ECM_REQUEST *UNUSED(er), struct s_reader *UNUSED(er_reader), const char *UNUSED(stxt[])) { } 16 | #endif 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /modules.h: -------------------------------------------------------------------------------- 1 | #ifndef MODULES_H_ 2 | #define MODULES_H_ 3 | 4 | void module_monitor(struct s_module *); 5 | void module_camd35(struct s_module *); 6 | void module_camd35_tcp(struct s_module *); 7 | void module_camd33(struct s_module *); 8 | void module_newcamd(struct s_module *); 9 | void module_radegast(struct s_module *); 10 | void module_serial(struct s_module *); 11 | void module_cccam(struct s_module *); 12 | void module_pandora(struct s_module *); 13 | void module_scam(struct s_module *); 14 | void module_ghttp(struct s_module *); 15 | void module_gbox(struct s_module *); 16 | void module_constcw(struct s_module *); 17 | void module_csp(struct s_module *); 18 | void module_dvbapi(struct s_module *); 19 | 20 | #endif 21 | -------------------------------------------------------------------------------- /oscam-aes.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_AES_H_ 2 | #define OSCAM_AES_H_ 3 | 4 | void aes_set_key(struct aes_keys *aes, char *key); 5 | bool aes_set_key_alloc(struct aes_keys **aes, char *key); 6 | void aes_decrypt(struct aes_keys *aes, uint8_t *buf, int32_t n); 7 | void aes_encrypt_idx(struct aes_keys *aes, uint8_t *buf, int32_t n); 8 | void aes_cbc_encrypt(struct aes_keys *aes, uint8_t *buf, int32_t n, uint8_t *iv); 9 | void aes_cbc_decrypt(struct aes_keys *aes, uint8_t *buf, int32_t n, uint8_t *iv); 10 | 11 | void add_aes_entry(AES_ENTRY **list, uint16_t caid, uint32_t ident, int32_t keyid, uint8_t *aesKey); 12 | void parse_aes_entry(AES_ENTRY **list, char *label, char *value); 13 | void aes_clear_entries(AES_ENTRY **list); 14 | void parse_aes_keys(struct s_reader *rdr, char *value); 15 | int32_t aes_decrypt_from_list(AES_ENTRY *list, uint16_t caid, uint32_t provid, int32_t keyid, uint8_t *buf, int32_t n); 16 | int32_t aes_present(AES_ENTRY *list, uint16_t caid, uint32_t provid, int32_t keyid); 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /oscam-cache.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_CACHE_H_ 2 | #define OSCAM_CACHE_H_ 3 | 4 | void init_cache(void); 5 | #ifdef CS_CACHEEX_AIO 6 | void init_cw_cache(void); 7 | #endif 8 | void free_cache(void); 9 | void add_cache(ECM_REQUEST *er); 10 | struct ecm_request_t *check_cache(ECM_REQUEST *er, struct s_client *cl); 11 | void cleanup_cache(bool force); 12 | void remove_client_from_cache(struct s_client *cl); 13 | uint32_t cache_size(void); 14 | #ifdef CS_CACHEEX_AIO 15 | uint32_t cache_size_lg(void); 16 | #endif 17 | uint8_t get_odd_even(ECM_REQUEST *er); 18 | uint8_t check_is_pushed(void *cw, struct s_client *cl); 19 | #ifdef CS_CACHEEX_AIO 20 | void cw_cache_cleanup(bool force); 21 | int compare_csp_hash(const void *arg, const void *obj); 22 | void cacheex_get_srcnodeid(ECM_REQUEST *er, uint8_t *remotenodeid); 23 | #endif 24 | #endif 25 | -------------------------------------------------------------------------------- /oscam-client.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_CLIENT_H_ 2 | #define OSCAM_CLIENT_H_ 3 | 4 | /* Gets the client associated to the calling thread. */ 5 | static inline struct s_client *cur_client(void) 6 | { 7 | return (struct s_client *)pthread_getspecific(getclient); 8 | } 9 | int32_t get_threadnum(struct s_client *client); 10 | struct s_auth *get_account_by_name(char *name); 11 | int8_t is_valid_client(struct s_client *client); 12 | const char *remote_txt(void); 13 | const char *client_get_proto(struct s_client *cl); 14 | const char *username(struct s_client *client); 15 | void init_first_client(void); 16 | struct s_client *create_client(IN_ADDR_T ip); 17 | int32_t cs_auth_client(struct s_client *client, struct s_auth *account, const char *e_txt); 18 | void cs_disconnect_client(struct s_client *client); 19 | void cs_reinit_clients(struct s_auth *new_accounts); 20 | void kill_all_clients(void); 21 | void client_check_status(struct s_client *cl); 22 | void free_client(struct s_client *cl); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /oscam-conf-chk.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_CONF_CHK_H 2 | #define OSCAM_CONF_CHK_H 3 | 4 | void chk_iprange(char *value, struct s_ip **base); 5 | void chk_caidtab(char *value, CAIDTAB *caidtab); 6 | void chk_caidvaluetab(char *value, CAIDVALUETAB *tab); 7 | void chk_cacheex_valuetab(char *lbrlt, CECSPVALUETAB *tab); 8 | void chk_cacheex_cwcheck_valuetab(char *lbrlt, CWCHECKTAB *tab); 9 | void chk_cacheex_hitvaluetab(char *lbrlt, CECSPVALUETAB *tab); 10 | void chk_tuntab(char *tunasc, TUNTAB *ttab); 11 | void chk_services(char *labels, SIDTABS *sidtabs); 12 | void chk_ftab(char *value, FTAB *ftab); 13 | void chk_cltab(char *classasc, CLASSTAB *clstab); 14 | void chk_port_tab(char *portasc, PTAB *ptab); 15 | void chk_port_camd35_tab(char *portasc, PTAB *ptab); 16 | void chk_ecm_whitelist(char *value, ECM_WHITELIST *ecm_whitelist); 17 | void chk_ecm_hdr_whitelist(char *value, ECM_HDR_WHITELIST *ecm_hdr_whitelist); 18 | 19 | void clear_sip(struct s_ip **sip); 20 | void clear_ptab(struct s_ptab *ptab); 21 | void clear_cacheextab(CECSPVALUETAB *ctab); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /oscam-config-null.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_CONFIG_H_ 2 | #define OSCAM_CONFIG_H_ 3 | #endif 4 | 5 | FILE* conf_file(char fileName[]); 6 | extern int tmp_conf; 7 | extern int res; 8 | -------------------------------------------------------------------------------- /oscam-emm-cache.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_EMM_CACHE_H_ 2 | #define OSCAM_EMM_CACHE_H_ 3 | 4 | void emm_save_cache(void); 5 | void load_emmstat_from_file(void); 6 | void save_emmstat_to_file(void); 7 | void emm_load_cache(void); 8 | 9 | // all these functions below use emms md5 hash as indexkey 10 | struct s_emmcache *find_emm_cache(uint8_t *emmd5); // find a certain emm, e.g. to resend it to reader, returns null if nothing found 11 | int32_t emm_edit_cache(uint8_t *emmd5, EMM_PACKET *ep, bool add); // add = false: delete a certain emm from cache add = true: update lastseen or add emm to cache 12 | struct s_emmstat *get_emm_stat(struct s_reader *rdr, uint8_t *emmd5, uint8_t emmtype); // find a certain emmstat 13 | int32_t remove_emm_stat(struct s_reader *rdr, uint8_t *emmd5); // remove a certain emmstat 14 | int32_t clean_stale_emm_cache_and_stat(uint8_t *emmd5, int64_t gone); // remove stale global emmcache + emmstat where emm lastseen is older than gone ms 15 | 16 | #else 17 | static inline void load_emmstat_from_file(void) { } 18 | static inline void save_emmstat_to_file(void) { } 19 | static inline void emm_load_cache(void) { } 20 | static inline void emm_save_cache(void) { } 21 | #endif 22 | -------------------------------------------------------------------------------- /oscam-emm.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_EMM_H_ 2 | #define OSCAM_EMM_H_ 3 | 4 | int32_t emm_reader_match(struct s_reader *reader, uint16_t caid, uint32_t provid); 5 | void do_emm(struct s_client *client, EMM_PACKET *ep); 6 | int32_t reader_do_emm(struct s_reader *reader, EMM_PACKET *ep); 7 | void do_emm_from_file(struct s_reader *reader); 8 | void emm_sort_nanos(uint8_t *dest, const uint8_t *src, int32_t len); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /oscam-failban.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_FAILBAN_H_ 2 | #define OSCAM_FAILBAN_H_ 3 | 4 | extern int32_t cs_check_violation(IN_ADDR_T ip, int32_t port); 5 | int32_t cs_add_violation_by_ip(IN_ADDR_T ip, int32_t port, char *info); 6 | extern void cs_add_violation(struct s_client *cl, char *info); 7 | extern void cs_add_violation_acosc(struct s_client *cl, char *info, int32_t acosc_penalty_duration); 8 | 9 | #endif 10 | -------------------------------------------------------------------------------- /oscam-files.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_FILES_H_ 2 | #define OSCAM_FILES_H_ 3 | 4 | char *get_tmp_dir(void); 5 | char *get_tmp_dir_filename(char *dest, size_t destlen, const char *filename); 6 | int32_t cs_readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); 7 | bool file_exists(const char *filename); 8 | int32_t file_copy(char *srcfile, char *destfile); 9 | int32_t safe_overwrite_with_bak(char *destfile, char *temp_file, char *bakfile, int32_t forceBakOverWrite); 10 | #ifdef MODULE_GBOX 11 | char *get_gbox_filename(char *dest, size_t destlen, const char *filename); 12 | #endif 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /oscam-garbage.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_GARBAGE_H_ 2 | #define OSCAM_GARBAGE_H_ 3 | 4 | #ifdef WITH_DEBUG 5 | extern void add_garbage_debug(void *data, char *file, uint32_t line); 6 | #define add_garbage(x) add_garbage_debug(x, __FILE__, __LINE__) 7 | #else 8 | extern void add_garbage(void *data); 9 | #endif 10 | extern void start_garbage_collector(int32_t); 11 | extern void stop_garbage_collector(void); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /oscam-hashtable.h: -------------------------------------------------------------------------------- 1 | #include "tommyDS_hashlin/tommytypes.h" 2 | #include "tommyDS_hashlin/tommyhashlin.h" 3 | #include "tommyDS_hashlin/tommylist.h" 4 | 5 | typedef tommy_node node; 6 | typedef tommy_hashlin hash_table; 7 | typedef tommy_list list; 8 | 9 | void init_hash_table(void *ht, void *ll); 10 | void add_hash_table(void *ht, void *ht_node, void *ll, void *ll_node, void *obj, void *key, int key_len); 11 | void *find_hash_table(void *ht, void *key, int key_len, void *compare); 12 | void *search_remove_elem_hash_table(void *ht, void *key, int key_len, void *compare); 13 | void *remove_elem_hash_table(void *ht, void *ht_node); 14 | int count_hash_table(void *ht); 15 | void deinitialize_hash_table(void *ht); 16 | void sort_list(void *ll, void *cmp); 17 | void *remove_elem_list(void *ll, void *ll_node); 18 | void *get_first_node_list(void *ll); 19 | void *get_first_elem_list(void *ll); 20 | void *get_data_from_node(void *_node); 21 | -------------------------------------------------------------------------------- /oscam-lock.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_LOCK_H_ 2 | #define OSCAM_LOCK_H_ 3 | 4 | // Lock types 5 | #define WRITELOCK 1 6 | #define READLOCK 2 7 | 8 | void cs_lock_create(const char *n, CS_MUTEX_LOCK *l, const char *name, uint32_t timeout_ms); 9 | void cs_lock_destroy(const char *n, CS_MUTEX_LOCK *l); 10 | void cs_rwlock_int(const char *n, CS_MUTEX_LOCK *l, int8_t type); 11 | void cs_rwunlock_int(const char *n, CS_MUTEX_LOCK *l, int8_t type); 12 | int8_t cs_try_rwlock_int(const char *n, CS_MUTEX_LOCK *l, int8_t type); 13 | 14 | void cs_lock_create_nolog(const char *n, CS_MUTEX_LOCK *l, const char *name, uint32_t timeout_ms); 15 | void cs_rwlock_int_nolog(const char *n, CS_MUTEX_LOCK *l, int8_t type); 16 | void cs_rwunlock_int_nolog(const char *n, CS_MUTEX_LOCK *l, int8_t type); 17 | 18 | #define cs_writelock(n, l) cs_rwlock_int(n, l, WRITELOCK) 19 | #define cs_readlock(n, l) cs_rwlock_int(n, l, READLOCK) 20 | #define cs_writeunlock(n, l) cs_rwunlock_int(n, l, WRITELOCK) 21 | #define cs_readunlock(n, l) cs_rwunlock_int(n, l, READLOCK) 22 | #define cs_try_writelock(n, l) cs_try_rwlock_int(n, l, WRITELOCK) 23 | #define cs_try_readlock(n, l) cs_try_rwlock_int(n, l, READLOCK) 24 | 25 | #define cs_writelock_nolog(n, l) cs_rwlock_int_nolog(n, l, WRITELOCK) 26 | #define cs_writeunlock_nolog(n, l) cs_rwunlock_int_nolog(n, l, WRITELOCK) 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /oscam-log-reader.h: -------------------------------------------------------------------------------- 1 | #ifndef OSCAM_LOG_READER_H_ 2 | #define OSCAM_LOG_READER_H_ 3 | 4 | void rdr_log(struct s_reader *reader, char *, ...) __attribute__((format(printf, 2, 3))); 5 | void rdr_log_sensitive(struct s_reader *reader, char *, ...) __attribute__((format(printf, 2, 3))); 6 | 7 | void rdr_log_dbg(struct s_reader *reader, uint16_t mask, char *fmt, ...) __attribute__((format(printf, 3, 4))); 8 | void rdr_log_dbg_sensitive(struct s_reader *reader, uint16_t mask, char *fmt, ...) __attribute__((format(printf, 3, 4))); 9 | 10 | void rdr_log_dump(struct s_reader *reader, const uint8_t *buf, int n, char *fmt, ...) __attribute__((format(printf, 4, 5))); 11 | void rdr_log_dump_dbg(struct s_reader *reader, uint16_t mask, const uint8_t *buf, int n, char *fmt, ...) __attribute__((format(printf, 5, 6))); 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /reader-dre-common.h: -------------------------------------------------------------------------------- 1 | #ifndef DRE_COMMON_H_ 2 | #define DRE_COMMON_H_ 3 | 4 | int32_t dre_common_get_emm_type(EMM_PACKET *ep, struct s_reader *rdr); 5 | int32_t dre_common_get_emm_filter(struct s_reader *rdr, struct s_csystem_emm_filter **emm_filters, unsigned int *filter_count); 6 | 7 | uint8_t Drecrypt2OverCW(uint16_t overcryptId, uint8_t *cw); 8 | void Drecrypt2OverEMM(uint8_t *emm); 9 | void ReasmEMM82(uint8_t *emm); 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /reader-dre-st20.h: -------------------------------------------------------------------------------- 1 | #ifndef ST20_H_ 2 | #define ST20_H_ 3 | 4 | int st20_run(uint8_t* snip, uint32_t snip_len, int addr, uint8_t *data, uint16_t overcryptId); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /reader-irdeto.h: -------------------------------------------------------------------------------- 1 | #ifndef READER_IRDETO_H_ 2 | #define READER_IRDETO_H_ 3 | 4 | #ifdef READER_IRDETO 5 | void irdeto_add_emm_header(EMM_PACKET *ep); 6 | #else 7 | static inline void irdeto_add_emm_header(EMM_PACKET *UNUSED(ep)) { } 8 | #endif 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /reader-nagra-common.h: -------------------------------------------------------------------------------- 1 | #ifndef READER_NAGRA_COMMON_H_ 2 | #define READER_NAGRA_COMMON_H_ 3 | 4 | #define SYSTEM_NAGRA 0x1800 5 | #define SYSTEM_MASK 0xFF00 6 | 7 | int32_t nagra_get_emm_type(EMM_PACKET *ep, struct s_reader *rdr); 8 | int32_t nagra_get_emm_filter(struct s_reader *rdr, struct s_csystem_emm_filter **emm_filters, unsigned int *filter_count); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /reader-nagracak7.h: -------------------------------------------------------------------------------- 1 | #ifndef READER_NAGRACAK7_H_ 2 | #define READER_NAGRACAK7_H_ 3 | 4 | void CAK7_getCamKey(struct s_reader *reader); 5 | 6 | #endif 7 | -------------------------------------------------------------------------------- /readers.h: -------------------------------------------------------------------------------- 1 | #ifndef READERS_H_ 2 | #define READERS_H_ 3 | 4 | extern const struct s_cardsystem reader_nagra; 5 | extern const struct s_cardsystem reader_nagracak7; 6 | extern const struct s_cardsystem reader_irdeto; 7 | extern const struct s_cardsystem reader_cryptoworks; 8 | extern const struct s_cardsystem reader_viaccess; 9 | extern const struct s_cardsystem reader_conax; 10 | extern const struct s_cardsystem reader_seca; 11 | extern const struct s_cardsystem reader_videoguard1; 12 | extern const struct s_cardsystem reader_videoguard2; 13 | extern const struct s_cardsystem reader_videoguard12; 14 | extern const struct s_cardsystem reader_dre; 15 | extern const struct s_cardsystem reader_drecas; 16 | extern const struct s_cardsystem reader_tongfang; 17 | extern const struct s_cardsystem reader_bulcrypt; 18 | extern const struct s_cardsystem reader_griffin; 19 | extern const struct s_cardsystem reader_dgcrypt; 20 | extern const struct s_cardsystem reader_streamguard; 21 | extern const struct s_cardsystem reader_jet; 22 | extern const struct s_cardsystem reader_emu; 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /sample-bb/enigma2-plugin-softcams-oscam-schimmelreiter-ipv4.bb: -------------------------------------------------------------------------------- 1 | include oscam-schimmelreiter.inc 2 | 3 | BINFILE = "oscam-smod" 4 | 5 | EXTRA_OECMAKE += "\ 6 | -DIPV6SUPPORT=0 \ 7 | " 8 | DESCRIPTION += "Note: You should never need this IPv4-ONLY version!" 9 | 10 | RPROVIDES_${PN} = "softcam-${BINFILE}-ipv4" 11 | RREPLACES_${PN} = "softcam-${BINFILE}" 12 | RCONFLICTS_${PN} = "softcam-${BINFILE}" 13 | -------------------------------------------------------------------------------- /sample-bb/enigma2-plugin-softcams-oscam-schimmelreiter.bb: -------------------------------------------------------------------------------- 1 | include oscam-schimmelreiter.inc 2 | 3 | BINFILE = "oscam-smod" 4 | 5 | EXTRA_OECMAKE += "\ 6 | -DIPV6SUPPORT=1 \ 7 | " 8 | 9 | DESCRIPTION += "- IPv6 support\nThis version can connect to servers using IPv6 and/or IPv4." 10 | 11 | RPROVIDES_${PN} = "softcam-${BINFILE}" 12 | RREPLACES_${PN} = "softcam-${BINFILE}-ipv4" 13 | RCONFLICTS_${PN} = "softcam-${BINFILE}-ipv4" 14 | -------------------------------------------------------------------------------- /scripts/modern-up.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | git stash 4 | 5 | TRUNK=1532 6 | SUCCESS=true 7 | 8 | while [ $SUCCESS == true ]; do 9 | SUCCESS=false 10 | let TRUNK+=1 11 | [ $TRUNK = 1520 ] && exit 0 12 | echo "Getting patch to svn $TRUNK" 13 | wget -nv -O modern${TRUNK}.patch "http://www.streamboard.tv/oscam-addons/changeset/${TRUNK}/modern?format=diff&new=${TRUNK}" 14 | [ $? == 0 ] && cat modern${TRUNK}.patch | patch -p1 -l -s && SUCCESS=true 15 | done 16 | -------------------------------------------------------------------------------- /scripts/svn-up.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | #git stash 4 | 5 | TRUNK=$(cat .trunk-svn) 6 | SUCCESS=true 7 | 8 | while [ $SUCCESS == true ]; do 9 | SUCCESS=false 10 | let TRUNK+=1 11 | echo "Getting patch to svn $TRUNK" 12 | wget -nv -O svn${TRUNK}.patch "http://www.streamboard.tv/oscam/changeset/${TRUNK}?format=diff&new=${TRUNK}" 13 | [ $? == 0 ] && cat svn${TRUNK}.patch | sed 's:/trunk:./:gi' | patch -p0 -l -s && SUCCESS=true && echo ${TRUNK} > .trunk-svn 14 | done 15 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-coolstream.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Coolstream) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER arm-cx2450x-linux-gnueabi-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR arm) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-dockstar-openwrt.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Dockstar) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER arm-openwrt-linux-uclibcgnueabi-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR arm) 5 | 6 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-friendlyarm.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME FriendlyARM) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR arm) -------------------------------------------------------------------------------- /toolchains/toolchain-arm-mca.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME MCA) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR arm) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-none.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME none) 2 | set (CMAKE_SYSTEM_NAME linux) 3 | set (CMAKE_C_COMPILER arm-none-linux-gnueabi-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR arm) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-nslu2-openwrt.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME NSLU2) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER armeb-linux-uclibc-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR arm) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-nslu2-unslung.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME NSLU2) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER armv5b-softfloat-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR armv5b) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-su980.cmake: -------------------------------------------------------------------------------- 1 | set( OSCAM_SYSTEM_NAME SU980 ) 2 | set( CMAKE_SYSTEM_NAME Linux ) 3 | set( CMAKE_C_COMPILER arm-cortex-linux-gnueabi-gcc ) 4 | set( CMAKE_SYSTEM_PROCESSOR arm ) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-arm-wrt350nv2-openwrt.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME WRT350NV2) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER arm-openwrt-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR arm) 5 | 6 | -------------------------------------------------------------------------------- /toolchains/toolchain-mips-agv2_w.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME agv2+w) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mips-openwrt-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-mips-azbox.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME AZBox) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mipsel-linux-uclibc-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-mips-dir825.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME DIR-825) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mips-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) -------------------------------------------------------------------------------- /toolchains/toolchain-mips-fonera2.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Fonera2) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mips-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-mips-tuxbox.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Tuxbox) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mipsel-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-mips-wrt54g.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME WRT54G) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mipsel-linux-uclibc-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-mipsel-tuxbox-broken-pthread.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Tuxbox) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mipsel-unknown-linux-gnu-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) 5 | add_definitions("'-Dpthread_attr_setstacksize(a,b)=/* a b */'") 6 | -------------------------------------------------------------------------------- /toolchains/toolchain-mipsel-tuxbox-linux-gnu.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_FIND_ROOT_PATH /opt/cross/mipsel-tuxbox-linux-gnu/mipsel-tuxbox-linux-gnu/sysroot) 2 | SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 3 | SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 4 | SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 5 | SET(OSCAM_SYSTEM_NAME Tuxbox) 6 | SET(CMAKE_SYSTEM_NAME Linux) 7 | SET(CMAKE_C_COMPILER mipsel-tuxbox-linux-gnu-gcc-4.8.1) 8 | SET(CMAKE_CXX_COMPILER mipsel-tuxbox-linux-gnu-g++) 9 | SET(CMAKE_SYSTEM_PROCESSOR mipsel) 10 | 11 | -------------------------------------------------------------------------------- /toolchains/toolchain-mipsel-tuxbox.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Tuxbox) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER mipsel-unknown-linux-gnu-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR mips) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-powerpc-tuxbox.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Tuxbox) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER powerpc-tuxbox-linux-gnu-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR powerpc) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-sh4-amino.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Amino) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER sh4-linux-gnu-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR sh4) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-sh4-qboxhd.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME QboxHD) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER sh4-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR sh4) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-sh4-tuxbox-stapi.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Tuxbox) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER sh4-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR sh4) 5 | set (WITH_STAPI 1) 6 | -------------------------------------------------------------------------------- /toolchains/toolchain-sh4-tuxbox.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Tuxbox) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER sh4-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR sh4) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-sparc-padre.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME Padre) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER sparc-linux-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR sparc) 5 | -------------------------------------------------------------------------------- /toolchains/toolchain-tripledragon.cmake: -------------------------------------------------------------------------------- 1 | set (OSCAM_SYSTEM_NAME TripleDragon) 2 | set (CMAKE_SYSTEM_NAME Linux) 3 | set (CMAKE_C_COMPILER powerpc-405-linux-gnu-gcc) 4 | set (CMAKE_SYSTEM_PROCESSOR powerpc) 5 | -------------------------------------------------------------------------------- /webif/.gitignore: -------------------------------------------------------------------------------- 1 | pages.c 2 | pages.dep 3 | pages.bin 4 | pages.bin.compressed 5 | pages.h 6 | pages_gen 7 | -------------------------------------------------------------------------------- /webif/Makefile: -------------------------------------------------------------------------------- 1 | HOSTCC ?= gcc 2 | HOSTCFLAGS ?= -O2 \ 3 | -W -Wall -Wextra -Wno-sign-compare \ 4 | -Wshadow -Wformat-security -Wstrict-prototypes 5 | 6 | # Setup quiet build 7 | Q = 8 | SAY = @true 9 | ifndef V 10 | Q = @ 11 | NP = --no-print-directory 12 | SAY = @echo 13 | endif 14 | 15 | all: pages.c 16 | 17 | pages.c: pages_gen 18 | $(SAY) "GEN webif/$@" 19 | $(Q)./pages_mkdep 20 | $(Q)./pages_gen 21 | 22 | -include pages.dep 23 | 24 | pages_gen: Makefile pages_gen.c 25 | $(SAY) "HOSTCC webif/$@" 26 | $(Q)$(HOSTCC) $(HOSTCFLAGS) ../minilzo/minilzo.c pages_gen.c -o $@ 27 | 28 | clean: 29 | @-for FILE in pages_gen pages.dep pages.bin pages.bin.compressed pages.h pages.c is_defined.txt; do \ 30 | if [ -f $$FILE ]; then echo "RM webif/$$FILE"; fi; \ 31 | rm -rf $$FILE; \ 32 | done 33 | 34 | distclean: clean -------------------------------------------------------------------------------- /webif/README: -------------------------------------------------------------------------------- 1 | This directory holds all pages that are used in OSCam WebIf along with 2 | program that builds pages.{c,h} files used by the OSCam build system. 3 | 4 | The build system is intelligent enough to rebuild pages.{c,h} files when 5 | any file mentioned in pages_index.txt is changed or pages_index.txt itself 6 | is changed. 7 | 8 | If you want change WebIf pages just edit files in the directory that 9 | interests you then build OSCam as you normally do. 10 | 11 | Any file must be described in pages_index.txt 12 | 13 | Files in the root directory: 14 | Makefile - Build system file. 15 | pages_gen.c - The program that generates pages.c and pages.h files. 16 | pages_index.txt - This file contains mapping of template names to 17 | file names and describes template's config dependecies. 18 | pages_index_check - Script that checks if every file is found. 19 | pages_mkdep - Used by the build system to generate file dependencies. 20 | -------------------------------------------------------------------------------- /webif/api.json/cacheex.json: -------------------------------------------------------------------------------- 1 | ##TPLJSONHEADER## 2 | "rows":[ 3 | ##JSONCACHEEXBITS## 4 | ] 5 | ##TPLJSONFOOTER## -------------------------------------------------------------------------------- /webif/api.json/cacheexaiobit.json: -------------------------------------------------------------------------------- 1 | ##JSONDELIMITER##{ 2 | "rowtype":"##ROWTYPE##", 3 | "id":"##ROWID##", 4 | "dirimg":"##DIRECTIONIMG##", 5 | "type":"##TYPE##", 6 | "name":"##NAME##", 7 | "ip":"##IP##", 8 | "node":"##NODE##", 9 | "level":"##LEVEL##", 10 | "push":"##PUSH##", 11 | "pushlg":"##PUSHLG##", 12 | "got":"##GOT##", 13 | "gotlg":"GOTLG", 14 | "cwinfo":"##CWCINFO##", 15 | "hit":"##HIT##", 16 | "err":"##ERR##", 17 | "errcw":"##ERRCW##" 18 | } -------------------------------------------------------------------------------- /webif/api.json/cacheexbit.json: -------------------------------------------------------------------------------- 1 | ##JSONDELIMITER##{ 2 | "rowtype":"##ROWTYPE##", 3 | "id":"##ROWID##", 4 | "dirimg":"##DIRECTIONIMG##", 5 | "type":"##TYPE##", 6 | "name":"##NAME##", 7 | "ip":"##IP##", 8 | "node":"##NODE##", 9 | "level":"##LEVEL##", 10 | "push":"##PUSH##", 11 | "got":"##GOT##", 12 | "cwinfo":"##CWCINFO##", 13 | "hit":"##HIT##", 14 | "err":"##ERR##", 15 | "errcw":"##ERRCW##" 16 | } -------------------------------------------------------------------------------- /webif/api.json/entitlementbit.json: -------------------------------------------------------------------------------- 1 | ##JSONDELIMITER##{"type":"##ENTTYPE##", "caid": "##ENTCAID##", "provid": "##ENTPROVID##", "id": "##ENTID##", "class": "##ENTCLASS##", "startDate": "##ENTSTARTDATE##", "expireDate": "##ENTENDDATE##", "name": "##ENTRESNAME##"} 2 | -------------------------------------------------------------------------------- /webif/api.json/entitlements.json: -------------------------------------------------------------------------------- 1 | ##TPLJSONHEADER##"entitlements":[##APIENTITLEMENTLIST##]##TPLJSONFOOTER## 2 | -------------------------------------------------------------------------------- /webif/api.json/footer.json: -------------------------------------------------------------------------------- 1 | } 2 | }##ENDBRACKET## 3 | -------------------------------------------------------------------------------- /webif/api.json/reader.json: -------------------------------------------------------------------------------- 1 | ##TPLJSONHEADER##"readers":[##APIREADERLIST##]##TPLJSONFOOTER## -------------------------------------------------------------------------------- /webif/api.json/readerbit.json: -------------------------------------------------------------------------------- 1 | ##JSONDELIMITER##{"labelmd5":"##LABELMD5##","label":"##READERNAMEENC##","classname":"##READERCLASS##","ip":"##READERIP##","status":"##RSTATUS##","protocol":"##CLIENTPROTO##","protoicon":"##PROTOICON##","prototitle":"##CLIENTPROTOTITLE##","protosort":"##CLIENTPROTOSORT##","type":"##APIREADERTYPE##","enabled":"##APIREADERENABLED##","last_gsms":"##LASTGSMS##","stats":{"ecmsok":"##ECMSOK##","ecmsokrel":"##ECMSOKREL##","ecmsoklg":"##ECMSOKLG##","ecmsoklgrel":"##ECMSOKLGREL##","ecmsnok":"##ECMSNOK##","ecmsnokrel":"##ECMSNOKREL##","ecmstout":"##ECMSTOUT##","ecmstoutrel":"##ECMSTOUTREL##","ecmsfiltered":"##ECMSFILTEREDHEAD## / ##ECMSFILTEREDLEN##","emmerror":"##EMMERRORUK## / ##EMMERRORG## / ##EMMERRORS## / ##EMMERRORUQ##","emmwritten":"##EMMWRITTENUK## / ##EMMWRITTENG## / ##EMMWRITTENS## / ##EMMWRITTENUQ##", "emmskipped":"##EMMSKIPPEDUK## / ##EMMSKIPPEDG## / ##EMMSKIPPEDS## / ##EMMSKIPPEDUQ##","emmblocked":"##EMMBLOCKEDUK## / ##EMMBLOCKEDG## / ##EMMBLOCKEDS## / ##EMMBLOCKEDUQ##","lbweight":"##LBWEIGHT##"}} 2 | -------------------------------------------------------------------------------- /webif/api.json/status.json: -------------------------------------------------------------------------------- 1 | ##TPLJSONHEADER## 2 | "status": { 3 | "ucs":"##UCS##", 4 | "uca":"##UCA##", 5 | "ucac":"##UCAC##", 6 | "cfgh":"##CFGH##", 7 | "scs":"##SCS##", 8 | "sch":"##SCH##", 9 | "sca":"##SCA##", 10 | "mcs":"##MCS##", 11 | "mca":"##MCA##", 12 | "rcc":"##RCC##", 13 | "rca":"##RCA##", 14 | "rco":"##RCO##", 15 | "pcc":"##PCC##", 16 | "pca":"##PCA##", 17 | "pco":"##PCO##", 18 | "client":[ 19 | ##JSONSTATUSBITS## 20 | ]} 21 | ##TPLJSONFOOTER## 22 | -------------------------------------------------------------------------------- /webif/api.json/status_statusbits.json: -------------------------------------------------------------------------------- 1 | ##JSONARRAYDELIMITER##{ 2 | "thid": "##CSIDX##", 3 | "type": "##CLIENTTYPE##", 4 | "name_enc": "##USERENC##", 5 | "rname_enc": "##READERNAMEENC##", 6 | "upicmissing": "##UPICMISSING##", 7 | "desc": "##CLIENTDESCRIPTION##", 8 | "protocol": "##CLIENTPROTO##", 9 | "protocolext": "##CLIENTPROTOTITLE##", 10 | "protoicon":"##PROTOICON##", 11 | "au": "##CLIENTCAU##", 12 | "aufmt":"##CLIENTCAUHTTP##", 13 | "request": { 14 | "caid": "##CLIENTCAID##", 15 | "provid": "##CLIENTPROVID##", 16 | "srvid": "##CLIENTSRVID##", 17 | "ecmtime": "##CLIENTLASTRESPONSETIME##", 18 | "ecmhistory": "##CLIENTLASTRESPONSETIMEHIST##", 19 | "answered": "##LASTREADER##", 20 | "picon":"##PICONNAME##", 21 | "chprovider":"##CLIENTSRVPROVIDER##", 22 | "chname":"##CLIENTSRVNAME##", 23 | "chantitle":"##LASTCHANNELTITLE##", 24 | "msvalue":"##MSVALUE##", 25 | "lbvalue":"##LBLRPSTRVALUE##", 26 | "$": "##CLIENTSRVNAME####CLIENTSRVPROVIDER##" 27 | }, 28 | "times": { 29 | "login": "##CLIENTLOGINDATE##", 30 | "loginfmt":"##CLIENTLOGINDATEFMT##", 31 | "online": "##CLIENTLOGINSECS##", 32 | "idle": "##CLIENTIDLESECS##" 33 | }, 34 | "connection": { 35 | "ip": "##CLIENTIP##", 36 | "port": "##CLIENTPORT##", 37 | "status":"##CLIENTCON##", 38 | "totentitlements":"##TOTENTITLEMENTS##", 39 | "entitlements":[##ENTITLEMENTS##], 40 | "$": "##CLIENTCON##" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /webif/api.json/user.json: -------------------------------------------------------------------------------- 1 | ##TPLJSONHEADER## 2 | "users":[##APIUSERCONFIGS##] 3 | ##TPLJSONFOOTER## -------------------------------------------------------------------------------- /webif/api.xml/cccamcardlist.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | 3 | 4 | ##CARDLIST## 5 | 6 | 7 | ##TPLAPIFOOTER## 8 | -------------------------------------------------------------------------------- /webif/api.xml/cccamcardlist_cardlist.xml: -------------------------------------------------------------------------------- 1 | 2 | ##SHAREID## 3 | ##REMOTEID## 4 | 5 | ##PROVIDERLIST## 6 | 7 | 8 | ##NODELIST## 9 | 10 | 11 | -------------------------------------------------------------------------------- /webif/api.xml/cccamcardlist_cardlist_nodelist.xml: -------------------------------------------------------------------------------- 1 | ##APINODE## 2 | -------------------------------------------------------------------------------- /webif/api.xml/cccamcardlist_cardlist_providerlist.xml: -------------------------------------------------------------------------------- 1 | ##APIPROVIDERNAME## 2 | -------------------------------------------------------------------------------- /webif/api.xml/confirmation.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | ##APICONFIRMMESSAGE## 3 | ##TPLAPIFOOTER## 4 | -------------------------------------------------------------------------------- /webif/api.xml/error.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | ##APIERRORMESSAGE## 3 | ##TPLAPIFOOTER## 4 | -------------------------------------------------------------------------------- /webif/api.xml/failban.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | 3 | ##APIFAILBANROW## 4 | 5 | ##TPLAPIFOOTER## 6 | -------------------------------------------------------------------------------- /webif/api.xml/failban_failbanrow.xml: -------------------------------------------------------------------------------- 1 | ##IPADDRESS## 2 | -------------------------------------------------------------------------------- /webif/api.xml/file.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | 3 | 4 | 5 | ##TPLAPIFOOTER## 6 | -------------------------------------------------------------------------------- /webif/api.xml/footer.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/api.xml/header.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /webif/api.xml/readers.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | 3 | ##APIREADERLIST## 4 | 5 | ##TPLAPIFOOTER## 6 | -------------------------------------------------------------------------------- /webif/api.xml/readers_readerlist.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/api.xml/readerstats.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | 3 | 4 | ##EMMSTATS## 5 | 6 | 7 | ##ECMSTATS## 8 | 9 | ##ECMHISTORY## 10 | 11 | ##TPLAPIFOOTER## 12 | -------------------------------------------------------------------------------- /webif/api.xml/readerstats_ecmstats.xml: -------------------------------------------------------------------------------- 1 | ##ECMCOUNT## 2 | -------------------------------------------------------------------------------- /webif/api.xml/readerstats_emmstats.xml: -------------------------------------------------------------------------------- 1 | ##EMMCOUNT## 2 | -------------------------------------------------------------------------------- /webif/api.xml/status.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | 3 | ##APISTATUSBITS## 4 | 5 | ##TPLAPIFOOTER## 8 | -------------------------------------------------------------------------------- /webif/api.xml/status_statusbits.xml: -------------------------------------------------------------------------------- 1 | 2 | ##CLIENTSRVNAME####CLIENTSRVPROVIDER## 3 | 4 | ##CLIENTCON## 5 | 6 | -------------------------------------------------------------------------------- /webif/api.xml/userconfiglist_userconfigs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ##CWOK## 4 | ##CWNOK## 5 | ##CWIGN## 6 | ##CWTOUT## 7 | ##CWCACHE## 8 | ##CWTUN## 9 | ##CWLASTRESPONSET## 10 | ##EMMOK## 11 | ##EMMNOK## 12 | ##CWRATE## 13 | ##CLIENTTIMEONCHANNELAPI## 14 | ##CLIENTTIMETOSLEEPAPI## 15 | 16 | 17 | -------------------------------------------------------------------------------- /webif/api.xml/useredit.xml: -------------------------------------------------------------------------------- 1 | ##TPLAPIHEADER## 2 | 3 | ##USERNAME## 4 | ##PASSWORD## 5 | ##DESCRIPTION## 6 | ##DISABLEDVALUE## 7 | ##EXPDATE## 8 | ##FAILBAN## 9 | ##ALLOWEDTIMEFRAME## 10 | ##GROUPS## 11 | ##DYNDNS## 12 | ##UNIQVALUE## 13 | ##SLEEP## 14 | ##MONVALUE## 15 | ##AUREADER## 16 | ##SERVICES## 17 | ##CAIDS## 18 | ##IDENTS## 19 | ##CHIDS## 20 | ##CLASS## 21 | ##BETATUNNELS## 22 | ##SUPPRESSCMD08VALUE## 23 | ##SLEEPSEND## 24 | ##AC_USERS## 25 | ##PENALTYVALUE## 26 | ##CCCMAXHOPS## 27 | ##CCCRESHARE## 28 | ##CCCIGNORERESHARE## 29 | ##CCCSTEALTH## 30 | ##KEEPALIVEVALUE## 31 | 32 | ##TPLAPIFOOTER## 33 | -------------------------------------------------------------------------------- /webif/cacheex/cacheex_tablerow.html: -------------------------------------------------------------------------------- 1 |   ##DIRECTIONIMG##  ##TYPE####NAME####IP####NODE####LEVEL####PUSH####GOT####CWCINFO####HIT####ERR####ERRCW## 2 | -------------------------------------------------------------------------------- /webif/cacheex/cacheex_tablerow_stats.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schimmelreiter/oscam-smod/01bc9cdbdccee92b5a975e3549116a1519df162a/webif/cacheex/cacheex_tablerow_stats.html -------------------------------------------------------------------------------- /webif/cacheexaio/cacheex_tablerow.html: -------------------------------------------------------------------------------- 1 |   ##DIRECTIONIMG##  ##TYPE####NAME####IP####NODE####LEVEL####PUSH####PUSHLG####GOT####GOTLG####HIT####REL_CACHEXHITGOT####CWCINFO####ERRCW####ERR## 2 | -------------------------------------------------------------------------------- /webif/cacheexaio/cacheex_tablerow_stats.html: -------------------------------------------------------------------------------- 1 |   ##DIRECTIONIMG##  ##TYPE####NAME####IP####NODE####LEVEL####PUSH####PUSHLG####GOT####GOTLG####HIT####REL_CACHEXHITGOT####CWCINFO####ERRCW####ERR## 2 | -------------------------------------------------------------------------------- /webif/config/cache.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ##TPLCONFIGCACHEEXCSP## 7 | ##TPLCONFIGCWCYCLE## 8 | -------------------------------------------------------------------------------- /webif/config/cacheaio.html: -------------------------------------------------------------------------------- 1 | 2 |
Global Cache Settings
Delay: ms delaying answers from cache
Max time: s keep ECMs in cache
3 | 4 | 5 | 6 | ##TPLCONFIGCACHEEXAIOCSP## 7 | ##TPLCONFIGCWCYCLE## 8 | -------------------------------------------------------------------------------- /webif/config/camd33.html: -------------------------------------------------------------------------------- 1 | 2 |
Global Cache Settings
Delay: ms delaying answers from cache
Max time: s keep ECMs in cache
3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /webif/config/camd35.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
Edit Camd33 Config
Port:
Serverip:
Key:
Passive:
Nocrypt:
4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /webif/config/camd35tcp.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
Edit Cs357x (Camd35 UDP) Config
Port:
Serverip:
Suppress cmd08:
4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /webif/config/cccam_control.html: -------------------------------------------------------------------------------- 1 |
Edit Cs378x (Camd35 TCP) Config
Port:port[@CAID[:ident][,ident]...][;port[@CAID[:ident][,ident]...]]...
Serverip:
Suppress cmd08:
2 | 3 | 4 | 10 | 18 | 19 |
Global List Control
5 |
6 | 7 | 8 |
9 |
11 |
12 | 13 | 14 |       15 | 16 |
17 |
20 | -------------------------------------------------------------------------------- /webif/config/cccreshare.html: -------------------------------------------------------------------------------- 1 | 2 | Reshare ccc-cards -> gbox-net 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /webif/config/config.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADERSHORT## 2 | 5 | ##TPLBODY## 6 | ##TPLMENU## 7 | ##TPLCONFIGMENU## 8 | ##TPLMESSAGE## 9 |
10 | 11 | ##CONFIG_CONTENT## 12 | 13 | 14 | 15 |
16 | ##CONFIG_CONTROL## 17 | ##TPLFOOTER## 18 | -------------------------------------------------------------------------------- /webif/config/global_enableledbit.html: -------------------------------------------------------------------------------- 1 | LED 2 | Enable LED: 3 | -------------------------------------------------------------------------------- /webif/config/global_getblockemmauprovid.html: -------------------------------------------------------------------------------- 1 | Get BlockEmm & AU Provid Settings from Server: 2 | -------------------------------------------------------------------------------- /webif/config/global_localcards.html: -------------------------------------------------------------------------------- 1 | Wait for cards: 2 | 3 | 4 | 5 | 6 | Wait for cards delay: ms -------------------------------------------------------------------------------- /webif/config/global_suppresscmd08.html: -------------------------------------------------------------------------------- 1 | Cs357x/Cs378x 2 | Suppress cmd08: 3 | -------------------------------------------------------------------------------- /webif/config/global_unlockparental.html: -------------------------------------------------------------------------------- 1 | Unlock parental: 2 | -------------------------------------------------------------------------------- /webif/config/lcd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /webif/config/loadbalancer_control.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
LCD Config
Enable LCD:
LCD Output Path:
LCD Write Interval:
LCD Hide idle Readers:
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
Loadbalancer Statistic Control
16 | 17 | -------------------------------------------------------------------------------- /webif/config/menu.html: -------------------------------------------------------------------------------- 1 | 23 | 24 | -------------------------------------------------------------------------------- /webif/config/menu_anticasc.html: -------------------------------------------------------------------------------- 1 |
  • Anticascading
  • -------------------------------------------------------------------------------- /webif/config/menu_camd33.html: -------------------------------------------------------------------------------- 1 |
  • Camd3.3
  • -------------------------------------------------------------------------------- /webif/config/menu_camd35.html: -------------------------------------------------------------------------------- 1 |
  • Cs357x
  • -------------------------------------------------------------------------------- /webif/config/menu_camd35tcp.html: -------------------------------------------------------------------------------- 1 |
  • Cs378x
  • -------------------------------------------------------------------------------- /webif/config/menu_cccam.html: -------------------------------------------------------------------------------- 1 |
  • CCcam
  • -------------------------------------------------------------------------------- /webif/config/menu_cmcaptioncwc.html: -------------------------------------------------------------------------------- 1 | / CW Cycle -------------------------------------------------------------------------------- /webif/config/menu_dvbapi.html: -------------------------------------------------------------------------------- 1 |
  • DVB-Api
  • -------------------------------------------------------------------------------- /webif/config/menu_gbox.html: -------------------------------------------------------------------------------- 1 |
  • GBox
  • -------------------------------------------------------------------------------- /webif/config/menu_lcd.html: -------------------------------------------------------------------------------- 1 |
  • LCD
  • -------------------------------------------------------------------------------- /webif/config/menu_loadbalancer.html: -------------------------------------------------------------------------------- 1 |
  • Loadbalancer
  • -------------------------------------------------------------------------------- /webif/config/menu_monitor.html: -------------------------------------------------------------------------------- 1 |
  • Monitor
  • -------------------------------------------------------------------------------- /webif/config/menu_newcamd.html: -------------------------------------------------------------------------------- 1 |
  • Newcamd
  • -------------------------------------------------------------------------------- /webif/config/menu_radegast.html: -------------------------------------------------------------------------------- 1 |
  • Radegast
  • -------------------------------------------------------------------------------- /webif/config/menu_scam.html: -------------------------------------------------------------------------------- 1 |
  • Scam
  • -------------------------------------------------------------------------------- /webif/config/menu_serial.html: -------------------------------------------------------------------------------- 1 |
  • Serial
  • -------------------------------------------------------------------------------- /webif/config/menu_streamrelay.html: -------------------------------------------------------------------------------- 1 |
  • Stream Relay
  • 2 | -------------------------------------------------------------------------------- /webif/config/monitor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 19 | 20 | -------------------------------------------------------------------------------- /webif/config/newcamd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    Edit Monitor Config
    Port:
    Serverip:
    No crypt:
    Au low: min
    Hide client to: s
    Monlevel: 18 |
    5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /webif/config/radegast.html: -------------------------------------------------------------------------------- 1 | 2 |
    Edit Newcamd Config
    Port:
    Serverip:
    Key:
    Allowed:
    Keepalive:
    Mgclient:
    3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /webif/config/scam.html: -------------------------------------------------------------------------------- 1 | 2 |
    Edit Radegast Config
    Port:
    Serverip:
    User:
    Allowed:
    3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /webif/config/serial.html: -------------------------------------------------------------------------------- 1 | 2 |
    Edit Scam Config
    Port:
    Serverip:
    Allowed:
    3 | 4 | ##DEVICES## 5 | -------------------------------------------------------------------------------- /webif/config/serial_devices.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/config/webif_httpssl.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /webif/config/webif_show_jquery.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/config/webif_showcacheexinfo.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/emm_running/emm_running.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | ##TPLMESSAGE## 4 | 7 | 8 | 9 |
    Edit Serial Config
    Device:
    SSL
    SSL Certificate:
    Force secure HTTPS mode:
    jQuery Source:
    10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 |
    Selected reader : ##READER##
    System:##SYSTEM##
    CAID:##CAID##
    SINGLE EMM
    EMM:
    Size: ##SIZE##
    EMM FILE
    File path:
    File size: ##FSIZE##
    Num of read lines: ##NUMRLINE##
    Lines with errors: ##ERRLINE##
    Num of written EMMs: ##NUMWEMM##
    23 | 24 | ##TPLFOOTER## 25 | -------------------------------------------------------------------------------- /webif/entitlements/entitlements.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | ##TPLMESSAGE## 4 | 9 | ##ENTITLEMENTCONTENT## 10 | ##TPLFOOTER## 11 | -------------------------------------------------------------------------------- /webif/entitlements/entitlements_bit.html: -------------------------------------------------------------------------------- 1 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ##ENTITLEMENTCONTENTNDS## 18 | 19 | ##READERENTENTRY## 20 |
    CardsystemValid ToIRD ID (nagra)MaturityProvider
    ##READERCSYSTEM####READERCARDVALIDTO####READERIRDID####READERMATURITY####READERPROVIDS##
    SerialRomATR
    ##READERROM####READERATR##
    TypeCaidProvidIDClassStart DateExpire DateName
    21 | -------------------------------------------------------------------------------- /webif/entitlements/entitlements_bit_nds.html: -------------------------------------------------------------------------------- 1 | Country Code (NDS)Region Code (NDS)Pin (NDS)Credit (NDS)Fuse (NDS)Payload (NDS) 0F 06 2 | ##READERCOUNTRYC####READER_RCODE####READERPIN####READERCREDIT####READERFUSE####READERPAYLOAD## 3 | -------------------------------------------------------------------------------- /webif/entitlements/entitlements_cccambit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | ##CCCAMSTATSENTRY## 4 |
    HostCaidSystemTypeShare idRemote idUphopsReshareProvidersNodesGood sidsBad sids
    5 |
    ##TOTALS##
    6 |
    ##CONTROLS##
    7 | -------------------------------------------------------------------------------- /webif/entitlements/entitlements_cccambit_statsentry.html: -------------------------------------------------------------------------------- 1 | ##HOST####CAID####SYSTEM####CARDTYPE####SHAREID####REMOTEID####UPHOPS####MAXDOWN####PROVIDERS####NODES####SERVICESGOOD####SERVICESBAD## 2 | -------------------------------------------------------------------------------- /webif/entitlements/entitlements_genericbit.html: -------------------------------------------------------------------------------- 1 |
    2 | ##LOGSUMMARY## 3 | ##LOGHISTORY## 4 |
    5 | -------------------------------------------------------------------------------- /webif/entitlements/entitlements_itembit.html: -------------------------------------------------------------------------------- 1 | ##ENTTYPE####ENTCAID####ENTPROVID####ENTID####ENTCLASS####ENTSTARTDATE####ENTENDDATE####ENTRESNAME## 2 | -------------------------------------------------------------------------------- /webif/failban/failban.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | ##TPLMESSAGE## 4 | 9 | 10 | 11 | 12 | ##FAILBANROW## 13 |
    List of banned IP Addresses
    UserIP AddressViolation dateViolation countLeft ban timeAction
    14 | ##TPLFOOTER## -------------------------------------------------------------------------------- /webif/failban/failban_failbanrow.html: -------------------------------------------------------------------------------- 1 | ##VIOLATIONUSER####IPADDRESS####VIOLATIONDATE####VIOLATIONCOUNT####LEFTTIME## Delete Entry 2 | -------------------------------------------------------------------------------- /webif/files/file.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | ##TPLFILEMENU## 4 | 5 |

    ##APIFILENAME##

    6 | ##TPLMESSAGE## 7 | ##SDEBUG## 8 |
    ##LOGMENU##
    9 |
    ##FILTERFORM##
    10 |
    11 | 12 | 13 |

    ##WRITEPROTECTION##

    14 |
    15 | ##TPLFOOTER## -------------------------------------------------------------------------------- /webif/files/file_edit_css.html: -------------------------------------------------------------------------------- 1 |
  • ##FILE_USER_CSS##
  • -------------------------------------------------------------------------------- /webif/files/file_filterform.html: -------------------------------------------------------------------------------- 1 |
    2 | 3 | 6 | 7 |
    8 | -------------------------------------------------------------------------------- /webif/files/file_writeprotection.html: -------------------------------------------------------------------------------- 1 | You cannot change the content of this file!
    2 | -------------------------------------------------------------------------------- /webif/files/menu_anticasc.html: -------------------------------------------------------------------------------- 1 |
  • ac log
  • 2 | -------------------------------------------------------------------------------- /webif/files/menu_constantcw.html: -------------------------------------------------------------------------------- 1 |
  • constant.cw
  • -------------------------------------------------------------------------------- /webif/files/menu_dvbapi.html: -------------------------------------------------------------------------------- 1 |
  • oscam.dvbapi
  • -------------------------------------------------------------------------------- /webif/files/menu_fakecws.html: -------------------------------------------------------------------------------- 1 |
  • oscam.fakecws
  • -------------------------------------------------------------------------------- /webif/files/menu_gbox.html: -------------------------------------------------------------------------------- 1 |
  • gbox files 2 | 15 | -------------------------------------------------------------------------------- /webif/files/menu_softcamkey.html: -------------------------------------------------------------------------------- 1 |
  • SoftCam.Key
  • 2 | -------------------------------------------------------------------------------- /webif/files/menu_twin.html: -------------------------------------------------------------------------------- 1 |
  • oscam.twin
  • -------------------------------------------------------------------------------- /webif/ghttp/autoconf.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | ##TPLMESSAGE## 4 |

    GHttp auto-configured - Ready in ##SECONDS## Seconds



    5 | ##TPLFOOTER## 6 | -------------------------------------------------------------------------------- /webif/ghttp/pre_autoconf.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | ##TPLMESSAGE## 4 |


    5 |
    Auto-configure GHttp?
    Any existing GHttp readers will be replaced.
    6 | 3 new GHttp readers will be created (2 primary and 1 fallback).
    7 |
    8 |
    9 |
    10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
    User ##USERREQ##Password ##PWDREQ##Name ##NAMEREQ##

    22 | 23 |
    24 | ##TPLFOOTER## 25 | -------------------------------------------------------------------------------- /webif/images/ICDEL.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJUcmFzaCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxyZWN0IHg9IjQiIHk9IjUiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIxNCIgaGVpZ2h0PSIzIi8+CiAgPHJlY3QgeD0iMTMuOTM4IiB5PSIzIiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iMSIgaGVpZ2h0PSIyIi8+CiAgPHJlY3QgeD0iNi45MzgiIHk9IjMiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIxIiBoZWlnaHQ9IjIiLz4KICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNi45MzggM2MwLTAuNTUgMC40NS0xIDEtMWg2YzAuNTUgMCAxIDAuNDUgMSAxSDYuOTM4eiIvPgogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNyAyMEg1VjloMTJWMjB6TTEwIDExSDh2N2gyVjExek0xNCAxMWgtMnY3aDJWMTF6Ii8+Cjwvc3ZnPgo= -------------------------------------------------------------------------------- /webif/images/ICDIS.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjIycHgiIGhlaWdodD0iMjJweCIgdmlld0JveD0iMCAwIDIyIDIyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMiAyMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xMSAzYy00LjQgMC04IDMuNi04IDhzMy42IDggOCA4IDgtMy42IDgtOFMxNS40IDMgMTEgM3pNMTEgMTYuNWMtMyAwLTUuNS0yLjUtNS41LTUuNUM1LjUgOCA4IDUuNSAxMSA1LjVTMTYuNSA4IDE2LjUgMTFDMTYuNSAxNCAxNCAxNi41IDExIDE2LjV6Ii8+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNGRkZGRkYiIGQ9Ik05LjggMTIuOGMwIDAuNyAwLjYgMS4zIDEuMyAxLjNzMS4zLTAuNiAxLjMtMS4zVjkuM0MxMi4zIDguNiAxMS43IDggMTEgOFM5LjggOC42IDkuOCA5LjNWMTIuOHoiLz48L3N2Zz4= -------------------------------------------------------------------------------- /webif/images/ICEDI.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ0VESSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHBvaW50cz0iNCwxMyAzLDE5IDksMTggIi8+CiAgPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTUgMTJsOS40MTQtOS4yNDNjMC4zODktMC4zODkgMS4wMjUtMC4zODkgMS40MTQgMGwzLjQxNSAzLjQxNWMwLjM4OSAwLjM4OSAwLjM4OSAxLjAyNSAwIDEuNDE0TDEwIDE3IDUgMTJ6Ii8+Cjwvc3ZnPg== -------------------------------------------------------------------------------- /webif/images/ICEMM.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ0VNTSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxyZWN0IHg9IjkiIHk9IjMiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI0IiBoZWlnaHQ9IjEzIi8+CiAgPHJlY3QgeD0iNSIgeT0iMTYiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIxMiIgaGVpZ2h0PSIzIi8+CiAgPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTMuNzA3IDEwLjcwN0MzLjMxOCAxMC4zMTggMy40NSAxMCA0IDEwaDNsNCA0IDMuOTU4LTRIMThjMC41NSAwIDAuNjgyIDAuMzE4IDAuMjkzIDAuNzA3TDEzIDE2SDlMMy43MDcgMTAuNzA3eiIvPgo8L3N2Zz4= -------------------------------------------------------------------------------- /webif/images/ICENA.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjIycHgiIGhlaWdodD0iMjJweCIgdmlld0JveD0iMCAwIDIyIDIyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAyMiAyMiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xMC41IDE3YzMuMyAwIDUuNi0yIDYtNC44IDAuMi0xLjctMC4zLTMuMS0xLjQtNC40IC0wLjItMC4yLTAuNC0wLjUtMC41LTAuOCAtMC4xLTAuNSAwLjItMSAwLjYtMS4yIDAuNS0wLjIgMS0wLjIgMS40IDAuMiAxLjIgMS4yIDEuOSAyLjYgMi4yIDQuMiAwLjcgNC40LTIuNSA4LjYtNyA5IC0zLjYgMC4zLTYuOS0xLjYtOC4yLTQuOSAtMS4xLTIuOC0wLjUtNi4xIDEuNy04LjIgMC41LTAuNSAxLjMtMC42IDEuNy0wLjFDNy41IDYuNiA3LjUgNy4zIDcgNy44Yy0xLjkgMi0yLjEgNS0wLjQgNy4xQzcuOCAxNi4zIDkuMiAxNyAxMC41IDE3eiIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBmaWxsPSIjRkZGRkZGIiBkPSJNOS44IDEwLjFjMCAwLjcgMC42IDEuMyAxLjMgMS4zczEuMy0wLjYgMS4zLTEuM1Y0LjZjMC0wLjctMC42LTEuMy0xLjMtMS4zUzkuOCAzLjkgOS44IDQuNlYxMC4xeiIvPjwvc3ZnPg== -------------------------------------------------------------------------------- /webif/images/ICENT.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ0VOVCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxjaXJjbGUgZmlsbD0iI0ZGRkZGRiIgY3g9IjEzIiBjeT0iNSIgcj0iMiIvPgogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNC4wMDEgOC4wODdjMCAwLTIuOTU3IDguMjc4LTMuMDc1IDguNTk0czAuMTA2IDAuODMyIDAuNjU4IDAuMzE5IDEuMjc2LTEuNTA3IDEuMzk2LTEuNTQyYzAuMjM5LTAuMDY4IDAuNzY1IDAuMDczIDAuNDU4IDAuNzI5IC0wLjQ4MyAxLjAzNS0xLjM3NSAyLjYyNS0zLjE0MiAyLjkzOCAtMS44NyAwLjMzMS00LjEtMC4zMTUtMi44NzgtMy4xMTRzMi42NDEtNi42MjMgMi42NDEtNi42MjNMOC4xNjcgOS40MjhsMC4wNzktMC45ODVMMTQuMDAxIDguMDg3eiIvPgo8L3N2Zz4= -------------------------------------------------------------------------------- /webif/images/ICHID.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ0hJRCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxyZWN0IHg9IjUiIHk9IjciIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI2IiBoZWlnaHQ9IjIiLz4KICA8Zz4KICAgIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0yMC4yOTMgMTguNzA3YzAuMzg5LTAuMzg5IDAuMzg5LTEuMDI1IDAtMS40MTRsLTUuNzQ2LTUuNzQ2Yy0wLjM4OS0wLjM4OS0wLjU1NC0xLjEzLTAuMzY2LTEuNjQ3IDAgMCAwLjMxOS0wLjg4IDAuMzE5LTEuOSAwLTMuNTktMi45MS02LjUtNi41LTYuNVMxLjUgNC40MSAxLjUgOHMyLjkxIDYuNSA2LjUgNi41YzEuMDIgMCAxLjktMC4zMTkgMS45LTAuMzE5IDAuNTE3LTAuMTg4IDEuMjU4LTAuMDIyIDEuNjQ3IDAuMzY2bDUuNzQ2IDUuNzQ2YzAuMzg5IDAuMzg5IDEuMDI1IDAuMzg5IDEuNDE0IDBMMjAuMjkzIDE4LjcwN3pNMy41IDhjMC0yLjQ4NSAyLjAxNS00LjUgNC41LTQuNXM0LjUgMi4wMTUgNC41IDQuNSAtMi4wMTUgNC41LTQuNSA0LjVTMy41IDEwLjQ4NSAzLjUgOHoiLz4KICA8L2c+Cjwvc3ZnPg== -------------------------------------------------------------------------------- /webif/images/ICKIL.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ0tJTCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxjaXJjbGUgZmlsbD0iI0ZGRkZGRiIgY3g9IjEwLjgzMyIgY3k9IjEwLjk3OSIgcj0iMiIvPgogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xMC44MzMgNy40NzljMC42MTQgMCAxLjE4MyAwLjE3MiAxLjY4NSAwLjQ1bDIuNzQ0LTQuODU2QzEzLjk5NCAyLjM4OSAxMi41NDMgMiAxMSAyIDkuMjU5IDIgNy42MzkgMi41MDIgNi4yNjIgMy4zNThMOS4wNyA3Ljk3MkM5LjU4OSA3LjY2NyAxMC4xODcgNy40NzkgMTAuODMzIDcuNDc5eiIvPgogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNC4zMzIgMTFjLTAuMDA4IDEuMjM3LTAuNjU5IDIuMzE1LTEuNjM0IDIuOTMybDIuOTE0IDQuNzg3QzE4LjIzNiAxNy4xNDYgMjAgMTQuMjgzIDIwIDExSDE0LjMzMnoiLz4KICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNNy4zMzUgMTFIMmMwIDMuMjkyIDEuNzczIDYuMTY0IDQuNDEyIDcuNzMybDIuNjc3LTQuNzM2QzguMDUgMTMuMzk1IDcuMzQzIDEyLjI4NiA3LjMzNSAxMXoiLz4KPC9zdmc+ -------------------------------------------------------------------------------- /webif/images/ICREF.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ1JFRiIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xOS45NTcgNy44NjdsLTUuODM1LTYuODc5IC0wLjkgMy4xNDJjLTEuMjI5LTAuMTMtMy44NzgtMC4zNTQtNS40MTQtMC4wNzJDNS42IDQuNDY1IDMuNjQ0IDUuNjgzIDIuMzQ0IDExLjEyM2MxLjU0Ny0yLjQ0MSAyLjU0LTMuNzgzIDQuODUzLTQuMDIgMC45OTUtMC4xMDIgMy45MjEgMC4wNTggNS4xMzUgMC4xM2wtMS4wMTEgMy41MjVMMTkuOTU3IDcuODY3eiIvPgogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xLjUzMiAxNC4wMzVsNS44MzYgNi44NzcgMC45LTMuMTRjMS4yMjggMC4xMyAzLjg3OCAwLjM1NCA1LjQxMyAwLjA3MiAyLjIwOC0wLjQwOCA0LjE2NC0xLjYyNSA1LjQ2NC03LjA2NSAtMS41NDcgMi40NDEtMi41NCAzLjc4My00Ljg1MiA0LjAyMSAtMC45OTcgMC4xMDItMy45MjItMC4wNTctNS4xMzYtMC4xM2wxLjAxLTMuNTI1TDEuNTMyIDE0LjAzNXoiLz4KPC9zdmc+ -------------------------------------------------------------------------------- /webif/images/ICRES.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ1JFUyIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxwYXRoIGZpbGw9IiNGRkZGRkYiIGQ9Ik0xNCA3aC00VjMuNWMwLTAuNTUtMC4zNi0wLjczLTAuOC0wLjRMMi44IDcuOWMtMC40NCAwLjMzLTAuNDQgMC44NyAwIDEuMmw2LjQgNC44YzAuNDQgMC4zMyAwLjggMC4xNSAwLjgtMC40VjEwaDRjMS42NTYgMCAzIDEuMzQzIDMgM3MtMS4zNDQgMy0zIDNINnYzaDhjMy4zMTMgMCA2LTIuNjg3IDYtNlMxNy4zMTMgNyAxNCA3eiIvPgo8L3N2Zz4= -------------------------------------------------------------------------------- /webif/images/ICSHW.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ1NIVyIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxyZWN0IHg9IjUiIHk9IjciIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI2IiBoZWlnaHQ9IjIiLz4KICA8cmVjdCB4PSI3IiB5PSI1IiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iMiIgaGVpZ2h0PSI2Ii8+CiAgPGc+CiAgICA8cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMjAuMjkzIDE4LjcwN2MwLjM4OS0wLjM4OSAwLjM4OS0xLjAyNSAwLTEuNDE0bC01Ljc0Ni01Ljc0NmMtMC4zODktMC4zODktMC41NTQtMS4xMy0wLjM2Ni0xLjY0NyAwIDAgMC4zMTktMC44OCAwLjMxOS0xLjkgMC0zLjU5LTIuOTEtNi41LTYuNS02LjVTMS41IDQuNDEgMS41IDhzMi45MSA2LjUgNi41IDYuNWMxLjAyIDAgMS45LTAuMzE5IDEuOS0wLjMxOSAwLjUxNy0wLjE4OCAxLjI1OC0wLjAyMiAxLjY0NyAwLjM2Nmw1Ljc0NiA1Ljc0NmMwLjM4OSAwLjM4OSAxLjAyNSAwLjM4OSAxLjQxNCAwTDIwLjI5MyAxOC43MDd6TTMuNSA4YzAtMi40ODUgMi4wMTUtNC41IDQuNS00LjVzNC41IDIuMDE1IDQuNSA0LjUgLTIuMDE1IDQuNS00LjUgNC41UzMuNSAxMC40ODUgMy41IDh6Ii8+CiAgPC9nPgo8L3N2Zz4= -------------------------------------------------------------------------------- /webif/images/ICSPAC.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schimmelreiter/oscam-smod/01bc9cdbdccee92b5a975e3549116a1519df162a/webif/images/ICSPAC.gif -------------------------------------------------------------------------------- /webif/images/ICSTA.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ1NUQSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxnPgogICAgPHBvbHlnb24gZmlsbD0iI0ZGRkZGRiIgcG9pbnRzPSI0LDE4IDQsMiAyLDIgMiwyMCAyMCwyMCAyMCwxOCAgIi8+CiAgICA8cmVjdCB4PSI5IiB5PSI1IiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iMyIgaGVpZ2h0PSIxMiIvPgogICAgPHJlY3QgeD0iMTMiIHk9IjgiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSIzIiBoZWlnaHQ9IjkiLz4KICAgIDxyZWN0IHg9IjUiIHk9IjEwIiBmaWxsPSIjRkZGRkZGIiB3aWR0aD0iMyIgaGVpZ2h0PSI3Ii8+CiAgPC9nPgo8L3N2Zz4= -------------------------------------------------------------------------------- /webif/images/ICSTART.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ0VOQSIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHBvaW50cz0iNyw1IDcsMTcgMTcsMTEgIi8+Cjwvc3ZnPg== -------------------------------------------------------------------------------- /webif/images/ICSTOP.svg: -------------------------------------------------------------------------------- 1 | data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJJQ0RJUyIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyMnB4IiBoZWlnaHQ9IjIycHgiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMjIgMjIiIHhtbDpzcGFjZT0icHJlc2VydmUiPgogIDxyZWN0IGZpbGw9Im5vbmUiIHdpZHRoPSIyMiIgaGVpZ2h0PSIyMiIvPgogIDxyZWN0IHg9IjYiIHk9IjYiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI0IiBoZWlnaHQ9IjEwIi8+CiAgPHJlY3QgeD0iMTIiIHk9IjYiIGZpbGw9IiNGRkZGRkYiIHdpZHRoPSI0IiBoZWlnaHQ9IjEwIi8+Cjwvc3ZnPg== -------------------------------------------------------------------------------- /webif/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Schimmelreiter/oscam-smod/01bc9cdbdccee92b5a975e3549116a1519df162a/webif/images/favicon.ico -------------------------------------------------------------------------------- /webif/include/body.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
    5 | ##LOGO## 6 |
    7 | -------------------------------------------------------------------------------- /webif/include/cccamentitlements.html: -------------------------------------------------------------------------------- 1 | card_count=##CCCOUNT##
    hop1=##CCCHOP1##
    hop2=##CCCHOP2##
    hopx=##CCCHOPX##
    currenthops=##CCCCURR##

    reshare0=##CCCRES0##
    reshare1=##CCCRES1##
    reshare2=##CCCRES2##
    resharex=##CCCRESX##
    -------------------------------------------------------------------------------- /webif/include/cccamentitletooltip.html: -------------------------------------------------------------------------------- 1 |
    ##CCCTMP####CCCTMPSPAN## -------------------------------------------------------------------------------- /webif/include/footer.html: -------------------------------------------------------------------------------- 1 |
    2 | 12 |
    13 | 14 | 15 | -------------------------------------------------------------------------------- /webif/include/foundentitlements.html: -------------------------------------------------------------------------------- 1 |
    ##TMP####TMPSPAN## -------------------------------------------------------------------------------- /webif/include/header.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADERSHORT## 2 | ##REFRESH## 3 | ##TPLBODY## 4 | -------------------------------------------------------------------------------- /webif/include/header_short.html: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | ##HTTPOSCAMLABEL## r##CS_SVN_VERSION## 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /webif/include/logobit.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/include/logobit_img.html: -------------------------------------------------------------------------------- 1 | OSCam Streamboard -------------------------------------------------------------------------------- /webif/include/menu.html: -------------------------------------------------------------------------------- 1 |
    2 | 15 |
    16 | 17 | -------------------------------------------------------------------------------- /webif/include/menu_cacheexmenuitem.html: -------------------------------------------------------------------------------- 1 |
  • CacheEX
  • -------------------------------------------------------------------------------- /webif/include/message.html: -------------------------------------------------------------------------------- 1 |
    ##MESSAGES##
    2 | -------------------------------------------------------------------------------- /webif/include/message_bit.html: -------------------------------------------------------------------------------- 1 | ##MESSAGE## 2 | -------------------------------------------------------------------------------- /webif/include/noentitlements.html: -------------------------------------------------------------------------------- 1 |
    (no entitlements)No active entitlements found -------------------------------------------------------------------------------- /webif/include/poll.html: -------------------------------------------------------------------------------- 1 | ##TPLJSONHEADER####DATA####TPLJSONFOOTER## 2 | -------------------------------------------------------------------------------- /webif/include/pollingset.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/include/protocamd3aiopic.html: -------------------------------------------------------------------------------- 1 | IC_##CAMD3A## -------------------------------------------------------------------------------- /webif/include/protocccampic.html: -------------------------------------------------------------------------------- 1 | IC_##CCA##_##CCB##-##CCC## -------------------------------------------------------------------------------- /webif/include/protonewcamdpic.html: -------------------------------------------------------------------------------- 1 | IC_##NCMDA##_##NCMDB## 2 | -------------------------------------------------------------------------------- /webif/include/protootherpic.html: -------------------------------------------------------------------------------- 1 | IC_##OTHER## -------------------------------------------------------------------------------- /webif/include/refresh.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/logmenu/log_clearlog.html: -------------------------------------------------------------------------------- 1 | Clear Log 2 | -------------------------------------------------------------------------------- /webif/logmenu/log_clearuserlog.html: -------------------------------------------------------------------------------- 1 | Clear Log 2 | -------------------------------------------------------------------------------- /webif/logmenu/log_disablelogmenu.html: -------------------------------------------------------------------------------- 1 | ##TEXT##  |   -------------------------------------------------------------------------------- /webif/logmenu/log_filterform.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/logmenu/log_logmenuonoff.html: -------------------------------------------------------------------------------- 1 | ##TEXT##  |   -------------------------------------------------------------------------------- /webif/logpage/logpage_menu.html: -------------------------------------------------------------------------------- 1 |
  • Live Log
  • -------------------------------------------------------------------------------- /webif/logpage/logpage_sizemenu.html: -------------------------------------------------------------------------------- 1 |
    2 | Switch displayed log lines from 512 to  3 |  32  4 |  64  5 |  128  6 |  256  7 |  512  8 |
    -------------------------------------------------------------------------------- /webif/pages_index_check: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "= Checking for files that are not described in pages_index.txt" 4 | for FILE in $(find . -name '*.html' -o -name '*.css' -o -name '*.js' -o -name '*.json' -o -name '*.xml' -o -name '*.png' -o -name '*.gif' -o -name '*.jpg' | sed -e 's|^\./||') 5 | do 6 | grep -w $FILE pages_index.txt >/dev/null 7 | if [ $? != 0 ] 8 | then 9 | echo " *** FILE NOT IN pages_index.txt: $FILE" 10 | fi 11 | done 12 | 13 | echo "= Checking for files that are in pages_index.txt but do not exist" 14 | while read TPL FILE DEPS 15 | do 16 | [ "$TPL" = "#" ] && continue 17 | if [ ! -f $FILE ] 18 | then 19 | echo " *** FILE NOT FOUND: $FILE" 20 | fi 21 | done < pages_index.txt 22 | -------------------------------------------------------------------------------- /webif/pages_mkdep: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | FILES=$(while read TPL FILE DEP ; do [ "$TPL" != "#" ] && echo $FILE ; done < pages_index.txt | sort | uniq | xargs echo) 4 | 5 | echo "pages.c: pages_index.txt pages.h $FILES" > pages.dep 6 | for FILE in pages_index.txt pages.h $FILES 7 | do 8 | echo "" 9 | echo "$FILE:" 10 | done >> pages.dep 11 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_camd35bit.html: -------------------------------------------------------------------------------- 1 | User: 2 | Password: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_cs378xbit.html: -------------------------------------------------------------------------------- 1 | User: 2 | Password: 3 | Inactivity timeout: s default 0 4 | Reconnect timeout: s 5 | Keepalive: -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_emubit.html: -------------------------------------------------------------------------------- 1 | AU providers: 2 | [BISS] Enable date-coded keys: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_gboxcccresharebit.html: -------------------------------------------------------------------------------- 1 | 2 | CCcam -> gbox reshare level: set: -1 to disable resharing    Upper Limit is value of 'Locals reshare' 3 | CCcam -> Gbox reshare filter:Set Ident of ccc cards you want to share. If no entry, all available ccc crds are shared

    4 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_ghttpbit.html: -------------------------------------------------------------------------------- 1 | User: 2 | Password: 3 | Use SSL (HTTPS): -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hopbit.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for Cccam 2 | CCC Hop: 3 | Reshare: If this parameter = -1 The value off Global CCCam Reshare ##RESHARE## is used. 4 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_boxkey.html: -------------------------------------------------------------------------------- 1 | Boxkey: Only for Nagra, Irdeto, Seca and Viaccess 2 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_conax.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for Conax 2 | CWPK: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_cryptoworks.html: -------------------------------------------------------------------------------- 1 | Reader specific Settings for Cryptoworks 2 | Last stored global EMM to be written before shared EMM: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_deskey.html: -------------------------------------------------------------------------------- 1 | 3DES or DES Key:
    Only for Viaccess and Drecrypt 2 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_dre.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for DRE 2 | exec_cmd_file: 3 | stmkeys: 4 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_irdeto.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for Irdeto 2 | Force Irdeto: 3 | Needs EMM before descramble: 4 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_jet.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for DVN JETCAS 2 | 3 | Authorize ID: 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_nagra.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for Nagra 2 | Read Nagra Records: 3 | 4 | 9 | 10 | 11 | Detect tunneled Seca cards: 12 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_nano.html: -------------------------------------------------------------------------------- 1 | Readnano: 2 | Blocknano: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_pincode.html: -------------------------------------------------------------------------------- 1 | Pincode: Only for Conax, Cryptoworks, Seca and Viaccess SCs 2 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_rsakey.html: -------------------------------------------------------------------------------- 1 | RSA Key:
    Only for Nagra, Tiger, Irdeto and Conax 2 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_sc8in1.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for SC8in1 2 | SC8in1 DTR/RTS Patch: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_smargo.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for Smargo and Smartreader 2 | Smargopatch: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_tongfang.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for TongFang 2 | 3 | CalibSN for TONGFANG v3: 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_hwreader_viaccess.html: -------------------------------------------------------------------------------- 1 | Reader specific settings for Viaccess 2 | AES Keys: 3 | Class: 4 | Read old classes: 5 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_lbweight.html: -------------------------------------------------------------------------------- 1 | LB Force Fallback: 2 | Loadbalance weight: 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_ncd524bit.html: -------------------------------------------------------------------------------- 1 | AU NAGRA type: 2 | 3 | 8 | 9 | 10 | User: 11 | Password: 12 | Key: 13 | Connect on init: 14 | Inactivity timeout: s 15 | Disable server Filter: 16 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_ncd525bit.html: -------------------------------------------------------------------------------- 1 | AU NAGRA type: 2 | 3 | 8 | 9 | 10 | User: 11 | Password: 12 | Key: 13 | Connect on init: 14 | Inactivity timeout: s 15 | Disable server Filter: 16 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_radegastbit.html: -------------------------------------------------------------------------------- 1 | User: 2 | Password: 3 | Inactivity timeout: s 4 | Reconnect timeout: s 5 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_scambit.html: -------------------------------------------------------------------------------- 1 | User: 2 | Password: 3 | Inactivity timeout: s 4 | Reconnect timeout: s 5 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_sid.html: -------------------------------------------------------------------------------- 1 | Reader services settings 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ##SIDS## 11 |
    With_Services:Not_Services:LB_Whitelist_Services:
    12 | 13 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_sidlbokbit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_sidnobit.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/readerconfig/readerconfig_sidokbit.html: -------------------------------------------------------------------------------- 1 | 2 | Edit Service ##SIDLABEL## 3 | 4 | -------------------------------------------------------------------------------- /webif/readers/readerctypbit.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/readers/readerctypnoicon.html: -------------------------------------------------------------------------------- 1 | ##CLIENTPROTO## 2 | -------------------------------------------------------------------------------- /webif/readers/readerlabel.html: -------------------------------------------------------------------------------- 1 | ##READERNAME## -------------------------------------------------------------------------------- /webif/readers/readernamebit.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/readers/readernoicon.html: -------------------------------------------------------------------------------- 1 | ##READERNAME## -------------------------------------------------------------------------------- /webif/readers/readers_lblweightbit.html: -------------------------------------------------------------------------------- 1 | ##LBWEIGHT## -------------------------------------------------------------------------------- /webif/readers/readers_lblweightd.html: -------------------------------------------------------------------------------- 1 | Weight -------------------------------------------------------------------------------- /webif/readers/readers_lblweightu.html: -------------------------------------------------------------------------------- 1 | LB -------------------------------------------------------------------------------- /webif/readers/readers_readerlist_entitlement.html: -------------------------------------------------------------------------------- 1 | Show Entitlement 2 | -------------------------------------------------------------------------------- /webif/readers/readers_readerlist_lbstat.html: -------------------------------------------------------------------------------- 1 | Loadbalancer statistics -------------------------------------------------------------------------------- /webif/readers/readers_readerlist_refresh.html: -------------------------------------------------------------------------------- 1 | Reset and reload Entitlement 2 | -------------------------------------------------------------------------------- /webif/readers/readers_readerlist_writeemm.html: -------------------------------------------------------------------------------- 1 | Write EMM 2 | -------------------------------------------------------------------------------- /webif/readerstats/readerstats_nostats.html: -------------------------------------------------------------------------------- 1 | 2 | No statistics found 3 | -------------------------------------------------------------------------------- /webif/readerstats/readerstats_statsbit.html: -------------------------------------------------------------------------------- 1 | ##CHANNEL####CHANNELNAME####ECMLEN####RC####TIME####TIMELAST####COUNT####LAST## Delete '##CHANNELNAME##' Entry 2 | -------------------------------------------------------------------------------- /webif/readerstats/readerstatsinvalid.html: -------------------------------------------------------------------------------- 1 | 2 | Invalid 3 | Hide Invalid Delete all Invalid 4 | -------------------------------------------------------------------------------- /webif/readerstats/readerstatsnotfound.html: -------------------------------------------------------------------------------- 1 | 2 | Not found 3 | Hide Not found Delete all Not found 4 | -------------------------------------------------------------------------------- /webif/readerstats/readerstatsrowbit.html: -------------------------------------------------------------------------------- 1 | No statistics found - Reader exist and active? -------------------------------------------------------------------------------- /webif/readerstats/readerstatstimeoutbit.html: -------------------------------------------------------------------------------- 1 | 2 | Timeout 3 | Hide Timeout Delete all Timeout 4 | -------------------------------------------------------------------------------- /webif/savetemplates/savetemplates.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADERSHORT## 2 | 3 | ##TPLBODY## 4 | 5 |


    Saved ##CNT## templates to ##PATH##


    6 | ##TPLFOOTER## 7 | -------------------------------------------------------------------------------- /webif/scanusb/scanusb.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | 8 | ##TPLMESSAGE## 9 | 10 | 11 | ##USBBIT## 12 |
    USB Devices
    13 | ##TPLFOOTER## 14 | -------------------------------------------------------------------------------- /webif/scanusb/scanusb_usbbit.html: -------------------------------------------------------------------------------- 1 | ##USBENTRY## 2 | -------------------------------------------------------------------------------- /webif/script/script.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | 6 | ##TPLMESSAGE## 7 | 24 |

    OSCam execute script:

    25 |
    26 | 29 | 30 | 31 |
    32 |

    ##SCRIPTNAME## ##CODE##

    33 |
    34 |

    Script Output: (if available)

    35 |
    ##SCRIPTRESULTOUT##
    36 |
    37 | ##TPLFOOTER## 38 | -------------------------------------------------------------------------------- /webif/services/services.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 | 6 | ##TPLMESSAGE## 7 |
    8 |
    9 | 10 | 11 | 12 | 13 |
    Service Name:
    14 |
    15 |
    16 | 17 | 18 | 19 | 20 | 21 | 22 | ##SERVICETABS## 23 |
    LabelOverviewAction
    24 | ##TPLFOOTER## 25 | -------------------------------------------------------------------------------- /webif/services/services_servicetabs.html: -------------------------------------------------------------------------------- 1 | 2 | ##LABEL## 3 | 4 | ##SIDLIST## 5 | 6 | Edit Service ##LABEL## 7 | Delete Service ##LABEL## 8 | 9 | -------------------------------------------------------------------------------- /webif/services/services_servicetabs_sidlist.html: -------------------------------------------------------------------------------- 1 |
    ##SID##
    2 | -------------------------------------------------------------------------------- /webif/services_edit/services_edit.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADERSHORT## 2 | 5 | ##TPLBODY## 6 | ##TPLMENU## 7 | 8 | ##TPLMESSAGE## 9 |
    10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
    Edit Service ##LABEL##
    Caid:
    Provid:
    Srvid:
    19 |
    20 | ##TPLFOOTER## 21 | -------------------------------------------------------------------------------- /webif/shutdown/pre_shutdown.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADER## 2 | ##TPLMENU## 3 |
    4 | All current users will be disconnected if you shutdown or restart OSCam!

    5 | When you use "Shutdown" you'll not be able to start OSCam again from this web interface!
    6 | The interface would try reload itself a few seconds after shutdown/restart.
    7 |

    Do you really want to shutdown/restart OSCam?

    8 |
    9 |
    10 | 11 | 12 |
    13 | ##TPLFOOTER## 14 | -------------------------------------------------------------------------------- /webif/shutdown/shutdown.html: -------------------------------------------------------------------------------- 1 | ##TPLHEADERSHORT## 2 | 3 | ##TPLBODY## 4 | 5 | ##TPLFOOTER## 6 | -------------------------------------------------------------------------------- /webif/status/status_cacheexaioinfo.html: -------------------------------------------------------------------------------- 1 | 2 | CACHEEX info 3 | 4 | Total 5 | push ##TOTAL_CACHEXPUSH_IMG## ##TOTAL_CACHEXPUSH## 6 | got ##TOTAL_CACHEXGOT_IMG## ##TOTAL_CACHEXGOT## 7 | hit: ##TOTAL_CACHEXHIT## (##REL_CACHEXHIT## %) 8 | size: ##TOTAL_CACHESIZE## 9 | size lg: ##TOTAL_CACHESIZE_LG## 10 | 11 | -------------------------------------------------------------------------------- /webif/status/status_cacheexinfo.html: -------------------------------------------------------------------------------- 1 | 2 | CACHEEX info 3 | 4 | Total 5 | push ##TOTAL_CACHEXPUSH_IMG## ##TOTAL_CACHEXPUSH## 6 | got ##TOTAL_CACHEXGOT_IMG## ##TOTAL_CACHEXGOT## 7 | hit: ##TOTAL_CACHEXHIT## (##REL_CACHEXHIT## %) 8 | size: ##TOTAL_CACHESIZE## 9 | 10 | -------------------------------------------------------------------------------- /webif/status/status_cheadline.html: -------------------------------------------------------------------------------- 1 |

    Clients ##UCS##/##UCA####CHEADADD##

    -------------------------------------------------------------------------------- /webif/status/status_cheadlineadd.html: -------------------------------------------------------------------------------- 1 | (##UCAC## with ECM within last ##CFGH## seconds) -------------------------------------------------------------------------------- /webif/status/status_clientheadlinebit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /webif/status/status_clientstatusbit.html: -------------------------------------------------------------------------------- 1 | 2 | ##HIDEIDX## 3 | ##CSIDX## 4 | ##STATUSUSERICON## 5 | ##CLIENTCAUHTTP## 6 | ##CLIENTIP## 7 | ##CLIENTPORT## 8 | ##CLIENTPROTO## 9 | ##CLIENTSRVID##:##CLIENTCAID##@##CLIENTPROVID## 10 | ##CURRENTPICON## 11 | ##CLIENTLBVALUE## 12 | ##CLIENTLOGINDATE## 13 | ##CLIENTCON## 14 | 15 | -------------------------------------------------------------------------------- /webif/status/status_currentchannel.html: -------------------------------------------------------------------------------- 1 | ##CLIENTSRVNAME####CLIENTSRVPROVIDER## -------------------------------------------------------------------------------- /webif/status/status_currentchannelbit.html: -------------------------------------------------------------------------------- 1 | ##CLIENTSRVNAME####CLIENTSRVPROVIDER## -------------------------------------------------------------------------------- /webif/status/status_currentchannelpic.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/status/status_headline.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | ##XHEAD##
    ##CLIENTOPTIONADD##
    4 | 5 | -------------------------------------------------------------------------------- /webif/status/status_hidebutton.html: -------------------------------------------------------------------------------- 1 | Hide -------------------------------------------------------------------------------- /webif/status/status_killbutton.html: -------------------------------------------------------------------------------- 1 | Kill -------------------------------------------------------------------------------- /webif/status/status_lblvaluereaderbit.html: -------------------------------------------------------------------------------- 1 | ##LBLVALUE## (##MSVALUE## ms) -------------------------------------------------------------------------------- /webif/status/status_lbvaluereaderproxy.html: -------------------------------------------------------------------------------- 1 | ##LBLRPSTRVALUE## -------------------------------------------------------------------------------- /webif/status/status_loghistory.html: -------------------------------------------------------------------------------- 1 |
    2 | ##LOGHISTORY## 3 |
    4 | 8 | ##SDEBUG## -------------------------------------------------------------------------------- /webif/status/status_mheadline.html: -------------------------------------------------------------------------------- 1 | & Monitors ##MCS##/##MCA## -------------------------------------------------------------------------------- /webif/status/status_pheadline.html: -------------------------------------------------------------------------------- 1 |

    Proxies ##PCC##/##PCA## ##PHEADADD##

    -------------------------------------------------------------------------------- /webif/status/status_pheadlineadd.html: -------------------------------------------------------------------------------- 1 | (##PCO## of ##PCA## online) -------------------------------------------------------------------------------- /webif/status/status_reader.html: -------------------------------------------------------------------------------- 1 | ##READERNAME## -------------------------------------------------------------------------------- /webif/status/status_readericon.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/status/status_restartbutton.html: -------------------------------------------------------------------------------- 1 | Restart 2 | -------------------------------------------------------------------------------- /webif/status/status_rheadline.html: -------------------------------------------------------------------------------- 1 |

    Readers ##RCC##/##RCA## ##RHEADADD##

    2 | -------------------------------------------------------------------------------- /webif/status/status_rheadlineadd.html: -------------------------------------------------------------------------------- 1 | (##RCO## of ##RCA## CARDOK) -------------------------------------------------------------------------------- /webif/status/status_sheadline.html: -------------------------------------------------------------------------------- 1 |

    Server ##SCS##/##SCA####MHEADADD##

    -------------------------------------------------------------------------------- /webif/status/status_user.html: -------------------------------------------------------------------------------- 1 | ##USERNAME## -------------------------------------------------------------------------------- /webif/status/status_usericon.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webif/touch/css.css: -------------------------------------------------------------------------------- 1 | .ui-icon-user {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAANCAYAAAB2HjRBAAAABHNCSVQICAgIfAhkiAAAAGVJREFUKJHdkDsOhFAMA52nFfc/bwoPxfLYDyiBFjeRoowVjfS4LJJkGwDb/B9ERdsm4nMCaIyxL0bBlsUdfHjzDqzMFLw7AGVm1/ebStirYWMK2+a3B06lMH9tWg/wFXCmFNZlBcdONMu9B5MRAAAAAElFTkSuQmCC) rgba(33,33,33,0.4) no-repeat !important} 2 | .ui-icon-card {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAQCAYAAAAWGF8bAAAABHNCSVQICAgIfAhkiAAAAHNJREFUOI3tk0EOgCAMBKdGP+D//+jdg/UiirSBGvTmJptAyk5aAvCh5sNdGor9AmjQk9dACdxUIRmudWlg9TqUbK0JchblArthMQxG50At3NQN6HX4pA72DrsVHjlSN8B/5O6RJfrWMphJeIjK32hm39cOo4QxPTQoDVkAAAAASUVORK5CYII=) rgba(33,33,33,0.4) !important} 3 | .ui-icon-play {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAEZJREFUOI3dzLsVACAIQ9HgfI7rfthz+AS1MnXeBf7dVCjzG7dICjBICVQIBWQIDURIC/CQNrAEcgzYuAV4MQ1EMQVk8ZNtenETq5uwOdUAAAAASUVORK5CYII=) rgba(33,33,33,0.4) !important} 4 | .ui-icon-stop {background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAACRJREFUOI1jYBgFjOgC/xkY/hOpkZGBgYGBiVIXjBowasDgAAAaJAIUw/Ru+wAAAABJRU5ErkJggg==) rgba(33,33,33,0.4) !important} 5 | -------------------------------------------------------------------------------- /webif/user_edit/user_edit_cwcycle.html: -------------------------------------------------------------------------------- 1 | CW Cycle Check 2 | Disable Cycle Check: 3 | -------------------------------------------------------------------------------- /webif/user_edit/user_edit_monlevel.html: -------------------------------------------------------------------------------- 1 | Monlevel: 2 | 3 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /webif/user_edit/user_edit_sid.html: -------------------------------------------------------------------------------- 1 | User services settings 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ##SIDS## 10 |
    With_Services:Not_Services:
    11 | 12 | -------------------------------------------------------------------------------- /webif/user_edit/user_edit_sidnobit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /webif/user_edit/user_edit_sidokbit.html: -------------------------------------------------------------------------------- 1 | 2 | Edit Service ##SIDLABEL## 3 | 4 | -------------------------------------------------------------------------------- /webif/userconfig/userconfig_anticascbit.html: -------------------------------------------------------------------------------- 1 | AntiCasc -------------------------------------------------------------------------------- /webif/userconfig/userconfig_cwanticascthv.html: -------------------------------------------------------------------------------- 1 | CW
    Rate 2 | CASC
    USERS 3 | -------------------------------------------------------------------------------- /webif/userconfig/userconfig_cwcyclebit.html: -------------------------------------------------------------------------------- 1 | CW Cycle -------------------------------------------------------------------------------- /webif/userconfig/userconfig_cwcyclethv.html: -------------------------------------------------------------------------------- 1 | All / OK / NOK / IGN -------------------------------------------------------------------------------- /webif/userconfig/userconfig_entry_cwanticasctbv.html: -------------------------------------------------------------------------------- 1 | ##CWRATE####CWRATE2## 2 | ##CASCUSERSCOMB## 3 | -------------------------------------------------------------------------------- /webif/userconfig/userconfig_entry_cwcycletbv.html: -------------------------------------------------------------------------------- 1 | ##CWCYCLECHECKED## / ##CWCYCLEOK## / ##CWCYCLENOK## / ##CWCYCLEIGN## 2 | -------------------------------------------------------------------------------- /webif/userconfig/userconfig_lastchannelicon.html: -------------------------------------------------------------------------------- 1 | ##LCB## -------------------------------------------------------------------------------- /webif/userconfig/userconfig_newuserform.html: -------------------------------------------------------------------------------- 1 | 2 |
    3 |   4 | New User:      5 | 6 |
    7 | 8 | -------------------------------------------------------------------------------- /webif/userconfig/userconfig_notify.html: -------------------------------------------------------------------------------- 1 | ##UNOTIFY## -------------------------------------------------------------------------------- /webif/userconfig/userconfig_usericon.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /webif/userconfig/userconfig_userlabel.html: -------------------------------------------------------------------------------- 1 | ##USERNAME## -------------------------------------------------------------------------------- /webif/userconfig/userconfig_usernoicon.html: -------------------------------------------------------------------------------- 1 | ##USERNAME## --------------------------------------------------------------------------------