This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Vite { | |
| /** | |
| * Flag to determine whether hot server is active. | |
| * Calculated when Vite::initialise() is called. | |
| * | |
| * @var bool | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Illuminate\Contracts\Console\Kernel; | |
| use Illuminate\Http\Client\PendingRequest; | |
| use Illuminate\Support\Facades\Http; | |
| define('LARAVEL_START', microtime(true)); | |
| // this project requires access to Laravel features | |
| $path = '~/laravel-project-dir/'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| declare(strict_types=1); | |
| // usage (arguments in square braces are required) | |
| // php convert.php [filename.mp4] outputDir --noAudio --profiles=1080p,720p --segmentDuration=10 | |
| // load our CLI arguments | |
| $inputFile = $argv[1] ?? null; | |
| $outputDir = $argv[2] ?? 'output'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Run this script as python3 ./livewire_scan.py | |
| # This will find all composer.lock files and check for vulnerable versions | |
| import os | |
| import json | |
| import re | |
| # Vulnerability Definitions | |
| # CVE-2025-54068 affects Livewire v3.0.0-beta.1 up to v3.6.3. | |
| # Patched in v3.6.4. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Integrations; | |
| use Illuminate\Http\Client\Response; | |
| use Motomedialab\Connector\BaseRequest; | |
| use Motomedialab\Connector\Enums\RequestMethod; | |
| use Motomedialab\Connector\Contracts\RequestInterface; | |
| /** |
OlderNewer