#/usr/bin/env bash
LIST=$1
LEN=$2
for i in $(cat $LIST); do
[ ${#i} -le $LEN ] && echo $i
done
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
#!/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 |
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
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 |
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
alert(1); |
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
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" |
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
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 |
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
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 |
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
# -*- 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. |