From 2ff8c0a59015874eaf5f05642681da834f20dcd8 Mon Sep 17 00:00:00 2001 From: Roys Manfo <94235711+roysmanfo@users.noreply.github.com> Date: Fri, 5 Jul 2024 20:14:31 +0200 Subject: [PATCH] fix typo in the run-tests.sh --- run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.sh b/run-tests.sh index f785b8a0..3daa6d11 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -8,7 +8,7 @@ echo "[!] we can only test centos and ubuntu locally" CENTOS_CONTAINER=$(podman run --rm -d -p :22 -p :4444 -p :9999 -t calebjstewart/pwncat-testing:centos) echo "[+] started centos container: $CENTOS_CONTAINER" UBUNTU_CONTAINER=$(podman run --rm -d -p :22 -p :4444 -p :9999 -t calebjstewart/pwncat-testing:ubuntu) -echo "[+] started centos container: $UBUNTU_CONTAINER" +echo "[+] started ubuntu container: $UBUNTU_CONTAINER" CENTOS_BIND_PORT=$(podman inspect "$CENTOS_CONTAINER" | jq -r '.[0].HostConfig.PortBindings["4444/tcp"][0].HostPort') UBUNTU_BIND_PORT=$(podman inspect "$UBUNTU_CONTAINER" | jq -r '.[0].HostConfig.PortBindings["4444/tcp"][0].HostPort')