diff --git a/utils/ccs-injection.bash b/utils/ccs-injection.bash index 7302309..ff672ec 100755 --- a/utils/ccs-injection.bash +++ b/utils/ccs-injection.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # POC bash socket implementation of CCS Injection vulnerability in OpenSSL (CVE-2014-0224), # see https://www.openssl.org/news/secadv_20140605.txt diff --git a/utils/checkcert.sh b/utils/checkcert.sh index 43d6976..58866c5 100755 --- a/utils/checkcert.sh +++ b/utils/checkcert.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # on the command line: diff --git a/utils/docker-nginx.tls13-earlydata.start.sh b/utils/docker-nginx.tls13-earlydata.start.sh index ebed9e2..06a86a0 100755 --- a/utils/docker-nginx.tls13-earlydata.start.sh +++ b/utils/docker-nginx.tls13-earlydata.start.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash image="rsnow/nginx" docker pull $image diff --git a/utils/heartbleed.bash b/utils/heartbleed.bash index c2bd122..c8bdbe8 100755 --- a/utils/heartbleed.bash +++ b/utils/heartbleed.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # POC bash socket implementation of heartbleed (CVE-2014-0160), see also http://heartbleed.com/ # Author: Dirk Wetter, GPLv2 see https://testssl.sh/LICENSE.txt diff --git a/utils/hexstream2cipher.sh b/utils/hexstream2cipher.sh index 527f20c..98c6f64 100755 --- a/utils/hexstream2cipher.sh +++ b/utils/hexstream2cipher.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash hs="$1" len=${#hs} diff --git a/utils/hexstream2curves.sh b/utils/hexstream2curves.sh index f62e154..8528b5c 100755 --- a/utils/hexstream2curves.sh +++ b/utils/hexstream2curves.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash hs="$1" len=${#hs} diff --git a/utils/make-openssl111.sh b/utils/make-openssl111.sh index 818a166..59835c1 100755 --- a/utils/make-openssl111.sh +++ b/utils/make-openssl111.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # # vim:tw=90:ts=5:sw=5 # diff --git a/utils/resume.sh b/utils/resume.sh index ccd2b2c..092f2d6 100755 --- a/utils/resume.sh +++ b/utils/resume.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # simple check for seesion resumption 1) by SID, 2) by tickets # Author: Dirk Wetter, GPLv2 see https://testssl.sh/LICENSE.txt diff --git a/utils/ticketbleed.bash b/utils/ticketbleed.bash index 0feaa89..50bf9c5 100755 --- a/utils/ticketbleed.bash +++ b/utils/ticketbleed.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Fast and reliable POC bash socket implementation of ticketbleed (CVE-2016-9244), see also http://ticketbleed.com/ # Author: Dirk Wetter, GPLv2 see https://testssl.sh/LICENSE.txt