repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/team-audit/index.php
backend/modules/frontend/views/team-audit/index.php
<?php use app\modules\frontend\models\TeamAudit; use yii\helpers\Html; use yii\helpers\Url; use yii\grid\ActionColumn; use yii\grid\GridView; use yii\widgets\Pjax; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\TeamAuditSearch $searchModel */ /** @var yii\data\ActiveDataProvider $dataProvider */ ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/team-audit/_search.php
backend/modules/frontend/views/team-audit/_search.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\TeamAuditSearch $model */ /** @var yii\widgets\ActiveForm $form */ ?> <div class="team-audit-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => '...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/team-audit/update.php
backend/modules/frontend/views/team-audit/update.php
<?php use yii\helpers\Html; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\TeamAudit $model */ $this->title = Yii::t('app', 'Update Team Audit: {name}', [ 'name' => $model->id, ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Team Audits'), 'url' => ['index']]; $this->params['...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/team-audit/create.php
backend/modules/frontend/views/team-audit/create.php
<?php use yii\helpers\Html; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\TeamAudit $model */ $this->title = Yii::t('app', 'Create Team Audit'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Team Audits'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; yii\boo...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/team-audit/help/index.php
backend/modules/frontend/views/team-audit/help/index.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/team-audit/help/update.php
backend/modules/frontend/views/team-audit/help/update.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/team-audit/help/create.php
backend/modules/frontend/views/team-audit/help/create.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/_form.php
backend/modules/frontend/views/player-last/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\activity\models\PlayerLast */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="player-last-form"> <?php $form=ActiveForm::begin();?> <?= $form->field($model, 'on_pui')->textInput() ?> ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/view.php
backend/modules/frontend/views/player-last/view.php
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\modules\activity\models\PlayerLast */ $this->title=$model->id; $this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Player Lasts'), 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; \yii\web\...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/index.php
backend/modules/frontend/views/player-last/index.php
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\activity\models\PlayerLastSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title=Yii::t('app', 'Players Last activity'); $this->params['breadcrumbs'][] = ['label' => $this->title, 'u...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/_search.php
backend/modules/frontend/views/player-last/_search.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\activity\models\PlayerLastSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="player-last-search"> <?php $form=ActiveForm::begin([ 'action' => ['index'], 'method' => 'get...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/update.php
backend/modules/frontend/views/player-last/update.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\activity\models\PlayerLast */ $this->title=Yii::t('app', 'Update Player Last: {name}', [ 'name' => $model->id, ]); $this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Player Lasts'), 'url' => ['index']]; $this->params['bre...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/create.php
backend/modules/frontend/views/player-last/create.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\activity\models\PlayerLast */ $this->title=Yii::t('app', 'Create Player Last'); $this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Player Lasts'), 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; yii\bootstra...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/help/index.php
backend/modules/frontend/views/player-last/help/index.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/help/update.php
backend/modules/frontend/views/player-last/help/update.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-last/help/create.php
backend/modules/frontend/views/player-last/help/create.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/_form.php
backend/modules/frontend/views/player/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\frontend\models\Player */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="player-form"> <?php $form=ActiveForm::begin();?> <?= $form->field($model, 'username')->textInput(['maxlength' =>...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/fail-validation.php
backend/modules/frontend/views/player/fail-validation.php
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\frontend\models\PlayerSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = ucfirst(Yii::$app->controller->module->id) . ' / ' . ucfirst(Yii::$app->controller->id); $this->params['...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/view.php
backend/modules/frontend/views/player/view.php
<?php use yii\helpers\Html; use yii\widgets\DetailView; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $model app\modules\frontend\models\Player */ $this->title = sprintf("View player [ID:%d] %s details", $model->id, $model->username); $this->params['breadcrumbs'][] = ucfirst(Yii::$app->controller->mod...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/index.php
backend/modules/frontend/views/player/index.php
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\frontend\models\PlayerSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = ucfirst(Yii::$app->controller->module->id) . ' / ' . ucfirst(Yii::$app->controller->id); $this->params['...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/_search.php
backend/modules/frontend/views/player/_search.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\frontend\models\PlayerSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="player-search"> <?php $form=ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ])...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/graphs.php
backend/modules/frontend/views/player/graphs.php
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\helpers\ArrayHelper; /* @var $this yii\web\View */ /* @var $searchModel app\modules\frontend\models\PlayerSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title=ucfirst(Yii::$app->controller->module->id).' / '.ucfirst(Yii::$app->controller...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/update.php
backend/modules/frontend/views/player/update.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\frontend\models\Player */ $this->title='Update Player: '.$model->id; $this->params['breadcrumbs'][]=ucfirst(Yii::$app->controller->module->id); $this->params['breadcrumbs'][]=['label' => 'Players', 'url' => ['index']]; $this->params...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/import.php
backend/modules/frontend/views/player/import.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; $this->title='Import Players'; $this->params['breadcrumbs'][]=['label' => 'Players', 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; ?> <div class="player-import"> <h1><?= Html::encode($this->title) ?></h1> <div class="player-import-for...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/create.php
backend/modules/frontend/views/player/create.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\frontend\models\Player */ $this->title='Create Player'; $this->params['breadcrumbs'][]=['label' => 'Players', 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; yii\bootstrap5\Modal::begin([ 'title' => '<h2><i cla...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/ovpn.php
backend/modules/frontend/views/player/ovpn.php
client nobind proto udp dev tun compress verb 1 mssfix 1460 cipher AES-128-GCM data-ciphers AES-128-GCM auth SHA256 auth-nocache mute-replay-warnings remote-cert-tls server remote <?php echo Yii::$app->sys->vpngw;?> 1194 udp <key> <?php echo $model->privkey;?> </key> <cert> <?php echo $model->crt;?> </cert> <ca> <?p...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/help/fail-validation.php
backend/modules/frontend/views/player/help/fail-validation.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/help/index.php
backend/modules/frontend/views/player/help/index.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/help/update.php
backend/modules/frontend/views/player/help/update.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player/help/create.php
backend/modules/frontend/views/player/help/create.php
<p>Comming soon...</p>
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/_form.php
backend/modules/frontend/views/player-metadata/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use app\widgets\sleifer\autocompleteAjax\AutocompleteAjax; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\PlayerMetadata $model */ /** @var yii\widgets\ActiveForm $form */ ?> <div class="player-metadata-form"> <?php $form = ActiveForm:...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/view.php
backend/modules/frontend/views/player-metadata/view.php
<?php use yii\helpers\Html; use yii\widgets\DetailView; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\PlayerMetadata $model */ $this->title = $model->player_id; $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Metadatas'), 'url' => ['index']]; $this->params['breadcrumbs'][] = ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/index.php
backend/modules/frontend/views/player-metadata/index.php
<?php use app\modules\frontend\models\PlayerMetadata; use yii\helpers\Html; use yii\helpers\Url; use yii\grid\ActionColumn; use yii\grid\GridView; use yii\widgets\Pjax; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\PlayerMetadataSearch $searchModel */ /** @var yii\data\ActiveDataProvider $dataPro...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/_search.php
backend/modules/frontend/views/player-metadata/_search.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\PlayerMetadataSearch $model */ /** @var yii\widgets\ActiveForm $form */ ?> <div class="player-metadata-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'me...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/update.php
backend/modules/frontend/views/player-metadata/update.php
<?php use yii\helpers\Html; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\PlayerMetadata $model */ $this->title = Yii::t('app', 'Update Player Metadata: {name}', [ 'name' => $model->player_id, ]); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Metadatas'), 'url' => ['ind...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/create.php
backend/modules/frontend/views/player-metadata/create.php
<?php use yii\helpers\Html; /** @var yii\web\View $this */ /** @var app\modules\frontend\models\PlayerMetadata $model */ $this->title = Yii::t('app', 'Create Player Metadata'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Player Metadatas'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this-...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/help/index.php
backend/modules/frontend/views/player-metadata/help/index.php
Manage Player metadata details. Metadata details include affiliation and optional identity files that the player provide during registration. The displayed fields include: * `Player ID`: The player id this record belongs to * `Username`: The player username * `Identification File`: The identification file that the us...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/help/update.php
backend/modules/frontend/views/player-metadata/help/update.php
Update a Player metadata entry Metadata details include affiliation and optional identity files that the player provide during registration. The form fields include: * `Player ID`: The player id this record belongs to * `Identification File`: The identification file that the user uploaded during registration * `Affil...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/frontend/views/player-metadata/help/create.php
backend/modules/frontend/views/player-metadata/help/create.php
Create a Player metadata entry Metadata details include affiliation and optional identity files that the player provide during registration. The form fields include: * `Player ID`: The player id this record belongs to * `Identification File`: The identification file that the user uploaded during registration * `Affil...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/Module.php
backend/modules/restapi/Module.php
<?php namespace app\modules\restapi; use yii\filters\auth\CompositeAuth; use yii\filters\auth\HttpBearerAuth; use yii\filters\auth\QueryParamAuth; /** * restapi module definition class */ class Module extends \yii\base\Module { /** * {@inheritdoc} */ public $controllerNamespace='app\modules\restap...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/FindingController.php
backend/modules/restapi/controllers/FindingController.php
<?php namespace app\modules\restapi\controllers; use Yii; use yii\helpers\Url; use yii\rest\ActiveController; use yii\web\ServerErrorHttpException; class FindingController extends ActiveController { public $modelClass='app\modules\gameplay\models\Finding'; public function actions() { $actions = pa...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/TargetController.php
backend/modules/restapi/controllers/TargetController.php
<?php namespace app\modules\restapi\controllers; use yii\rest\ActiveController; class TargetController extends ActiveController { public $modelClass='app\modules\gameplay\models\Target'; public function actionAddToNetwork($id,$codename) { if(($network=\app\modules\gameplay\models\Network::findOne([...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/TargetMetadataController.php
backend/modules/restapi/controllers/TargetMetadataController.php
<?php namespace app\modules\restapi\controllers; use yii\rest\ActiveController; use Yii; use yii\web\ServerErrorHttpException; use yii\helpers\Url; class TargetMetadataController extends ActiveController { public $modelClass='app\modules\infrastructure\models\TargetMetadata'; public function actions() { ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/TreasureController.php
backend/modules/restapi/controllers/TreasureController.php
<?php namespace app\modules\restapi\controllers; use yii\rest\ActiveController; use Yii; class TreasureController extends ActiveController { public $modelClass='app\modules\gameplay\models\Treasure'; public function actionCreateWithActions() { \Yii::$app->response->format=\yii\web\Response:: FORMAT_J...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/TargetOndemandController.php
backend/modules/restapi/controllers/TargetOndemandController.php
<?php namespace app\modules\restapi\controllers; use Yii; use yii\web\ServerErrorHttpException; use yii\helpers\Url; class TargetOndemandController extends \yii\rest\ActiveController { public $modelClass='app\modules\gameplay\models\TargetOndemand'; public function actions() { $actions = parent::...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/NetworkTargetScheduleController.php
backend/modules/restapi/controllers/NetworkTargetScheduleController.php
<?php namespace app\modules\restapi\controllers; use yii\rest\ActiveController; class NetworkTargetScheduleController extends ActiveController { public $modelClass='app\modules\infrastructure\models\NetworkTargetSchedule'; }
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/HintController.php
backend/modules/restapi/controllers/HintController.php
<?php namespace app\modules\restapi\controllers; use yii\rest\ActiveController; class HintController extends ActiveController { public $modelClass='app\modules\gameplay\models\Hint'; }
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/ChallengeController.php
backend/modules/restapi/controllers/ChallengeController.php
<?php namespace app\modules\restapi\controllers; use yii\rest\ActiveController; use yii\helpers\Html; class ChallengeController extends ActiveController { public $modelClass='app\modules\gameplay\models\Challenge'; public function actionUpload(int $challenge_id) { \Yii::$app->response->format=\yii\w...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/TargetvariableController.php
backend/modules/restapi/controllers/TargetvariableController.php
<?php namespace app\modules\restapi\controllers; use yii\rest\ActiveController; class TargetvariableController extends ActiveController { public $modelClass='app\modules\gameplay\models\TargetVariable'; }
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/restapi/controllers/SyncfilesController.php
backend/modules/restapi/controllers/SyncfilesController.php
<?php namespace app\modules\restapi\controllers; use yii\helpers\Html; class SyncfilesController extends \yii\rest\Controller { public function actionAvailable() { \Yii::$app->response->format=\yii\web\Response:: FORMAT_JSON; return [ 'event_logo'=>[ 'src'=>\Yii::$app->sys->event_logo, ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/Module.php
backend/modules/smartcity/Module.php
<?php namespace app\modules\smartcity; /** * smartcity module definition class */ class Module extends \yii\base\Module { /** * {@inheritdoc} */ public $controllerNamespace='app\modules\smartcity\controllers'; /** * {@inheritdoc} */ public function init() { parent::i...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/controllers/TreasureActionController.php
backend/modules/smartcity/controllers/TreasureActionController.php
<?php namespace app\modules\smartcity\controllers; use Yii; use app\modules\smartcity\models\TreasureAction; use app\modules\smartcity\models\TreasureActionSearch; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\helpers\ArrayHelper; /** * TreasureActionController implements the CRUD actions f...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/controllers/DefaultController.php
backend/modules/smartcity/controllers/DefaultController.php
<?php namespace app\modules\smartcity\controllers; use yii\helpers\ArrayHelper; /** * Default controller for the `smartcity` module */ class DefaultController extends \app\components\BaseController { /** * {@inheritdoc} */ public function behaviors() { return ArrayHelper::merge(parent::...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/controllers/InfrastructureController.php
backend/modules/smartcity/controllers/InfrastructureController.php
<?php namespace app\modules\smartcity\controllers; use Yii; use app\modules\smartcity\models\Infrastructure; use app\modules\smartcity\models\InfrastructureSearch; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\helpers\ArrayHelper; /** * InfrastructureController implements the CRUD actions f...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/controllers/InfrastructureTargetController.php
backend/modules/smartcity/controllers/InfrastructureTargetController.php
<?php namespace app\modules\smartcity\controllers; use Yii; use app\modules\smartcity\models\InfrastructureTarget; use app\modules\smartcity\models\InfrastructureTargetSearch; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; use yii\helpers\ArrayHelper; /** * InfrastructureTargetController implements ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/models/Infrastructure.php
backend/modules/smartcity/models/Infrastructure.php
<?php namespace app\modules\smartcity\models; use Yii; use app\modules\gameplay\models\Target; /** * This is the model class for table "infrastructure". * * @property int $id * @property string $name * @property string $description * @property string $ts * * @property InfrastructureTarget[] $infrastructureTa...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/models/TreasureAction.php
backend/modules/smartcity/models/TreasureAction.php
<?php namespace app\modules\smartcity\models; use Yii; use app\modules\gameplay\models\Treasure; /** * This is the model class for table "treasure_action". * * @property int $id * @property int $treasure_id * @property int $ip * @property int $port * @property string $command * @property int $weight * * @p...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/models/InfrastructureTarget.php
backend/modules/smartcity/models/InfrastructureTarget.php
<?php namespace app\modules\smartcity\models; use Yii; use app\modules\gameplay\models\Target; /** * This is the model class for table "infrastructure_target". * * @property int $infrastructure_id * @property int $target_id * * @property Infrastructure $infrastructure * @property Target $target */ class Infr...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/models/TreasureActionSearch.php
backend/modules/smartcity/models/TreasureActionSearch.php
<?php namespace app\modules\smartcity\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\modules\smartcity\models\TreasureAction; /** * TreasureActionSearch represents the model behind the search form of `app\modules\gameplay\models\TreasureAction`. */ class TreasureActionSearch extends TreasureA...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/models/InfrastructureTargetSearch.php
backend/modules/smartcity/models/InfrastructureTargetSearch.php
<?php namespace app\modules\smartcity\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\modules\smartcity\models\InfrastructureTarget; /** * InfrastructureTargetSearch represents the model behind the search form of `app\modules\gameplay\models\InfrastructureTarget`. */ class InfrastructureTarget...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/models/InfrastructureSearch.php
backend/modules/smartcity/models/InfrastructureSearch.php
<?php namespace app\modules\smartcity\models; use yii\base\Model; use yii\data\ActiveDataProvider; use app\modules\smartcity\models\Infrastructure; /** * InfrastructureSearch represents the model behind the search form of `app\modules\smartcity\models\Infrastructure`. */ class InfrastructureSearch extends Infrastr...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/default/index.php
backend/modules/smartcity/views/default/index.php
<?php $this->title='SmartCity Module'; ?> <div class="smartcity-default-index"> <h1>SmartCity module</h1> <p> The SmartCity module allows us to link gameplay elements to external systems, such as diorama model electronics. </p> <p> Using this feature we can deliver CTF's that are linked ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure-target/_form.php
backend/modules/smartcity/views/infrastructure-target/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\ArrayHelper; use app\modules\smartcity\models\Infrastructure; use app\modules\gameplay\models\Target; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\InfrastructureTarget */ /* @var $form yii\widgets\ActiveForm */ ?> <di...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure-target/view.php
backend/modules/smartcity/views/infrastructure-target/view.php
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\InfrastructureTarget */ $this->title=$model->infrastructure_id; $this->params['breadcrumbs'][]=['label' => 'Infrastructure Targets', 'url' => ['index']]; $this->params['breadcrumbs'][]=$th...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure-target/index.php
backend/modules/smartcity/views/infrastructure-target/index.php
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\gameplay\models\InfrastructureTargetSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title='Infrastructure Targets'; $this->params['breadcrumbs'][] = ['label' => $this->title, 'url' ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure-target/_search.php
backend/modules/smartcity/views/infrastructure-target/_search.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\InfrastructureTargetSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="infrastructure-target-search"> <?php $form=ActiveForm::begin([ 'action' => ['index'], ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure-target/update.php
backend/modules/smartcity/views/infrastructure-target/update.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\InfrastructureTarget */ $this->title='Update Infrastructure Target: '.$model->infrastructure_id; $this->params['breadcrumbs'][]=['label' => 'Infrastructure Targets', 'url' => ['index']]; $this->params['breadcrumbs'][...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure-target/create.php
backend/modules/smartcity/views/infrastructure-target/create.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\InfrastructureTarget */ $this->title='Create Infrastructure Target'; $this->params['breadcrumbs'][]=['label' => 'Infrastructure Targets', 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; yii\bootstra...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure/_form.php
backend/modules/smartcity/views/infrastructure/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\smartcity\models\Infrastructure */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="infrastructure-form"> <?php $form=ActiveForm::begin();?> <?= $form->field($model, 'name')->textInput(['m...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure/view.php
backend/modules/smartcity/views/infrastructure/view.php
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\modules\smartcity\models\Infrastructure */ $this->title=$model->name; $this->params['breadcrumbs'][]=['label' => 'Infrastructures', 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; \yii\web\YiiAs...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure/index.php
backend/modules/smartcity/views/infrastructure/index.php
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\smartcity\models\InfrastructureSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title='Infrastructure Elements'; $this->params['breadcrumbs'][] = ['label' => $this->title, 'url' => [...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure/_search.php
backend/modules/smartcity/views/infrastructure/_search.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\smartcity\models\InfrastructureSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="infrastructure-search"> <?php $form=ActiveForm::begin([ 'action' => ['index'], 'method'...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure/update.php
backend/modules/smartcity/views/infrastructure/update.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\smartcity\models\Infrastructure */ $this->title='Update Infrastructure: '.$model->name; $this->params['breadcrumbs'][]=['label' => 'Infrastructures', 'url' => ['index']]; $this->params['breadcrumbs'][]=['label' => $model->name, 'url...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/infrastructure/create.php
backend/modules/smartcity/views/infrastructure/create.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\smartcity\models\Infrastructure */ $this->title='Create Infrastructure'; $this->params['breadcrumbs'][]=['label' => 'Infrastructures', 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; yii\bootstrap5\Modal::begin([ ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/treasure-action/_form.php
backend/modules/smartcity/views/treasure-action/_form.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; use yii\helpers\ArrayHelper; use app\modules\gameplay\models\Treasure; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\TreasureAction */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="treasure-action-form"> <?php $form=Acti...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/treasure-action/view.php
backend/modules/smartcity/views/treasure-action/view.php
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\TreasureAction */ $this->title=$model->id; $this->params['breadcrumbs'][]=['label' => 'Treasure Actions', 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; \yii\web\YiiAsse...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/treasure-action/index.php
backend/modules/smartcity/views/treasure-action/index.php
<?php use yii\helpers\Html; use yii\grid\GridView; /* @var $this yii\web\View */ /* @var $searchModel app\modules\gameplay\models\TreasureActionSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title='Treasure Actions'; $this->params['breadcrumbs'][] = ['label' => $this->title, 'url' => ['index']...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/treasure-action/_search.php
backend/modules/smartcity/views/treasure-action/_search.php
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\TreasureActionSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="treasure-action-search"> <?php $form=ActiveForm::begin([ 'action' => ['index'], 'method'...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/treasure-action/update.php
backend/modules/smartcity/views/treasure-action/update.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\TreasureAction */ $this->title='Update Treasure Action: '.$model->id; $this->params['breadcrumbs'][]=['label' => 'Treasure Actions', 'url' => ['index']]; $this->params['breadcrumbs'][]=['label' => $model->id, 'url' =...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/modules/smartcity/views/treasure-action/create.php
backend/modules/smartcity/views/treasure-action/create.php
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model app\modules\gameplay\models\TreasureAction */ $this->title='Create Treasure Action'; $this->params['breadcrumbs'][]=['label' => 'Treasure Actions', 'url' => ['index']]; $this->params['breadcrumbs'][]=$this->title; yii\bootstrap5\Modal::begin([ ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/web.php
backend/config/web.php
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $cache_config = require __DIR__ . '/cache.php'; $cookieValidationKey = require __DIR__ . '/validationKey.php'; $config = [ 'id' => 'basic', 'name' => 'echoCTF mUI', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log', '\app\c...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/locales.php
backend/config/locales.php
<?php /** * Configuration file for 'yii message/extract' command. * * This file is automatically generated by 'yii message/config' command. * It contains parameters for source code messages extraction. * You may modify this file to suit your needs. * * You can use 'yii message/config-template' command to create ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/params.php
backend/config/params.php
<?php Yii::setAlias('@appconfig', realpath(dirname(__FILE__))); return [ 'bsVersion' => '5.x', 'vpn_ranges' => [ '10.43.0.0' => ['127.0.0.1', 11196, 'myovpnadminpass'], '10.10.0.0' => ['127.0.0.1', 11195, 'myovpnadminpass'], ], 'adminEmail' => 'info@echothrust.com', 'senderEmail' => 'noreply@echothrus...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/db-sample.php
backend/config/db-sample.php
<?php return [ 'class' => 'yii\db\Connection', 'dsn' => 'mysql:host=localhost;dbname=echoCTF', 'username' => 'root', 'password' => '', 'charset' => 'utf8mb4', // Schema cache options (for production environment) 'enableSchemaCache' => true, 'schemaCacheDuration' => 60, 'schemaCache...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/cache-local.php
backend/config/cache-local.php
<?php return [ 'class' => 'yii\caching\MemCache', 'useMemcached' => true, 'servers' => [ [ 'host' => '127.0.0.1', 'port' => 11211, 'weight' => 60, ] ], ];
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/validationKey-local.php
backend/config/validationKey-local.php
<?php return 'REPLACEME';
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/test_db.php
backend/config/test_db.php
<?php $db=require __DIR__.'/db.php'; // test database! Important not to run tests on production or development databases $db['dsn']='mysql:host=localhost;dbname=yii2_basic_tests'; return $db;
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/test.php
backend/config/test.php
<?php $params=require __DIR__.'/params.php'; $db=require __DIR__.'/test_db.php'; /** * Application configuration shared by all test types */ return [ 'id' => 'basic-tests', 'basePath' => dirname(__DIR__), 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/assets.php
backend/config/assets.php
<?php /** * This file is generated by the "yii asset" command. * DO NOT MODIFY THIS FILE DIRECTLY. * @version 2025-10-10 15:34:45 */ if (!YII_ENV_PROD) return []; return [ 'all' => [ 'class' => 'yii\\web\\AssetBundle', 'basePath' => '@webroot/assets', 'baseUrl' => '@web/assets', ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/assetConfig.php
backend/config/assetConfig.php
<?php /** * Configuration file for the "yii asset" console command. */ // In the console environment, some path aliases may not exist. Please define these: Yii::setAlias('@webroot', __DIR__ . '/../web'); Yii::setAlias('@web', '/assets/'); return [ // Adjust command/callback for JavaScript files compressing: 'j...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/config/console.php
backend/config/console.php
<?php $params = require __DIR__ . '/params.php'; $db = require __DIR__ . '/db.php'; $config = [ 'id' => 'basic-console', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log', 'sales', '\app\components\TimezoneBootstrap'], 'controllerNamespace' => 'app\commands', 'aliases' => [ '@bower' => '@vendor/bowe...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/web/index.php
backend/web/index.php
<?php defined('YII_ENV') or define('YII_ENV', 'prod'); // comment out the following two lines when deployed to production //defined('YII_DEBUG') or define('YII_DEBUG', true); //defined('YII_ENV') or define('YII_ENV', 'dev'); require __DIR__.'/../vendor/autoload.php'; require __DIR__.'/../vendor/yiisoft/yii2/Yii.php';...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/backend/web/index-test.php
backend/web/index-test.php
<?php // NOTE: Make sure this file is not accessible when deployed to production if(!in_array(@$_SERVER['REMOTE_ADDR'], ['127.0.0.1', '::1'])) { die('You are not allowed to access this file.'); } defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'test'); require __DIR__.'...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/requirements.php
frontend/requirements.php
<?php /** * Application requirement checker script. * * In order to run this script use the following console command: * php requirements.php * * In order to run this script from the web, you should copy it to the web root. * If you are using Linux you can create a hard link instead, using the following command:...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modelscli/BannedMxServer.php
frontend/modelscli/BannedMxServer.php
<?php namespace app\modelscli; use Yii; use yii\behaviors\TimestampBehavior; use yii\db\Expression; use yii\behaviors\AttributeTypecastBehavior; /** * This is the model class for table "banned_mx_servers". * * @property int $id * @property string|null $name * @property string|null $notes * @property string|nul...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modelscli/EmailTemplateQuery.php
frontend/modelscli/EmailTemplateQuery.php
<?php namespace app\modelscli; /** * This is the ActiveQuery class for [[EmailTemplate]]. * * @see EmailTemplate */ class EmailTemplateQuery extends \yii\db\ActiveQuery { public function last($minutes=3600) { return $this->andWhere("updated_at>=NOW() - INTERVAL $minutes MINUTE"); } /** ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modelscli/BannedMxServerQuery.php
frontend/modelscli/BannedMxServerQuery.php
<?php namespace app\modelscli; /** * This is the ActiveQuery class for [[BannedMxServer]]. * * @see BannedMxServer */ class BannedMxServerQuery extends \yii\db\ActiveQuery { /*public function active() { return $this->andWhere('[[status]]=1'); }*/ /** * {@inheritdoc} * @return Ba...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modelscli/Pages.php
frontend/modelscli/Pages.php
<?php namespace app\modelscli; use Yii; /** * This is the model class for table "pages". * * @property int $id * @property string|null $metatags * @property string|null $title * @property string|null $body * @property string|null $created_at * @property string|null $updated_at */ class Pages extends \yii\db...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modelscli/EmailTemplateSearch.php
frontend/modelscli/EmailTemplateSearch.php
<?php namespace app\modelscli; use yii\base\Model; use yii\data\ActiveDataProvider; use app\modules\content\models\EmailTemplate; /** * EmailTemplateSearch represents the model behind the search form of `app\modules\content\models\EmailTemplate`. */ class EmailTemplateSearch extends EmailTemplate { /** * ...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false
echoCTF/echoCTF.RED
https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/modelscli/VpnTemplateQuery.php
frontend/modelscli/VpnTemplateQuery.php
<?php namespace app\modelscli; /** * This is the ActiveQuery class for [[VpnTemplate]]. * * @see VpnTemplate */ class VpnTemplateQuery extends \yii\db\ActiveQuery { /*public function active() { return $this->andWhere('[[status]]=1'); }*/ /** * {@inheritdoc} * @return VpnTemplate...
php
BSD-2-Clause
842f644a0b15af85ba5ffda841b32b40121c3063
2026-01-05T04:18:44.767387Z
false