mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-12-09 08:44:01 +01:00
Merge branch '3.3dev' into address_2952
This commit is contained in:
1
.github/workflows/shellcheck.yml
vendored
1
.github/workflows/shellcheck.yml
vendored
@@ -6,6 +6,7 @@ name: Shellcheck
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
- 't/**'
|
||||||
- 'utils/**'
|
- 'utils/**'
|
||||||
- 'doc/**'
|
- 'doc/**'
|
||||||
- 'bin/**'
|
- 'bin/**'
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ my $socket_errors='(e|E)rror|FIXME|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand
|
|||||||
my $openssl_errors='(e|E)rror|FIXME|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
|
my $openssl_errors='(e|E)rror|FIXME|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
|
||||||
my $json_errors='(id".*:\s"scanProblem"|severity".*:\s"FATAL"|"Scan interrupted")';
|
my $json_errors='(id".*:\s"scanProblem"|severity".*:\s"FATAL"|"Scan interrupted")';
|
||||||
|
|
||||||
|
# useful against "failed to flush stdout" messages
|
||||||
|
STDOUT->autoflush(1);
|
||||||
|
|
||||||
die "Unable to open $prg" unless -f $prg;
|
die "Unable to open $prg" unless -f $prg;
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ my @args="";
|
|||||||
# that can be done better but I am a perl n00b ;-)
|
# that can be done better but I am a perl n00b ;-)
|
||||||
my $os="$^O";
|
my $os="$^O";
|
||||||
|
|
||||||
|
# useful against "failed to flush stdout" messages
|
||||||
|
STDOUT->autoflush(1);
|
||||||
|
|
||||||
die "Unable to open $prg" unless -f $prg;
|
die "Unable to open $prg" unless -f $prg;
|
||||||
die "Unable to open $distro_openssl" unless -f $distro_openssl;
|
die "Unable to open $distro_openssl" unless -f $distro_openssl;
|
||||||
|
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client c
|
|||||||
my $openssl_fallback_cmd=""; # empty for Linux
|
my $openssl_fallback_cmd=""; # empty for Linux
|
||||||
my $os="$^O";
|
my $os="$^O";
|
||||||
|
|
||||||
|
# useful against "failed to flush stdout" messages
|
||||||
|
STDOUT->autoflush(1);
|
||||||
|
|
||||||
# my $socket_json="";
|
# my $socket_json="";
|
||||||
# my $openssl_json="";
|
# my $openssl_json="";
|
||||||
# $check2run_smtp="--jsonfile tmp.json $check2run_smtp";
|
# $check2run_smtp="--jsonfile tmp.json $check2run_smtp";
|
||||||
|
|||||||
@@ -21,6 +21,9 @@ my $openssl_out="";
|
|||||||
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
|
my $socket_regex_bl='(e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found';
|
||||||
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
|
my $openssl_regex_bl='(e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found';
|
||||||
|
|
||||||
|
# useful against "failed to flush stdout" messages
|
||||||
|
STDOUT->autoflush(1);
|
||||||
|
|
||||||
# my $socket_json="";
|
# my $socket_json="";
|
||||||
# my $openssl_json="";
|
# my $openssl_json="";
|
||||||
# $check2run="--jsonfile tmp.json $check2run";
|
# $check2run="--jsonfile tmp.json $check2run";
|
||||||
|
|||||||
Reference in New Issue
Block a user