https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
- Use an AWS KMS-Managed Customer Master Key (CMK)
- Use a Client-Side Master Key
| version: '2' | |
| services: | |
| freepbx-app: | |
| container_name: freepbx-app | |
| image: tiredofit/freepbx | |
| ports: | |
| #### If you aren't using a reverse proxy | |
| #- 80:80 | |
| #### If you want SSL Support and not using a reverse proxy |
| version: '2' | |
| services: | |
| portainer: | |
| image: portainer/portainer | |
| command: -H unix:///var/run/docker.sock | |
| volumes: | |
| - /var/run/docker.sock:/var/run/docker.sock | |
| - portainer_data:/data |
| example.com { | |
| tls [email protected] | |
| root /var/www/wordpress | |
| gzip | |
| fastcgi / /run/php/php7.2-fpm.sock php | |
| rewrite { | |
| if {path} not_match ^\/wp-admin | |
| to {path} {path}/ /index.php?{query} | |
| } | |
| } |
| mtr | |
| tshark | |
| netcat | |
| nmap | |
| nethogs | |
| iptraf |
| #m h dom mon dow command | |
| 30 06 * * 0 pgbackrest --type=full --stanza=staging backup | |
| 30 06 * * 1-6 pgbackrest --type=diff --stanza=staging backup |
| # nmap -p80 -Pn -oG - 10.1.0.1/24 | |
| # | |
| Host: 10.1.0.43 () Ports: 80/open/tcp//http/// | |
| $1 $2 $3 $4 $5 | |
| # nmap -p80 -Pn -oG - 10.1.0.1/24 | awk '/open/{print $2 " " $3}' | |
| 10.1.0.1 () | |
| 10.1.0.2 () | |
| ... |
| //snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] | |
| //snippet-sourceauthor:[Doug-AWS] | |
| //snippet-sourcedescription:[Creates a KMS key.] | |
| //snippet-keyword:[AWS Key Management Service] | |
| //snippet-keyword:[CreateKey function] | |
| //snippet-keyword:[Go] | |
| //snippet-service:[kms] | |
| //snippet-sourcetype:[full-example] | |
| //snippet-sourcedate:[2018-03-16] | |
| /* |
| #snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] | |
| #snippet-sourceauthor:[Doug-AWS] | |
| #snippet-sourcedescription:[Creates a customer master key using KMS.] | |
| #snippet-keyword:[AWS Key Management Service] | |
| #snippet-keyword:[create_key method] | |
| #snippet-keyword:[Ruby] | |
| #snippet-service:[kms] | |
| #snippet-sourcetype:[full-example] | |
| #snippet-sourcedate:[2018-03-16] | |
| # Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingClientSideEncryption.html
| #!/bin/sh | |
| case "$SSH_ORIGINAL_COMMAND" in | |
| *\&*) | |
| echo "Rejected" | |
| ;; | |
| *\(*) | |
| echo "Rejected" | |
| ;; | |
| *\{*) |