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')