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/infrastructure/views/target/create.php | backend/modules/infrastructure/views/target/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Target */
$this->title='Create Target';
$this->params['breadcrumbs'][]=['label' => 'Targets', '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/infrastructure/views/target/full-view/_writeups.php | backend/modules/infrastructure/views/target/full-view/_writeups.php | <?php
use yii\widgets\Pjax;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
?>
<?php Pjax::begin(['id' => 'writeupsPJ','enablePushState'=>false,'enableReplaceState'=>false,]);?>
<h5>Writeups</h5>
<?= GridView::widget([
'id'=>'writeups',
'dataProvider' => $dataProvider,
'filterModel' => $s... | 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/infrastructure/views/target/full-view/_metadata-tab.php | backend/modules/infrastructure/views/target/full-view/_metadata-tab.php | <?php
use yii\widgets\DetailView;
use yii\helpers\HtmlPurifier;
use yii\helpers\Markdown;
use yii\helpers\Html;
?>
<h5>Target Metadata</h5>
<?php if($model) echo DetailView::widget([
'model' => $model,
'attributes' => [
[
'attribute' => 'scenario',
'format' => 'html',
'contentOptions' => ['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/infrastructure/views/target/full-view/_target_booleans.php | backend/modules/infrastructure/views/target/full-view/_target_booleans.php | <?php
use app\widgets\BooleanTransform as BT;
?>
<div class="panel">
<div class="panel-heading">
<span class="panel-icon">
<i class="fas fa-memory"></i>
</span>
<span class="panel-title"> Booleans</span>
</div>
<div class="panel-body pn">
<table class="table mbn tc-icon-1 tc-med-2 tc-bold-la... | 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/infrastructure/views/target/full-view/_properties-tab.php | backend/modules/infrastructure/views/target/full-view/_properties-tab.php | <?php
use yii\widgets\DetailView;
?>
<h5>Target Properties</h5>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'id',
'fqdn',
'ipoctet',
'mac',
'dns',
'net',
'server',
'image',
[
... | 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/infrastructure/views/target/full-view/_headshots.php | backend/modules/infrastructure/views/target/full-view/_headshots.php | <?php
use yii\widgets\Pjax;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
?>
<?php Pjax::begin(['id' => 'headshotsPJ','enablePushState'=>false,'enableReplaceState'=>false,]);?>
<?= GridView::widget([
'id'=>'heasthots',
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
... | 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/infrastructure/views/target/full-view/_target_instances-tab.php | backend/modules/infrastructure/views/target/full-view/_target_instances-tab.php | <?php
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\grid\GridView;
use yii\widgets\Pjax;
use app\modules\infrastructure\models\Server;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\infrastructure\models\TargetInstanceSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
Pjax::be... | 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/infrastructure/views/target/full-view/_network-schedule-tab.php | backend/modules/infrastructure/views/target/full-view/_network-schedule-tab.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\infrastructure\models\NetworkTargetScheduleSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
Pjax::begin(['id' => 'network-schedule-tabPJ', 'enablePushState' => false, '... | 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/infrastructure/views/target/full-view/_heading.php | backend/modules/infrastructure/views/target/full-view/_heading.php | <?php
use yii\helpers\Html;
?>
<div class="page-heading">
<div class="media-left pr30">
<div class="row d-flex h-100">
<div class="col-lg-4">
<a href="//<?= Yii::$app->sys->offense_domain ?>/target/<?= $model->id ?>" target="_blank">
<img width="100%" class="img-fluid img-thumbnail" src="... | 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/infrastructure/views/target/full-view/_player_progress.php | backend/modules/infrastructure/views/target/full-view/_player_progress.php | <?php
use yii\widgets\Pjax;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
?>
<?php Pjax::begin(['id' => 'target-progressPJ', 'enablePushState' => false, 'enableReplaceState' => false,]); ?>
<h5>Target Progress</h5>
<?= GridView::widget([
'id'=>'target-progress',
'dataProvider' => $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/infrastructure/views/target/full-view/_activated_writeups.php | backend/modules/infrastructure/views/target/full-view/_activated_writeups.php | <?php
use yii\widgets\Pjax;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
?>
<?php Pjax::begin(['id' => 'activated-writeupsPJ', 'enablePushState' => false, 'enableReplaceState' => false,]); ?>
<h5>Activated Writeups</h5>
<?= GridView::widget([
'id' => 'activated-writeups',
'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/infrastructure/views/target/full-view/_target_details.php | backend/modules/infrastructure/views/target/full-view/_target_details.php | <?php
use app\widgets\BooleanTransform as BT;
?>
<div class="panel">
<div class="panel-heading">
<span class="panel-icon">
<i class="fas fa-diagnoses"></i>
</span>
<span class="panel-title"> Details</span>
</div>
<div class="panel-body pn">
<table class="table mbn tc-icon-1 tc-med-2 tc-bold... | 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/infrastructure/views/target/full-view/_spin_history.php | backend/modules/infrastructure/views/target/full-view/_spin_history.php | <?php
use yii\widgets\Pjax;
use yii\grid\GridView;
Pjax::begin(['id' => 'spin-historyPJ', 'enablePushState' => false, 'enableReplaceState' => false,]);?>
<h5>Spin History</h5>
<?php echo GridView::widget([
'id'=>'spin-history',
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
'... | 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/infrastructure/views/target-instance/_form.php | backend/modules/infrastructure/views/target-instance/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use app\modules\infrastructure\models\Server;
use app\modules\frontend\models\Player;
use app\modules\gameplay\models\Target;
use app\widgets\sleifer\autocompleteAjax\AutocompleteAjax;
/* @var $this yii\web\View */
/* @var $model app... | 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/infrastructure/views/target-instance/view.php | backend/modules/infrastructure/views/target-instance/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\TargetInstance */
$this->title = "Instance for player: " . $model->player_id;
$this->params['breadcrumbs'][] = ucfirst(Yii::$app->controller->module->id);
$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/infrastructure/views/target-instance/index.php | backend/modules/infrastructure/views/target-instance/index.php | <?php
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\grid\GridView;
use yii\widgets\Pjax;
use app\modules\infrastructure\models\Server;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\infrastructure\models\TargetInstanceSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->t... | 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/infrastructure/views/target-instance/_search.php | backend/modules/infrastructure/views/target-instance/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\TargetInstanceSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="target-instance-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/infrastructure/views/target-instance/update.php | backend/modules/infrastructure/views/target-instance/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\TargetInstance */
$this->title = Yii::t('app', 'Update Target Instance: {target} for {username}', [
'username' => $model->player->username,
'target' => $model->target->name,
]);
$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/infrastructure/views/target-instance/logs.php | backend/modules/infrastructure/views/target-instance/logs.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Target */
$this->title="View logs for ".$model->name."/".$model->ipoctet." running on ".($model->server ? $model->server->name: "localhost");
$this->params['breadcrumbs'][]=ucfirst(Yii::$a... | 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/infrastructure/views/target-instance/exec.php | backend/modules/infrastructure/views/target-instance/exec.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Target */
$this->title="Exec command on ".$model->name."/".$model->ipoctet." running on ".($model->server ? $model->server->name : "localhost");
$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/infrastructure/views/target-instance/create.php | backend/modules/infrastructure/views/target-instance/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\TargetInstance */
$this->title = Yii::t('app', 'Create Target Instance');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Target Instances'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $t... | 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/infrastructure/views/target-ondemand/_form.php | backend/modules/infrastructure/views/target-ondemand/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use app\modules\gameplay\models\Target;
use app\widgets\sleifer\autocompleteAjax\AutocompleteAjax;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TargetOndemand */
/* @var $form yii\widgets\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/infrastructure/views/target-ondemand/index.php | backend/modules/infrastructure/views/target-ondemand/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\gameplay\models\TargetOndemandSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Target Ondemand');
$this->params['breadcrumbs'][] = ['label... | 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/infrastructure/views/target-ondemand/_search.php | backend/modules/infrastructure/views/target-ondemand/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TargetOndemandSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="target-ondemand-search">
<?php $form = ActiveForm::begin([
'action' => ['index'],
'metho... | 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/infrastructure/views/target-ondemand/update.php | backend/modules/infrastructure/views/target-ondemand/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TargetOndemand */
$this->title = Yii::t('app', 'Update Target Ondemand: {name}', [
'name' => $model->target_id,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Target Ondemand'), '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/infrastructure/views/target-ondemand/create.php | backend/modules/infrastructure/views/target-ondemand/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\TargetOndemand */
$this->title = Yii::t('app', 'Create Target Ondemand');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Target Ondemand'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->ti... | 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/infrastructure/views/server/_form.php | backend/modules/infrastructure/views/server/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\Server */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="server-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'name')->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/infrastructure/views/server/view.php | backend/modules/infrastructure/views/server/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\grid\GridView;
use yii\data\ArrayDataProvider;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\Server */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Servers'), '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/infrastructure/views/server/index.php | backend/modules/infrastructure/views/server/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\infrastructure\models\ServerSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Servers');
$this->params['breadcrumbs'][] = ['label' => $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/infrastructure/views/server/_search.php | backend/modules/infrastructure/views/server/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\ServerSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="server-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/infrastructure/views/server/update.php | backend/modules/infrastructure/views/server/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\Server */
$this->title = Yii::t('app', 'Update Server: {name}', [
'name' => $model->name,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Servers'), 'url' => ['index']];
$this->params['bread... | 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/infrastructure/views/server/create.php | backend/modules/infrastructure/views/server/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\infrastructure\models\Server */
$this->title = Yii::t('app', 'Create Server');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Servers'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
yii\bootstrap5... | 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/infrastructure/views/network/_form.php | backend/modules/infrastructure/views/network/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Network */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="network-form">
<?php $form = ActiveForm::begin(); ?>
<div class="row">
<div class="col-md-6">
... | 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/infrastructure/views/network/view.php | backend/modules/infrastructure/views/network/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\bootstrap5\Modal;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Network */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Networks'), '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/infrastructure/views/network/index.php | backend/modules/infrastructure/views/network/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\gameplay\models\NetworkSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = Yii::t('app', 'Networks');
$this->params['breadcrumbs'][] = ['label' => 'Networks', '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/infrastructure/views/network/_search.php | backend/modules/infrastructure/views/network/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\NetworkSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="network-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/infrastructure/views/network/update.php | backend/modules/infrastructure/views/network/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Network */
$this->title=Yii::t('app', 'Update Network: {name}', [
'name' => $model->name,
]);
$this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Networks'), '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/infrastructure/views/network/create.php | backend/modules/infrastructure/views/network/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\Network */
$this->title=Yii::t('app', 'Create Network');
$this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Networks'), 'url' => ['index']];
$this->params['breadcrumbs'][]=$this->title;
yii\bootstrap5\Modal::b... | 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/infrastructure/views/network-target/_form.php | backend/modules/infrastructure/views/network-target/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\NetworkTarget */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="network-target-form">
<?php $form=ActiveForm::begin();?>
<?= $form->field($mo... | 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/infrastructure/views/network-target/view.php | backend/modules/infrastructure/views/network-target/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\NetworkTarget */
$this->title=$model->network_id;
$this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Network Targets'), 'url' => ['index']];
$this->params['breadcrumbs'][]=$this->ti... | 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/infrastructure/views/network-target/index.php | backend/modules/infrastructure/views/network-target/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\gameplay\models\NetworkTargetSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title=Yii::t('app', 'Network 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/infrastructure/views/network-target/_search.php | backend/modules/infrastructure/views/network-target/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\NetworkTargetSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="network-target-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/infrastructure/views/network-target/update.php | backend/modules/infrastructure/views/network-target/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\NetworkTarget */
$this->title=Yii::t('app', 'Update Network Target: {name}', [
'name' => $model->network_id,
]);
$this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Network Targets'), '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/infrastructure/views/network-target/create.php | backend/modules/infrastructure/views/network-target/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\gameplay\models\NetworkTarget */
$this->title=Yii::t('app', 'Create Network Target');
$this->params['breadcrumbs'][]=['label' => Yii::t('app', 'Network Targets'), 'url' => ['index']];
$this->params['breadcrumbs'][]=$this->title;
yii... | 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/infrastructure/views/private-network/_form.php | backend/modules/infrastructure/views/private-network/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
/** @var yii\web\View $this */
/** @var app\modules\infrastructure\models\PrivateNetwork $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="private-network-form">
<?php $form = ActiveForm::begin(); ?>
<?= $form-... | 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/infrastructure/views/private-network/view.php | backend/modules/infrastructure/views/private-network/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/** @var yii\web\View $this */
/** @var app\modules\infrastructure\models\PrivateNetwork $model */
$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Private Networks'), '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/infrastructure/views/private-network/index.php | backend/modules/infrastructure/views/private-network/index.php | <?php
use app\modules\infrastructure\models\PrivateNetwork;
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\infrastructure\models\PrivateNetworkSearch $searchModel */
/** @var yii\data\ActiveDataProv... | 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/infrastructure/views/private-network/_search.php | backend/modules/infrastructure/views/private-network/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/** @var yii\web\View $this */
/** @var app\modules\infrastructure\models\PrivateNetworkSearch $model */
/** @var yii\widgets\ActiveForm $form */
?>
<div class="private-network-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/infrastructure/views/private-network/update.php | backend/modules/infrastructure/views/private-network/update.php | <?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\modules\infrastructure\models\PrivateNetwork $model */
$this->title = Yii::t('app', 'Update Private Network: {name}', [
'name' => $model->name,
]);
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Private Networks'), 'url' => ['in... | 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/infrastructure/views/private-network/create.php | backend/modules/infrastructure/views/private-network/create.php | <?php
use yii\helpers\Html;
/** @var yii\web\View $this */
/** @var app\modules\infrastructure\models\PrivateNetwork $model */
$this->title = Yii::t('app', 'Create Private Network');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Private Networks'), '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/gameplay/Module.php | backend/modules/gameplay/Module.php | <?php
namespace app\modules\gameplay;
/**
* gameplay module definition class
*/
class Module extends \yii\base\Module
{
/**
* {@inheritdoc}
*/
public $controllerNamespace='app\modules\gameplay\controllers';
/**
* {@inheritdoc}
*/
public function init()
{
parent::init... | 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/gameplay/controllers/TutorialTargetController.php | backend/modules/gameplay/controllers/TutorialTargetController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\TutorialTarget;
use app\modules\gameplay\models\TutorialTargetSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* TutorialTargetController implements the CRUD actions 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/gameplay/controllers/FindingController.php | backend/modules/gameplay/controllers/FindingController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Finding;
use app\modules\gameplay\models\FindingSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* FindingController implements the CRUD actions for Finding model.
*/
cl... | 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/gameplay/controllers/TutorialController.php | backend/modules/gameplay/controllers/TutorialController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Tutorial;
use app\modules\gameplay\models\TutorialSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* TutorialController implements the CRUD actions for Tutorial model.
*... | 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/gameplay/controllers/AchievementController.php | backend/modules/gameplay/controllers/AchievementController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Achievement;
use app\modules\gameplay\models\AchievementSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* AchievementController implements the CRUD actions for Achieveme... | 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/gameplay/controllers/TreasureController.php | backend/modules/gameplay/controllers/TreasureController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Treasure;
use app\modules\gameplay\models\TreasureSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* TreasureController implements the CRUD actions for Treasure model.
*... | 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/gameplay/controllers/QuestionController.php | backend/modules/gameplay/controllers/QuestionController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Question;
use app\modules\gameplay\models\QuestionSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* QuestionController implements the CRUD actions for Question model.
*... | 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/gameplay/controllers/CredentialController.php | backend/modules/gameplay/controllers/CredentialController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Credential;
use app\modules\gameplay\models\CredentialSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* CredentialController implements the CRUD actions for Credential 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/gameplay/controllers/HintController.php | backend/modules/gameplay/controllers/HintController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Hint;
use app\modules\gameplay\models\HintSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* HintController implements the CRUD actions for Hint model.
*/
class HintCont... | 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/gameplay/controllers/TutorialTaskDependencyController.php | backend/modules/gameplay/controllers/TutorialTaskDependencyController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\TutorialTaskDependency;
use app\modules\gameplay\models\TutorialTaskDependencySearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* TutorialTaskDependencyController implemen... | 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/gameplay/controllers/ChallengeController.php | backend/modules/gameplay/controllers/ChallengeController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Challenge;
use app\modules\gameplay\models\ChallengeSearch;
use app\modules\gameplay\models\Question;
use app\modules\gameplay\models\QuestionSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\web\Up... | 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/gameplay/controllers/TutorialTaskController.php | backend/modules/gameplay/controllers/TutorialTaskController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\TutorialTask;
use app\modules\gameplay\models\TutorialTaskSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* TutorialTaskController implements the CRUD actions for Tutori... | 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/gameplay/controllers/BadgeController.php | backend/modules/gameplay/controllers/BadgeController.php | <?php
namespace app\modules\gameplay\controllers;
use Yii;
use app\modules\gameplay\models\Badge;
use app\modules\gameplay\models\BadgeSearch;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
/**
* BadgeController implements the CRUD actions for Badge model.
*/
class Badg... | 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/gameplay/models/TreasureQuery.php | backend/modules/gameplay/models/TreasureQuery.php | <?php
namespace app\modules\gameplay\models;
/**
* This is the ActiveQuery class for [[Treasure]].
*
* @see Target
*/
class TreasureQuery extends \yii\db\ActiveQuery
{
/**
* {@inheritdoc}
* @return Target[]|array
*/
public function all($db=null)
{
return parent::all($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/modules/gameplay/models/TutorialTaskSearch.php | backend/modules/gameplay/models/TutorialTaskSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\TutorialTask;
/**
* TutorialTaskSearch represents the model behind the search form of `app\modules\gameplay\models\TutorialTask`.
*/
class TutorialTaskSearch extends TutorialTask
{
... | 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/gameplay/models/Finding.php | backend/modules/gameplay/models/Finding.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use app\modules\activity\models\PlayerFinding;
use app\modules\frontend\models\Player;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "finding".
*
* @property int $id
* @property string $name
* @property s... | 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/gameplay/models/Hint.php | backend/modules/gameplay/models/Hint.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
use app\modules\activity\models\PlayerHint;
use app\modules\frontend\models\Player;
/**
* This is the model class for table "hint".
*
* @property int $id
* @property string $title
* @property string... | 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/gameplay/models/TargetSearch.php | backend/modules/gameplay/models/TargetSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\Target;
use yii\behaviors\TimestampBehavior;
use yii\behaviors\AttributeTypecastBehavior;
use yii\db\Expression;
/**
* TargetSearch represents the model behind the search form of `app\mo... | 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/gameplay/models/TargetOndemandSearch.php | backend/modules/gameplay/models/TargetOndemandSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\TargetOndemand;
/**
* TargetOndemandSearch represents the model behind the search form of `app\modules\gameplay\models\TargetOndemand`.
*/
class TargetOndemandSearch extends TargetOndem... | 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/gameplay/models/Treasure.php | backend/modules/gameplay/models/Treasure.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use app\modules\activity\models\PlayerTreasure;
use app\modules\frontend\models\Player;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "treasure".
*
* @property int $id
* @property string $name
* @property... | 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/gameplay/models/TutorialTaskDependencySearch.php | backend/modules/gameplay/models/TutorialTaskDependencySearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\TutorialTaskDependency;
/**
* TutorialTaskDependencySearch represents the model behind the search form of `app\modules\gameplay\models\TutorialTaskDependency`.
*/
class TutorialTaskDepe... | 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/gameplay/models/BadgeFindingSearch.php | backend/modules/gameplay/models/BadgeFindingSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\BadgeFinding;
/**
* BadgeFindingSearch represents the model behind the search form of `app\modules\gameplay\models\BadgeFinding`.
*/
class BadgeFindingSearch extends BadgeFinding
{
... | 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/gameplay/models/BadgeTreasure.php | backend/modules/gameplay/models/BadgeTreasure.php | <?php
namespace app\modules\gameplay\models;
use Yii;
/**
* This is the model class for table "badge_treasure".
*
* @property int $badge_id
* @property int $treasure_id
*
* @property Badge $badge
* @property Treasure $treasure
*/
class BadgeTreasure extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}... | 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/gameplay/models/TutorialTargetQuery.php | backend/modules/gameplay/models/TutorialTargetQuery.php | <?php
namespace app\modules\gameplay\models;
/**
* This is the ActiveQuery class for [[TutorialTarget]].
*
* @see TutorialTarget
*/
class TutorialTargetQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
... | 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/gameplay/models/NetworkTarget.php | backend/modules/gameplay/models/NetworkTarget.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
use app\modules\frontend\models\Player;
/**
* This is the model class for table "network_target".
*
* @property int $network_id
* @property int $target_id
* @property string $created_at
* @property... | 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/gameplay/models/NetworkPlayer.php | backend/modules/gameplay/models/NetworkPlayer.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use app\modules\frontend\models\Player;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "network_player".
*
* @property int $network_id
* @property int $player_id
* @property string $created_at
* @property... | 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/gameplay/models/BadgeSearch.php | backend/modules/gameplay/models/BadgeSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\Badge;
/**
* BadgeSearch represents the model behind the search form of `app\modules\gameplay\models\Badge`.
*/
class BadgeSearch extends Badge
{
/**
* {@inheritdoc}
*/
... | 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/gameplay/models/Challenge.php | backend/modules/gameplay/models/Challenge.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use yii\web\UploadedFile;
/**
* This is the model class for table "challenge".
*
* @property int $id
* @property string $name
* @property string $category
* @property string $difficulty
* @property string $description
* @property string $player_type
* @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/gameplay/models/Network.php | backend/modules/gameplay/models/Network.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use app\modules\frontend\models\Player;
use yii\behaviors\AttributeTypecastBehavior;
/**
* This is the model class for table "network".
*
* @property int $id
* @property string $name
* @property string $codename
* @property string $icon
* @property string ... | 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/gameplay/models/TargetVolume.php | backend/modules/gameplay/models/TargetVolume.php | <?php
namespace app\modules\gameplay\models;
use Yii;
/**
* This is the model class for table "target_volume".
*
* @property int $target_id Docker this volume belongs to
* @property string $volume Volume on host to map
* @property string $bind Bind to path within pod
*
* @property Target $target
*/
class Tar... | 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/gameplay/models/TutorialTargetSearch.php | backend/modules/gameplay/models/TutorialTargetSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\TutorialTarget;
/**
* TutorialTargetSearch represents the model behind the search form of `app\modules\gameplay\models\TutorialTarget`.
*/
class TutorialTargetSearch extends TutorialTar... | 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/gameplay/models/TargetVolumeSearch.php | backend/modules/gameplay/models/TargetVolumeSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\TargetVolume;
/**
* TargetVolumeSearch represents the model behind the search form of `app\modules\gameplay\models\TargetVolume`.
*/
class TargetVolumeSearch extends TargetVolume
{
... | 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/gameplay/models/TreasureSearch.php | backend/modules/gameplay/models/TreasureSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\Treasure;
/**
* TreasureSearch represents the model behind the search form of `app\modules\gameplay\models\Treasure`.
*/
class TreasureSearch extends Treasure
{
public $ipoctet;
pub... | 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/gameplay/models/Achievement.php | backend/modules/gameplay/models/Achievement.php | <?php
namespace app\modules\gameplay\models;
use Yii;
/**
* This is the model class for table "achievement".
*
* @property int $id
* @property string $name
* @property string $pubname Name for the public eyes
* @property string $description
* @property string $pubdescription Description for the public eyes
*... | 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/gameplay/models/TutorialSearch.php | backend/modules/gameplay/models/TutorialSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\Tutorial;
/**
* TutorialSearch represents the model behind the search form of `app\modules\gameplay\models\Tutorial`.
*/
class TutorialSearch extends Tutorial
{
/**
* {@inherit... | 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/gameplay/models/TutorialTaskDependencyQuery.php | backend/modules/gameplay/models/TutorialTaskDependencyQuery.php | <?php
namespace app\modules\gameplay\models;
/**
* This is the ActiveQuery class for [[TutorialTaskDependency]].
*
* @see TutorialTaskDependency
*/
class TutorialTaskDependencyQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
... | 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/gameplay/models/NetworkPlayerSearch.php | backend/modules/gameplay/models/NetworkPlayerSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\NetworkPlayer;
/**
* NetworkPlayerSearch represents the model behind the search form of `app\modules\gameplay\models\NetworkPlayer`.
*/
class NetworkPlayerSearch extends NetworkPlayer
{... | 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/gameplay/models/BadgeFinding.php | backend/modules/gameplay/models/BadgeFinding.php | <?php
namespace app\modules\gameplay\models;
use Yii;
/**
* This is the model class for table "badge_finding".
*
* @property int $badge_id
* @property int $finding_id
*
* @property Badge $badge
* @property Finding $finding
*/
class BadgeFinding extends \yii\db\ActiveRecord
{
/**
* {@inheritdoc}
... | 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/gameplay/models/NetworkSearch.php | backend/modules/gameplay/models/NetworkSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\Network;
/**
* NetworkSearch represents the model behind the search form of `app\modules\gameplay\models\Network`.
*/
class NetworkSearch extends Network
{
public $network_players;
... | 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/gameplay/models/TargetOndemand.php | backend/modules/gameplay/models/TargetOndemand.php | <?php
namespace app\modules\gameplay\models;
use Yii;
use app\modules\frontend\models\Player;
use yii\behaviors\TimestampBehavior;
use yii\db\Expression;
/**
* This is the model class for table "target_ondemand".
*
* @property int $target_id
* @property int|null $player_id
* @property int $state
* @property s... | 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/gameplay/models/QuestionSearch.php | backend/modules/gameplay/models/QuestionSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\Question;
/**
* QuestionSearch represents the model behind the search form of `app\modules\gameplay\models\Question`.
*/
class QuestionSearch extends Question
{
public $challengenam... | 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/gameplay/models/TutorialQuery.php | backend/modules/gameplay/models/TutorialQuery.php | <?php
namespace app\modules\gameplay\models;
/**
* This is the ActiveQuery class for [[Tutorial]].
*
* @see Tutorial
*/
class TutorialQuery extends \yii\db\ActiveQuery
{
/*public function active()
{
return $this->andWhere('[[status]]=1');
}*/
/**
* {@inheritdoc}
* @return Tutori... | 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/gameplay/models/Tutorial.php | backend/modules/gameplay/models/Tutorial.php | <?php
namespace app\modules\gameplay\models;
use Yii;
/**
* This is the model class for table "tutorial".
*
* @property int $id
* @property string|null $title
* @property string|null $description
* @property string|null $created_at
* @property string|null $updated_at
*
* @property TutorialTarget[] $tutorial... | 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/gameplay/models/ChallengeSearch.php | backend/modules/gameplay/models/ChallengeSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\Challenge;
/**
* ChallengeSearch represents the model behind the search form of `app\modules\gameplay\models\Challenge`.
*/
class ChallengeSearch extends Challenge
{
/**
* {@in... | 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/gameplay/models/FindingQuery.php | backend/modules/gameplay/models/FindingQuery.php | <?php
namespace app\modules\gameplay\models;
/**
* This is the ActiveQuery class for [[Target]].
*
* @see Target
*/
class FindingQuery extends \yii\db\ActiveQuery
{
// public function poweredup()
// {
// return $this->andWhere('(finding.target_id IN (SELECT target_ondemand.target_id FROM target_ondem... | 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/gameplay/models/TreasureFinder.php | backend/modules/gameplay/models/TreasureFinder.php | <?php
namespace app\modules\gameplay\models;
class TreasureFinder extends \yii\base\Model
{
public static function findByEncryptedCode($secretKey, $string)
{
return \Yii::$app->db->createCommand("
SELECT treasure.id as treasure_id, player.id AS player_id
FROM treasure, player
... | 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/gameplay/models/TargetOndemandQuery.php | backend/modules/gameplay/models/TargetOndemandQuery.php | <?php
namespace app\modules\gameplay\models;
/**
* This is the ActiveQuery class for [[TargetOndemand]].
*
* @see TargetOndemand
*/
class TargetOndemandQuery extends \yii\db\ActiveQuery
{
public function withExpired()
{
return $this->select(['*', '(60*60)-TIMESTAMPDIFF(SECOND, heartbeat,now()) AS expired'... | 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/gameplay/models/BadgeTreasureSearch.php | backend/modules/gameplay/models/BadgeTreasureSearch.php | <?php
namespace app\modules\gameplay\models;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\modules\gameplay\models\BadgeTreasure;
/**
* BadgeTreasureSearch represents the model behind the search form of `app\modules\gameplay\models\BadgeTreasure`.
*/
class BadgeTreasureSearch extends BadgeTreasure
{... | 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/gameplay/models/Credential.php | backend/modules/gameplay/models/Credential.php | <?php
namespace app\modules\gameplay\models;
use Yii;
/**
* This is the model class for table "credential".
*
* @property int $id
* @property string $service
* @property string $title
* @property string $pubtitle
* @property string $username Username
* @property string $password Password
* @property int $ta... | 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/gameplay/models/TutorialTarget.php | backend/modules/gameplay/models/TutorialTarget.php | <?php
namespace app\modules\gameplay\models;
use Yii;
/**
* This is the model class for table "tutorial_target".
*
* @property int $tutorial_id
* @property int $target_id
* @property int|null $weight
*
* @property Target $target
* @property Tutorial $tutorial
*/
class TutorialTarget extends \yii\db\ActiveRe... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.