Skip to content

Instantly share code, notes, and snippets.

@cappetta
cappetta / gist:bd1209845a69d85a8bb8f69fd1d0d9e1
Created March 8, 2017 03:46
Default User Names for AMI's
https://alestic.com/2014/01/ec2-ssh-username/
SSh User Names & OS matrix
setup your workspace the way you want and then save the arrangement to use it again later.
To create a new pane:
* use Command + Shift + D for a horizontal split.
* use Command + D for a vertical split.
* use Command + [ or ] to Select the previous ([) or next (]) pane.
* use Command + Shift + S to save the window arrangement.
* use Command + Shift + R to launch your default arrangement.
* use Command + Shift + Enter to Maximize the active pane.
* use Command + Option + [Arrow Key] to Switch to the next pane in that direction.
@cappetta
cappetta / behat-mink-function-webdocs-url
Created November 12, 2018 04:42
simple url to online docs of behat mink functions
http://apigen.juzna.cz/doc/Behat/Mink/index.html
version: '2'
services:
mariadb:
image: 'bitnami/mariadb:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=bn_magento
- MARIADB_PASSWORD=magento
- MARIADB_DATABASE=magento
@cappetta
cappetta / gist:69b7cffd6335e710688244776dcd1c8a
Created August 22, 2020 03:25
CyberRange LifeCycle Test Using Command Center
Test the Cyber Range LifeCycle using the CommandCenter docker container.
1. start the AWS Cyber Range CommandCenter docker container. Export your keys then run the container.
export aws_access_key_id=example_access_key_id
export aws_secret_access_key=example_secret_key
docker run -it -e AWS_ACCESS_KEY_ID=$aws_access_key_id -e AWS_SECRET_ACCESS_KEY=$aws_secret_access_key awscyberrange/commandcenter:latest /bin/bash
2. update the variables.tf and add your external IP address the ip is located in https://github.com/secdevops-cuse/CyberRange/tree/master/terraform/modules/infrastructure/secdevops/variables.tf#L1 (edited)
3. Perform the following steps