From a5a33cac4a2096f82d298a5cdf8746fcfcf08023 Mon Sep 17 00:00:00 2001 From: konsthol Date: Wed, 6 Sep 2023 22:06:16 +0300 Subject: [PATCH] I am the greatest javascript developer in the world. --- harden | 3 +++ 1 file changed, 3 insertions(+) diff --git a/harden b/harden index 583c3f0..ca1c535 100755 --- a/harden +++ b/harden @@ -492,6 +492,9 @@ EOF } function dynamicDockerPortsCronjob { +# Part of the code responsible for the comparison +# of the arrays was taken from: +# https://stackoverflow.com/questions/2312762/compare-difference-of-two-arrays-in-bash sudo mkdir -p /root/bin cat << 'TOHERE' | sudo tee /root/bin/dynamic_docker_ports_cronjob.sh > /dev/null 2>&1 #!/usr/bin/env bash