This will serve SSH and HTTPS (with which I got an A+ from testssl).
Creates three docker containers:
- gitlab-prostgres
- gitlab-redis
- gitlab, which is linked to the other two. This contains nginx, sshd, git, gitlab.
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # | |
| # - https://github.com/mitre/caldera | |
| # | |
| #``` | |
| #vagrant up | |
| #``` | |
| # | |
| #Caldera will be running on http://172.30.1.2:8888 and only available from the current host and between local VMs. |
| Vagrant.configure("2") do |config| | |
| config.vm.define "k8smaster" do |k8smaster| | |
| k8smaster.vm.box = "generic/ubuntu1804" | |
| k8smaster.vm.hostname = "k8smaster" | |
| k8smaster.vm.network "private_network", ip: "192.168.10.2" | |
| k8smaster.vm.provider "vmware_fusion" do |v| | |
| v.memory = 6144 | |
| v.cpus = 3 | |
| end | |
| end |
| Vagrant.configure("2") do |config| | |
| config.vm.define "k8smaster" do |k8smaster| | |
| k8smaster.vm.box = "generic/ubuntu1804" | |
| k8smaster.vm.hostname = "k8smaster" | |
| k8smaster.vm.network "private_network", ip: "192.168.10.2" | |
| k8smaster.vm.provider "vmware_fusion" do |v| | |
| v.memory = 6144 | |
| v.cpus = 3 | |
| end | |
| end |
| 2020/03/18 06:26:21 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility. | |
| Use TF_LOG=TRACE to see Terraform's internal logs. | |
| ---- | |
| 2020/03/18 06:26:21 [INFO] Terraform version: 0.12.21 | |
| 2020/03/18 06:26:21 [INFO] Go runtime version: go1.12.13 | |
| 2020/03/18 06:26:21 [INFO] CLI args: []string{"/usr/bin/terraform", "apply", "-auto-approve"} | |
| 2020/03/18 06:26:21 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
| 2020/03/18 06:26:21 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2020/03/18 06:26:21 [INFO] CLI command args: []string{"apply", "-auto-approve"} | |
| 2020/03/18 06:26:21 [DEBUG] New state was assigned lineage "c9b38a89-fcce-92a1-389e-706ecf19bdca" |
| alert(1); |
| FROM sebp/elk:latest | |
| MAINTAINER auraltension "[email protected]" | |
| RUN apt-get update | |
| RUN apt-get install -y git nmap masscan python-pip | |
| RUN pip install requests elasticsearch xmltodict numpy | |
| RUN git clone https://github.com/maK-/scantastic-tool |
| #!/usr/bin/env bash | |
| # This requires bash 4+ | |
| # $ ./ossec-syscheck-decoder.sh | |
| # File: /etc/sudoers | |
| # Date: Tue Jun 2 15:45:45 AEST 2015 | |
| # # of changes: 0 changes | |
| # File Size: 4002 Bytes | |
| # File Mode: 100440 |
#/usr/bin/env bash
LIST=$1
LEN=$2
for i in $(cat $LIST); do
[ ${#i} -le $LEN ] && echo $i
done