Benign go Download

github.com/deckhouse/deckhouse v0.0.0-20260628142627-3035737d37f9

chattr -R -i recursively clears immutabilityEchoes colon-separated shell variable pair

Evidence

HTTP or HTTPS URL reference lines 1–10
1# Copyright 2023 Flant JSC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "A …
References /etc/sudoers configuration lines 23–52
23:48… ode.sh"
24
25PATHS_TO_REMOVE=(
26 /var/cache/registrypackages
27 /etc/kubernetes
28 /var/lib/kubelet
29 /var/lib/containerd
30 /etc/cni
⋯5 lines
36 /opt/deckhouse
37 /var/lib/deckhouse
38 /var/log/kube-audit
39 /var/log/pods
40 /var/log/containers
41 /var/log/containerd
42 /etc/logrotate.d/containerd-integrity.conf
43 /var/lib/upmeter
44 /etc/sudoers.d/sudoers_flant_kubectl
45 /etc/sudoers.d/30-deckhouse-nodeadmins
46 /home/deckhouse
⋯6 lines
System-wide /etc/systemd directory lines 61–69
61:22… e-logger-logrotate.timer
62 kubelet.service
63)
64
65SYSTEMD_FILES=(
66 /etc/systemd/system/bashible.*
67 /etc/systemd/system/sysctl-tuner.*
68 /etc/systemd/system/old-csi-mount-cleaner.*
69 /etc/systemd/system/d8-c …
References the systemd library directory lines 69–74
69:38… group-migration.*
70 /etc/systemd/system/containerd-deckhouse*
71 /lib/systemd/system/containerd-deckhouse*
72 /etc/systemd/system/d8-shutdown-inhibitor*
73 /lib/systemd/system/d8-shutdown-inhibitor*
74 /etc/sy …
chattr -R -i recursively clears immutability lines 191–205
191# Remove immutable bit
192if [ -d /var/lib/containerd/io.containerd.snapshotter.v1.erofs ]; then
193 chattr -R -i /var/lib/containerd/io.containerd.snapshotter.v1.erofs 2>/dev/null || true
194fi
195
196# Remove systemd files
197log_info "Removing systemd unit files and reloading systemd"
198rm -rf "${SYSTEMD_FILES[@]}"
199systemctl daemon-reload
200systemctl -s SIGHUP kill systemd-logind
201
⋯4 lines

Showing the top 5 files — 7 more files (176 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.