Skip to content

Instantly share code, notes, and snippets.

View fadeldamen's full-sized avatar

Fadel Damen Schreiner fadeldamen

View GitHub Profile
@gohoyer
gohoyer / detect_log4shell.sh
Last active December 9, 2022 03:56
Script to detect vulnerable log4j on linux systems - CVE-2021-44228 - Log4Shell
#! /bin/bash
#
# Script to detect vulnerable log4j to CVE-2021-44228
#
# Autor: Gustavo Oliveira Hoyer
#
# Last update: 22/12/2021 - 08:19
#
# Minum version required
@kamermans
kamermans / configure_docker0.sh
Last active April 26, 2024 00:58
Change the IP subnet of Docker's docker0 interface
#!/bin/sh -e
#
# NOTE: Since Docker 1.10 (February 4, 2016), it has been possible to configure the
# Docker daemon using a JSON config file. On Linux, this file is normally located at
# /etc/docker/daemon.json. You should use this JSON config method if you are running
# a version of Docker that is at least 1.10!
# Here is an example configuration that sets the docker0 bridge IP to 192.168.254.1/24:
# {
# "bip": "192.168.254.1/24"
# }