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
{ | |
"product":{ | |
"styles":{ | |
"product":{ | |
"@media (min-width: 601px)":{ | |
"max-width":"calc(25% - 20px)", | |
"margin-left":"20px", | |
"margin-bottom":"50px" | |
}, | |
"price":{ |
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 | |
/** | |
* @file | |
* Definition of Drupal\my_style\Plugin\views\style\MyStyle. | |
*/ | |
namespace Drupal\my_style\Plugin\views\style; | |
use Drupal\core\form\FormStateInterface; |
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 | |
echo "<h1>This is a vulnerable site</h1>"; | |
// | |
// basic basic proxy | |
// | |
function postToString() { | |
$query_string = ""; | |
if ($_POST) { | |
$kv = array(); | |
foreach ($_POST as $key => $value) { |
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 Defence { | |
protected $url; | |
protected $postData; | |
protected $query_string; | |
} |
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
your_details: | |
'#type': fieldset | |
'#title': 'Your Details' | |
application_type: | |
'#type': fieldset | |
'#title': Type | |
choose_one_option: | |
'#type': radios | |
'#title': 'Please select an Application Type' | |
'#options': |
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 Drupal\Tests\bravo_testing\Functional\BravoFunctionalTestBase; | |
/** | |
* Tests for the custom block. | |
*/ | |
class CustomBlockFunctionalTest extends BravoFunctionalTestBase { | |
/** |
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
Host * | |
ForwardAgent yes | |
Host 127.0.0.1 | |
ForwardAgent yes |