This file contains 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 | |
# MrChoke | |
# Ref: https://docs.docker.com/engine/reference/commandline/history/ | |
# Ref: https://stackoverflow.com/questions/19104847/how-to-generate-a-dockerfile-from-an-image | |
if [ $# -eq 0 ]; then | |
echo "No docker image provided." | |
echo -e "Example:\n" | |
echo -e "$0 nginx:latest\n" | |
exit 1 |
Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)
- If you want to add a link, comment or send it to me
- Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak
- Royce Williams list sorted by vendors responses Royce List
- Very detailed list NCSC-NL
- The list maintained by U.S. Cybersecurity and Infrastructure Security Agency: CISA List
This tutorial is dated Oct 2021, if it's much further on than that this information might be out of date.
This is a guide on setting up a static HTTPS website on your raspberry pi using docker and nginx. The aim is to have this running on the raspberry pi and to be able to access it from a host computer on the same local network. You should already be able to ssh into your pi from your host computer and have raspberry pi OS set up.
This file contains 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 | |
# Licensed to Elasticsearch B.V. under one or more contributor | |
# license agreements. See the NOTICE file distributed with | |
# this work for additional information regarding copyright | |
# ownership. Elasticsearch B.V. licenses this file to you under | |
# the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http:#www.apache.org/licenses/LICENSE-2.0 |
This file contains 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
version: '2.2' | |
services: | |
node01: | |
image: docker.elastic.co/elasticsearch/elasticsearch:7.11.1 | |
#stdin_open: true # docker run -i | |
#tty: true # docker run -t | |
container_name: node01 | |
environment: | |
- node.name=node01 | |
- cluster.name=es-cluster-7 |
This file contains 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
### root-san.cnf | |
[ req ] | |
default_bits = 4096 | |
distinguished_name = req_distinguished_name | |
req_extensions = req_ext | |
prompt = no | |
[ req_distinguished_name ] | |
countryName = IT | |
stateOrProvinceName = Milan | |
localityName = Milan |
This file contains 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
version: '3.7' | |
# starts 4 docker containers running minio server instances. Each | |
# minio server's web interface will be accessible on the host at port | |
# 9001 through 9004. | |
services: | |
minio1: | |
image: minio/minio:RELEASE.2020-08-18T19-41-00Z | |
volumes: | |
- data1-1:/data1 |
This file contains 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 | |
logstash_response="$(curl --silent localhost:9600)" | |
if echo $logstash_response | grep -q '"status":"green"' | |
then | |
echo "Logstash is green. It's ok :-)" | |
exit 0 | |
else | |
echo "Logstash is not green :-( plz help" | |
exit 1 | |
fi |
NewerOlder