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/frontend/themes/material/modules/target/views/default/_versus-guest.php | frontend/themes/material/modules/target/views/default/_versus-guest.php | <?php
use app\widgets\Card;
use yii\helpers\Html;
use yii\helpers\ArrayHelper;
use yii\helpers\Url;
use app\widgets\Twitter;
use app\widgets\vote\VoteWidget;
use app\modules\game\models\Headshot;
use app\modules\target\models\PlayerTargetHelp as PTH;
use app\modules\target\models\Writeup;
use yii\helpers\Markdown;
$thi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/versus.php | frontend/themes/material/modules/target/views/default/versus.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\ListView;
use app\widgets\stream\StreamWidget as Stream;
$this->title=\Yii::t('app','{event_name} Target: {target_name} vs Player: {username}',['event_name'=>Yii::$app->sys->event_name,'target_name'=>$target->name,'username'=>$profile->owner->username]);
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_target_migration_schedule.php | frontend/themes/material/modules/target/views/default/_target_migration_schedule.php | <?php if($scheduled):?>
<small class="text-danger scheduled_migration-text">
<?php if ($scheduled->network):?>
<?=\Yii::t('app','Target will be migrated to the {network_name}, on the {migration_date}.',['network_name'=>$scheduled->network->name,'migration_date'=>$scheduled->migration_date])?>
<?php else:?>
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/_headshot.php | frontend/themes/material/modules/target/views/default/_headshot.php | <div class="leader">
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=intval($index + 1);?>.</div>
<div class="leader-name"><?=$model->profile->link?></div>
</div>
<div class="border"></div>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/default/claim.php | frontend/themes/material/modules/target/views/default/claim.php | <?php
use yii\helpers\Html;
use app\widgets\Noti;
?>
<?php echo Html::beginForm(['/target/default/claim'], 'post', ['class'=>'navbar-form', 'id'=>'claim', 'autocomplete'=>"off"]);?>
<div class="input-group no-border">
<?=Html::input('text', 'hash', null, ['class'=>"form-control", 'aria-label'=>\Yii::t('app','subm... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/writeup/_form.php | frontend/themes/material/modules/target/views/writeup/_form.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
use yii\helpers\ArrayHelper;
use app\models\Player;
use app\modules\target\models\Target;
/* @var $this yii\web\View */
/* @var $model app\modules\activity\models\Writeup */
/* @var $form yii\widgets\ActiveForm */
$this->registerJs(
'$(document).delegate("te... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/writeup/read.php | frontend/themes/material/modules/target/views/writeup/read.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\DetailView;
use app\widgets\vote\VoteWidget;
/* @var $this yii\web\View */
/* @var $model app\modules\activity\models\Writeup */
$this->title=\Yii::t('app','{event_name} Writeup for {target_name} by {username}',['event_name'=>Yii::$app->sys->event_name,... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/writeup/view.php | frontend/themes/material/modules/target/views/writeup/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\activity\models\Writeup */
$this->title=\Yii::t('app','{event_name} Writeup for {target_name} #{target_id}',['event_name'=>Yii::$app->sys->event_name,'target_name'=>$model->target->name,'target_id'=>$model... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/writeup/index.php | frontend/themes/material/modules/target/views/writeup/index.php | <?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\modules\activity\models\WriteupSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'Writeups';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="writeup-index">
<h1><?=... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/writeup/_search.php | frontend/themes/material/modules/target/views/writeup/_search.php | <?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;
/* @var $this yii\web\View */
/* @var $model app\modules\activity\models\WriteupSearch */
/* @var $form yii\widgets\ActiveForm */
?>
<div class="writeup-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/frontend/themes/material/modules/target/views/writeup/update.php | frontend/themes/material/modules/target/views/writeup/update.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\activity\models\Writeup */
$this->title=Yii::$app->sys->event_name.' Writeup for '.$model->target->name. ' #'.$model->target->id;
$this->_description=$model->target->purpose;
$this->_image=\yii\helpers\Url::to($model->target->fullLo... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/target/views/writeup/create.php | frontend/themes/material/modules/target/views/writeup/create.php | <?php
use yii\helpers\Html;
/* @var $this yii\web\View */
/* @var $model app\modules\activity\models\Writeup */
$this->title=Yii::$app->sys->event_name.' Writeup for '.$headshot->target->name. ' #'.$headshot->target->id;
$this->_description=$headshot->target->purpose;
$this->_image=\yii\helpers\Url::to($headshot->ta... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_score.php | frontend/themes/material/modules/game/views/leaderboards/_score.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=$model->ordinalPlace;?>.</div>
<div class="leader-ava"><img src="<?=$model->avatar?>" class="rounded <?=RankFormatter::... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_team_score.php | frontend/themes/material/modules/game/views/leaderboards/_team_score.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=$model->ordinalPlace;?>.</div>
<div class="leader-ava"><img class="rounded <?=RankFormatter::ordinalPlaceCss($model->id)... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_country.php | frontend/themes/material/modules/game/views/leaderboards/_country.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=RankFormatter::ordinalPlace(RankFormatter::ordinalPlaceByPagination($dataProvider,$index))?>.</div>
<div class="leader-a... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_fastest_solve.php | frontend/themes/material/modules/game/views/leaderboards/_fastest_solve.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=RankFormatter::ordinalPlace((($widget->dataProvider->pagination->getPage())*$widget->dataProvider->pagination->pageSize)+($ind... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_ordinal_score.php | frontend/themes/material/modules/game/views/leaderboards/_ordinal_score.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=RankFormatter::ordinalPlace((($widget->dataProvider->pagination->getPage())*$widget->dataProvider->pagination->pageSize)+($ind... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/index.php | frontend/themes/material/modules/game/views/leaderboards/index.php | <?php
use yii\widgets\Pjax;
use app\widgets\Card;
use app\widgets\leaderboard\Leaderboard;
use yii\widgets\ListView;
use yii\helpers\Html;
$this->_fluid = "-fluid";
$this->title = Yii::$app->sys->event_name . ' ' . \Yii::t('app', 'Leaderboards');
$this->_description = $this->title;
$this->_url = \yii\helpers\Url::to... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/teamonly.php | frontend/themes/material/modules/game/views/leaderboards/teamonly.php | <?php
use yii\widgets\Pjax;
use app\widgets\Card;
use app\widgets\leaderboard\Leaderboard;
use yii\widgets\ListView;
use yii\helpers\Html;
$this->_fluid = "-fluid";
$this->title = Yii::$app->sys->event_name . ' ' . \Yii::t('app', 'Leaderboard');
$this->_description = $this->title;
$this->_url = \yii\helpers\Url::to(... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_headshot.php | frontend/themes/material/modules/game/views/leaderboards/_headshot.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=RankFormatter::ordinalPlace((($widget->dataProvider->pagination->getPage())*$widget->dataProvider->pagination->pageSize)+($ind... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_most_headshot.php | frontend/themes/material/modules/game/views/leaderboards/_most_headshot.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=RankFormatter::ordinalPlace((($widget->dataProvider->pagination->getPage())*$widget->dataProvider->pagination->pageSize)+($ind... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/leaderboards/_most_writeup.php | frontend/themes/material/modules/game/views/leaderboards/_most_writeup.php | <?php
use yii\helpers\Html;
use app\components\formatters\RankFormatter;
?>
<div class="leader" >
<div class="border"></div>
<div class="leader-wrap">
<div class="leader-place"><?=RankFormatter::ordinalPlace((($widget->dataProvider->pagination->getPage())*$widget->dataProvider->pagination->pageSize)+($ind... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/badge/index.php | frontend/themes/material/modules/game/views/badge/index.php | <?php
use app\widgets\Twitter;
use yii\helpers\Html;
$this->registerMetaTag(['name'=>'og:type', 'content'=>'game.achievement']);
$this->registerMetaTag(['name'=>'game:points', 'content'=>'0']);
$this->registerMetaTag(['name'=>'article:published_time', 'content'=>$headshot->created_at]);
$this->_url=\yii\helpers\Url::t... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/game/views/badge/_share.php | frontend/themes/material/modules/game/views/badge/_share.php | <?php
use yii\helpers\Url;
use app\widgets\Twitter;
?>
<div class="dropdown">
<?=$PRELINK?>
<button class="btn btn-info dropdown-toggle btn-block" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-share-alt"></i> <?=\Yii::t('app','SHARE')?>
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/network/views/default/view.php | frontend/themes/material/modules/network/views/default/view.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\ListView;
use yii\widgets\Pjax;
use app\widgets\stream\StreamWidget as Stream;
use app\widgets\target\TargetWidget;
$this->loadLayoutOverrides=true;
$this->title = Yii::$app->sys->event_name . ' ' . \Yii::t('app', 'Network details'... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/network/views/default/index.php | frontend/themes/material/modules/network/views/default/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Html::encode(Yii::$app->sys->event_name.' '.\Yii::t('app','Networks'));
$this->_description=$this->title;
$this->loadLayoutOverrides=true;
?>
<div class="network-index">
<div class="body-content">
<h2><?=Html::encode($this->title)?></h2>
<?=\... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/network/views/default/_network.php | frontend/themes/material/modules/network/views/default/_network.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\DetailView;
use app\widgets\Twitter;
use app\widgets\Card;
$subscribe=null;
$module = \app\modules\network\Module::getInstance();
if($module->checkNetwork($model)!==false)
{
$subscribe="<p>".Html::a(\Yii::t('app','Go to Network'),
Url::to(['/netwo... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/network/views/private/view.php | frontend/themes/material/modules/network/views/private/view.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\GridView;
use yii\widgets\ListView;
use yii\widgets\Pjax;
use app\widgets\stream\StreamWidget as Stream;
use app\widgets\target\TargetWidget;
$this->loadLayoutOverrides = true;
$this->title = \Yii::t('app', "{event_name} {username}'s Private Network detail... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/challenge/views/default/view.php | frontend/themes/material/modules/challenge/views/default/view.php | <?php
use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\widgets\ListView;
use yii\data\ActiveDataProvider;
use yii\bootstrap\ActiveForm;
use app\widgets\Twitter;
use app\widgets\solver\SolverWidget;
use app\widgets\vote\VoteWidget;
/* @var $this yii\web\View */
/* @var $model app\models\Challenge */
$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/frontend/themes/material/modules/challenge/views/default/_challenge.php | frontend/themes/material/modules/challenge/views/default/_challenge.php | <?php
use yii\helpers\Html;
use yii\helpers\Url;
use yii\widgets\DetailView;
use app\widgets\Twitter;
?>
<div class="col-xl-4 col-sm-6 d-flex align-items-stretch">
<div class="card card-challenge">
<div class="card-body">
<?=$model->icon?>
<h4 class="card-title"><b><?=Html::a($model->name, ['view', '... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/challenge/views/default/index.php | frontend/themes/material/modules/challenge/views/default/index.php | <?php
use yii\helpers\Html;
use yii\widgets\ListView;
$this->title=Html::encode(Yii::$app->sys->event_name.' '.\Yii::t('app','Challenges'));
$this->_description=$this->title
?>
<div class="challenge-index">
<div class="body-content">
<h2><?=Html::encode($this->title)?></h2>
<?=\Yii::t('app','Challenges for ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/modules/challenge/views/default/_question.php | frontend/themes/material/modules/challenge/views/default/_question.php | <?php
use yii\helpers\Html;
use app\widgets\Twitter;
use yii\bootstrap\ActiveForm;
global $first;
?>
<div class="card">
<div class="card-header" data-toggle="collapse" data-target="#collapse<?=$model->id?>">
<a class="collapsed card-link" data-toggle="collapse" <?php if(!$model->answered && !$first):?> aria-expa... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/dashboard/_last_visit_item.php | frontend/themes/material/dashboard/_last_visit_item.php | <?php
use yii\helpers\Html;
use yii\helpers\HtmlPurifier;
$item_classes = [
'list-group-item',
'list-group-item-action',
'd-flex',
'justify-content-between',
'align-items-center',
'text-primary',
'orbitron',
'rounded'
];
$text =$model['name']. ' ' . Html::img("/images/targets/_" . $model['name'] . '-... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/dashboard/index.php | frontend/themes/material/dashboard/index.php | <?php
use yii\widgets\Pjax;
use app\widgets\Card;
use yii\widgets\ListView;
use app\widgets\stream\StreamWidget as Stream;
$this->_fluid = "-fluid";
$this->loadLayoutOverrides = true;
$this->title = Yii::$app->sys->event_name . ' Dashboard';
$this->_description = \Yii::t('app', "The dashboard page");
$this->registerJ... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/dashboard/news.php | frontend/themes/material/dashboard/news.php | <?php
use yii\widgets\ListView;
use yii\helpers\HtmlPurifier;
use yii\helpers\Html;
$this->_fluid = "-fluid";
$this->loadLayoutOverrides = true;
$this->title = Yii::$app->sys->event_name . ' News article';
$this->_description = \Yii::t('app', "News entry");
?>
<div class="news-index">
<div class="body-content">
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/dashboard/_top.php | frontend/themes/material/dashboard/_top.php | <?php
use yii\widgets\Pjax;
use app\widgets\Card;
use yii\widgets\ListView;
use yii\helpers\Html;
?>
<div class="row justify-content-center">
<div class="col col-xl-4" style="max-width: 333px;">
<div class="card bg-dark" style="margin-top:0px;">
<div class="card-body">
<h3 class="card-title text-cen... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/dashboard/_news_item.php | frontend/themes/material/dashboard/_news_item.php | <?php
use yii\helpers\HtmlPurifier;
use yii\helpers\Html;
list($teaser) = explode("<!--TEASER-->", $model->body);
?>
<div class="news-item">
<h4 class="text-warning"><?=$model->category;?> <?= HtmlPurifier::process($model->title) ?> <span style="color: lightgray; font-size: 0.8em"><?= Yii::$app->formatter->asDate($... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/dashboard/_target_instance_card.php | frontend/themes/material/dashboard/_target_instance_card.php | <?php
use yii\helpers\Html;
use app\widgets\Card;
$target = Yii::$app->user->identity->instance->target;
$target_ip = long2ip(Yii::$app->user->identity->instance->ip);
if (Yii::$app->user->identity->instance->ip === null)
$display_ip = Html::tag('b', $target_ip, ["class" => 'text-danger', 'data-toggle' => 'tooltip'... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/legal/privacy-policy.php | frontend/themes/material/legal/privacy-policy.php | <?php
/* @var $this yii\web\View */
$this->title = \Yii::$app->sys->event_name . ' '.$content->title;
?>
<div class="privacy-policy-index">
<div class="body-content">
<?=$content->body?>
</div>
</div> | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/themes/material/legal/terms-and-conditions.php | frontend/themes/material/legal/terms-and-conditions.php | <?php
/* @var $this yii\web\View */
$this->title=\Yii::$app->sys->event_name.' '.$content->title;
?>
<div class="terms-and-conditions-index">
<div class="body-content">
<?=$content->body?>
</div>
</div>
| php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/config/web.php | frontend/config/web.php | <?php
$params = require __DIR__ . '/params.php';
$db = require __DIR__ . '/db.php';
$cache = require __DIR__ . '/cache.php';
$cookieValidationKey = require __DIR__ . '/validationKey.php';
$config = [
'id' => 'pui2',
//'language' => 'el-GR',
'sourceLanguage' => 'en-US',
'name' => 'echoCTF.RED Mycenae',
'baseP... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/config/locales.php | frontend/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/frontend/config/localesYii.php | frontend/config/localesYii.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/frontend/config/params.php | frontend/config/params.php | <?php
return [
'admin_ids' => [1],
'adminEmail' => 'info@echothrust.com',
'senderEmail' => 'noreply@echothrust.com',
'senderName' => 'Echothrust mailer',
'dn' => [
'countryName' => 'GR',
'stateOrProvinceName' => 'Greece',
'localityName' => 'Athens',
'organizationName' => 'echoCTF',
'organi... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/config/validationKey-local.php | frontend/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/frontend/config/test_db.php | frontend/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=frontend_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/frontend/config/test.php | frontend/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/frontend/config/db-local.php | frontend/config/db-local.php | <?php
return [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=localhost;dbname=echoCTF',
'username' => 'root',
'password' => '',
'charset' => 'utf8mb4',
//'enableProfiling'=>false,
//'enableParamLogging'=>true,
// Schema cache options (for production environment)
'enableSchemaC... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/config/console.php | frontend/config/console.php | <?php
$params=require __DIR__.'/params.php';
$db=require __DIR__.'/db.php';
$cache=require __DIR__.'/cache.php';
$config=[
'id' => 'basic-console',
// 'language' => 'el-GR',
'sourceLanguage' => 'en-US',
'basePath' => dirname(__DIR__),
'bootstrap' => ['log'],
'controllerNamespace' => 'app\comman... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/config/memcached-local.php | frontend/config/memcached-local.php | <?php
return [
'class' => 'yii\caching\MemCache',
'options' => [
\Memcached::OPT_NO_BLOCK => true,
\Memcached::OPT_NOREPLY => true,
\Memcached::OPT_TCP_NODELAY => true,
],
'servers' => [
[
'host' => '127.0.0.1',
'port' => 11211,
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/overloads/yii/filters/AccessControl.php | frontend/overloads/yii/filters/AccessControl.php | <?php
namespace app\overloads\yii\filters;
use Yii;
use yii\web\ForbiddenHttpException;
/**
* AccessControl Overloads the Yii2 default so that we can control the default error message
*
* @author Pantelis Roditis <proditis@echothrust.com>
* @since 0.23.0
*/
class AccessControl extends \yii\filters\AccessControl
... | php | BSD-2-Clause | 842f644a0b15af85ba5ffda841b32b40121c3063 | 2026-01-05T04:18:44.767387Z | false |
echoCTF/echoCTF.RED | https://github.com/echoCTF/echoCTF.RED/blob/842f644a0b15af85ba5ffda841b32b40121c3063/frontend/web/index.php | frontend/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 |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Http/Controllers/SocialAuthController.php | src/Http/Controllers/SocialAuthController.php | <?php
namespace HasinHayder\TyroLogin\Http\Controllers;
use HasinHayder\TyroLogin\Mail\WelcomeMail;
use HasinHayder\TyroLogin\Models\SocialAccount;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Http/Controllers/TwoFactorController.php | src/Http/Controllers/TwoFactorController.php | <?php
namespace HasinHayder\TyroLogin\Http\Controllers;
use HasinHayder\TyroLogin\Casts\EncryptedOrPlaintext;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cry... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Http/Controllers/LoginController.php | src/Http/Controllers/LoginController.php | <?php
namespace HasinHayder\TyroLogin\Http\Controllers;
use HasinHayder\TyroLogin\Mail\OtpMail;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
use Illum... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Http/Controllers/VerificationController.php | src/Http/Controllers/VerificationController.php | <?php
namespace HasinHayder\TyroLogin\Http\Controllers;
use HasinHayder\TyroLogin\Mail\VerifyEmailMail;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Mail;
u... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Http/Controllers/PasswordResetController.php | src/Http/Controllers/PasswordResetController.php | <?php
namespace HasinHayder\TyroLogin\Http\Controllers;
use HasinHayder\TyroLogin\Mail\PasswordResetMail;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Hash... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Http/Controllers/RegisterController.php | src/Http/Controllers/RegisterController.php | <?php
namespace HasinHayder\TyroLogin\Http\Controllers;
use HasinHayder\TyroLogin\Mail\WelcomeMail;
use Illuminate\Auth\Events\Registered;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Hash;
use... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Mail/WelcomeMail.php | src/Mail/WelcomeMail.php | <?php
namespace HasinHayder\TyroLogin\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class WelcomeMail extends Mailable
{
use Queueable, SerializesModels;
/**
* Creat... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Mail/PasswordResetMail.php | src/Mail/PasswordResetMail.php | <?php
namespace HasinHayder\TyroLogin\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class PasswordResetMail extends Mailable
{
use Queueable, SerializesModels;
/**
*... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Mail/OtpMail.php | src/Mail/OtpMail.php | <?php
namespace HasinHayder\TyroLogin\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class OtpMail extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a ... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Mail/VerifyEmailMail.php | src/Mail/VerifyEmailMail.php | <?php
namespace HasinHayder\TyroLogin\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Content;
use Illuminate\Mail\Mailables\Envelope;
use Illuminate\Queue\SerializesModels;
class VerifyEmailMail extends Mailable
{
use Queueable, SerializesModels;
/**
* C... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Casts/EncryptedOrPlaintext.php | src/Casts/EncryptedOrPlaintext.php | <?php
namespace HasinHayder\TyroLogin\Casts;
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
use Illuminate\Contracts\Encryption\DecryptException;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\Crypt;
class EncryptedOrPlaintext implements CastsAttributes {
/**
* Cast the ... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Traits/HasTwoFactorAuth.php | src/Traits/HasTwoFactorAuth.php | <?php
namespace HasinHayder\TyroLogin\Traits;
use HasinHayder\TyroLogin\Casts\EncryptedOrPlaintext;
trait HasTwoFactorAuth
{
/**
* Initialize the trait.
*
* @return void
*/
public function initializeHasTwoFactorAuth()
{
$this->mergeCasts([
'two_factor_secret' => E... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/VersionCommand.php | src/Console/Commands/VersionCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class VersionCommand extends Command
{
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:version';
/**
* The console command description.
*/
protected ... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/PublishStyleCommand.php | src/Console/Commands/PublishStyleCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class PublishStyleCommand extends Command
{
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:publish-style
{--force : Overwrite existing fil... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/InstallCommand.php | src/Console/Commands/InstallCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Str;
class InstallCommand extends Command {
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:install
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/StarCommand.php | src/Console/Commands/StarCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class StarCommand extends Command
{
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:star';
/**
* The console command description.
*/
protected $descr... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/ResetTwoFactorCommand.php | src/Console/Commands/ResetTwoFactorCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class ResetTwoFactorCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'tyro-login:reset-2fa {user : The ID or email of the user}';... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/UnverifyUserCommand.php | src/Console/Commands/UnverifyUserCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class UnverifyUserCommand extends Command
{
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:unverify-user
{identifier? : User email address... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/VerifyUserCommand.php | src/Console/Commands/VerifyUserCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class VerifyUserCommand extends Command
{
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:verify-user
{identifier? : User email address or ... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/DocCommand.php | src/Console/Commands/DocCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class DocCommand extends Command
{
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:doc';
/**
* The console command description.
*/
protected $descrip... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Console/Commands/PublishCommand.php | src/Console/Commands/PublishCommand.php | <?php
namespace HasinHayder\TyroLogin\Console\Commands;
use Illuminate\Console\Command;
class PublishCommand extends Command
{
/**
* The name and signature of the console command.
*/
protected $signature = 'tyro-login:publish
{--config : Publish only configuration}
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Models/SocialAccount.php | src/Models/SocialAccount.php | <?php
namespace HasinHayder\TyroLogin\Models;
use HasinHayder\TyroLogin\Casts\EncryptedOrPlaintext;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class SocialAccount extends Model {
/**
* The table associated with the model.
*/
protected $table = 'soc... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/src/Providers/TyroLoginServiceProvider.php | src/Providers/TyroLoginServiceProvider.php | <?php
namespace HasinHayder\TyroLogin\Providers;
use HasinHayder\TyroLogin\Console\Commands\DocCommand;
use HasinHayder\TyroLogin\Console\Commands\InstallCommand;
use HasinHayder\TyroLogin\Console\Commands\PublishCommand;
use HasinHayder\TyroLogin\Console\Commands\PublishStyleCommand;
use HasinHayder\TyroLogin\Consol... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/tests/Pest.php | tests/Pest.php | <?php
use HasinHayder\TyroLogin\Tests\TestCase;
uses(TestCase::class)->in('Feature', 'Unit');
| php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/tests/TestCase.php | tests/TestCase.php | <?php
namespace HasinHayder\TyroLogin\Tests;
use HasinHayder\TyroLogin\Providers\TyroLoginServiceProvider;
use HasinHayder\TyroLogin\Tests\Fixtures\User;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Orchestra\Testbench\TestCase as Orchestra;
abstract class TestCase extends Orchestra
{
use RefreshDataba... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/tests/Fixtures/User.php | tests/Fixtures/User.php | <?php
namespace HasinHayder\TyroLogin\Tests\Fixtures;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
class User extends Authenticatable
{
use HasFactory, Notifiable;
/**
* The attributes that are ma... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/tests/Feature/RegisterTest.php | tests/Feature/RegisterTest.php | <?php
use HasinHayder\TyroLogin\Tests\Fixtures\User;
use Illuminate\Support\Facades\Hash;
it('shows the registration form', function () {
$response = $this->get('/register');
$response->assertStatus(200);
$response->assertSee('Create an account');
});
it('can register a new user', function () {
$res... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/tests/Feature/LoginTest.php | tests/Feature/LoginTest.php | <?php
use HasinHayder\TyroLogin\Tests\Fixtures\User;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Hash;
it('shows the login form', function () {
$response = $this->get('/login');
$response->assertStatus(200);
$response->assertSee('Log in to your account');
});
it('can login with ... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/tests/Unit/ConfigTest.php | tests/Unit/ConfigTest.php | <?php
it('has the correct default configuration', function () {
expect(config('tyro-login.version'))->toBe('1.0.0');
expect(config('tyro-login.layout'))->toBe('centered');
expect(config('tyro-login.registration.enabled'))->toBeTrue();
expect(config('tyro-login.registration.auto_login'))->toBeTrue();
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/routes/web.php | routes/web.php | <?php
use HasinHayder\TyroLogin\Http\Controllers\LoginController;
use HasinHayder\TyroLogin\Http\Controllers\PasswordResetController;
use HasinHayder\TyroLogin\Http\Controllers\RegisterController;
use HasinHayder\TyroLogin\Http\Controllers\SocialAuthController;
use HasinHayder\TyroLogin\Http\Controllers\TwoFactorContr... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/config/tyro-login.php | config/tyro-login.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Tyro Login Version
|--------------------------------------------------------------------------
*/
'version' => '2.0.0',
/*
|------------------------------------------------------------------... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/database/migrations/2024_01_01_000001_add_two_factor_columns_to_users_table.php | database/migrations/2024_01_01_000001_add_two_factor_columns_to_users_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('users', function (Blueprint $table) {
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/database/migrations/2024_01_01_000000_create_social_accounts_table.php | database/migrations/2024_01_01_000000_create_social_accounts_table.php | <?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('social_accounts', function (Blueprint $table... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/login.blade.php | resources/views/login.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/register.blade.php | resources/views/register.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/two-factor-challenge.blade.php | resources/views/two-factor-challenge.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/two-factor-setup.blade.php | resources/views/two-factor-setup.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/lockout.blade.php | resources/views/lockout.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/two-factor-recovery-codes.blade.php | resources/views/two-factor-recovery-codes.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/otp-verify.blade.php | resources/views/otp-verify.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/reset-password.blade.php | resources/views/reset-password.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/forgot-password.blade.php | resources/views/forgot-password.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/email-not-verified.blade.php | resources/views/email-not-verified.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/verify-email.blade.php | resources/views/verify-email.blade.php | @extends('tyro-login::layouts.auth')
@section('content')
<div class="auth-container {{ $layout }}" @if($layout==='fullscreen' ) style="background-image: url('{{ $backgroundImage }}');" @endif>
@if(in_array($layout, ['split-left', 'split-right']))
<div class="background-panel" style="background-image: url('{{ $... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/emails/password-reset.blade.php | resources/views/emails/password-reset.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ $appName }}</title>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/emails/welcome.blade.php | resources/views/emails/welcome.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ $appName }}</title>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/emails/otp.blade.php | resources/views/emails/otp.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ $appName }}</title>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
hasinhayder/tyro-login | https://github.com/hasinhayder/tyro-login/blob/819729cf91d7cc025c48d470edc57311ff58d1ba/resources/views/emails/verify-email.blade.php | resources/views/emails/verify-email.blade.php | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{{ $appName }}</title>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
... | php | MIT | 819729cf91d7cc025c48d470edc57311ff58d1ba | 2026-01-05T04:19:41.505299Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.