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
Request URL: https://www.jakub-boucek.cz/img/profil.jpg | |
Request Method: GET | |
Status Code: 200 | |
Remote Address: 151.101.1.195:443 | |
Referrer Policy: no-referrer-when-downgrade | |
:authority: www.jakub-boucek.cz | |
:method: GET | |
:path: /img/profil.jpg | |
:scheme: https |
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 | |
/** | |
* Troll your script-kiddie exploiters of CVE-2020-15227 vulnerability | |
* Make response which gives false hope | |
*/ | |
private static function trollExploiters(): void | |
{ | |
if (strpos($_SERVER['REQUEST_URI'] ?? '', '/nette.micro') === 0) { | |
header('Content-Type: text/plain'); |
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
javascript:(function(){let l=document.location;let u=new window.URL(l.href);let s=u.searchParams;let q=s.get('q')+' -site:w3schools.com';s.set('q',q);s.set('oq',q);l.assign(u);})() |
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); | |
use Nette\Schema\Elements\Type; | |
use Nette\Schema\Expect; | |
require __DIR__ . '/vendor/autoload.php'; | |
$childrenList = (new Type('array'))->default([]); |
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); | |
// $_POST <--- do této proměnné se ukládají data z formuláře. | |
echo "<h1>Data z formuláře</h1>"; | |
echo "<ul>"; | |
foreach ($_POST as $name => $value) { | |
echo "<li><strong>" . htmlspecialchars($name) . ":</strong> " . htmlspecialchars($value) . "</li>"; |
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 | |
$token = 'FILL/YOUR/TOKEN/HERE+FILL/YOUR/TOKEN/HERE='; // <-- Fill it | |
$context = stream_context_create([ | |
'http' => [ | |
'protocol_version' => 1.1, | |
'header' => "Authorization: Bearer {$token}", | |
], | |
]); |
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 | |
// CONFIGURATION | |
$uploadPath = 'upload'; // <-- directory to save images | |
$wwwPath = ''; // <-- url to uplaod directory (optional - will be filled) | |
$secretKey = ''; // <-- secret key - optional, fill to protect endpoint | |
// SECURITY CONFIG - do not modify when you not understand consequences | |
$allowedExts = ['png', 'jpg']; | |
$allowedChars = '-a-z0-9.'; |
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
{ | |
"Agendy a rejstříky krajských soudů": { | |
"Trestní agenda": [ | |
[ | |
"T", | |
"rejstřík pro věci trestní", | |
null | |
], | |
[ | |
"Tm", |
OlderNewer