All Downloads are FREE. Search and download functionalities are using the official Maven repository.

images.basicClient.entrypoint.sh Maven / Gradle / Ivy

Go to download

Bill of Materials POM for the entire protocol attacker ecosystem used to keep dependencies in sync.

The newest version!
#!/bin/bash

tcpdump -i eth0 -U -w /output/dump.pcap &
# wait until target is available
while ! ping -c 1 $TARGET; do
  sleep 1
done

sleep 1
# only perform a single handshake
echo "Q" | openssl s_client -min_protocol SSLv3 -max_protocol TLSv1.3 $@ >> /output/output.log 2>&1
return1=$?

echo "Q" | openssl s_client -min_protocol SSLv3 -max_protocol TLSv1.2 $@ >> /output/output.log 2>&1
return2=$?

sleep 1
kill %1

[[ $return1 -eq 0 ]] || [[ $return2 -eq 0 ]]
exit $?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy