Make Shell Scripts' Shebang more consistent and portable

This commit is contained in:
Peter Dave Hello 2021-05-31 15:27:37 +08:00
parent 4d62f08308
commit 50ee914ee4
9 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# on the command line:

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
image="rsnow/nginx"
docker pull $image

View File

@ -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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
hs="$1"
len=${#hs}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
hs="$1"
len=${#hs}

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#
# vim:tw=90:ts=5:sw=5
#

View File

@ -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

View File

@ -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