merge testing->tomerge/main #7
@@ -16,6 +16,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
inotify-tools \
|
inotify-tools \
|
||||||
psmisc \
|
psmisc \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
|
iputils-ping \
|
||||||
|
ca-certificates \
|
||||||
|
nmap \
|
||||||
jq \
|
jq \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
@@ -210,6 +210,13 @@ def test_dockerfile_installs_attribution_tools():
|
|||||||
assert pkg in df, f"missing {pkg} in Dockerfile"
|
assert pkg in df, f"missing {pkg} in Dockerfile"
|
||||||
|
|
||||||
|
|
||||||
|
def test_dockerfile_installs_default_recon_tools():
|
||||||
|
df = _dockerfile_text()
|
||||||
|
# Attacker-facing baseline: a lived-in box has these.
|
||||||
|
for pkg in ("iputils-ping", "ca-certificates", "nmap"):
|
||||||
|
assert pkg in df, f"missing {pkg} in Dockerfile"
|
||||||
|
|
||||||
|
|
||||||
def test_dockerfile_copies_capture_script():
|
def test_dockerfile_copies_capture_script():
|
||||||
df = _dockerfile_text()
|
df = _dockerfile_text()
|
||||||
# Installed under plausible udev path to hide from casual `ps` inspection.
|
# Installed under plausible udev path to hide from casual `ps` inspection.
|
||||||
|
|||||||
Reference in New Issue
Block a user