mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 13:55:25 +01:00 
			
		
		
		
	Make Shell Scripts' Shebang more consistent and portable
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| #!/bin/bash  | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
|  | ||||
| # on the command line: | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| #!/bin/bash | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| image="rsnow/nginx" | ||||
| docker pull $image | ||||
|   | ||||
| @@ -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  | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| #!/bin/bash | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| hs="$1" | ||||
| len=${#hs} | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| #!/bin/bash | ||||
| #!/usr/bin/env bash | ||||
|  | ||||
| hs="$1" | ||||
| len=${#hs} | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| #!/bin/bash | ||||
| #!/usr/bin/env bash | ||||
| # | ||||
| #  vim:tw=90:ts=5:sw=5 | ||||
| # | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Peter Dave Hello
					Peter Dave Hello