1
0
mirror of https://github.com/jtesta/ssh-audit.git synced 2025-07-04 13:02:49 -05:00

Send KEX before reading server's KEX during host key and GEX tests; this prevents deadlock against certain server implementations.

This commit is contained in:
Joe Testa
2021-01-20 15:27:38 -05:00
parent 338ffc5adb
commit 1ba4c7c7ca
3 changed files with 20 additions and 25 deletions

View File

@ -443,6 +443,7 @@ function run_test {
fi
cid=`docker run -d -p 2222:22 ${IMAGE_NAME}:${IMAGE_VERSION} ${server_exec}`
#echo "Running: docker run -d -p 2222:22 ${IMAGE_NAME}:${IMAGE_VERSION} ${server_exec}"
if [[ $? != 0 ]]; then
echo -e "${REDB}Failed to run docker image! (exit code: $?)${CLR}"
exit 1