File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ my $uri="google.com";
2020my $socket_out =" " ;
2121my $openssl_out =" " ;
2222# Blacklists we use to trigger an error:
23- my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal' ;
24- my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem' ;
23+ my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found ' ;
24+ my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found ' ;
2525my $json_regex_bl =' (id".*:\s"scanProblem"|severity".*:\s"FATAL"|"Scan interrupted")' ;
2626
2727my $socket_json =" " ;
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ my $uri="";
2020my $socket_out =" " ;
2121my $openssl_out =" " ;
2222# Blacklists we use to trigger an error:
23- my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal' ;
24- my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem' ;
23+ my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found ' ;
24+ my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found ' ;
2525
2626# my $socket_json="";
2727# my $openssl_json="";
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ my $uri="";
2323my $socket_out =" " ;
2424my $openssl_out =" " ;
2525# Blacklists we use to trigger an error:
26- my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal' ;
27- my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem' ;
26+ my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found ' ;
27+ my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found ' ;
2828
2929# my $socket_json="";
3030# my $openssl_json="";
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ my $uri="";
1818my $socket_out =" " ;
1919my $openssl_out =" " ;
2020# Blacklists we use to trigger an error:
21- my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal' ;
22- my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem' ;
21+ my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found ' ;
22+ my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found ' ;
2323
2424# my $socket_json="";
2525# my $openssl_json="";
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ my $uri="";
1414my $json =" " ;
1515my $out =" " ;
1616# Blacklists we use to trigger an error:
17- my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal' ;
18- my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem' ;
17+ my $socket_regex_bl =' (e|E)rror|\.\/testssl\.sh: line |(f|F)atal|(c|C)ommand not found ' ;
18+ my $openssl_regex_bl =' (e|E)rror|(f|F)atal|\.\/testssl\.sh: line |Oops|s_client connect problem|(c|C)ommand not found ' ;
1919
2020die " Unable to open $prg " unless -f $prg ;
2121
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11### Naming scheme
22
33* 00-05: Does the bare testssl.sh work at all?
4- * 06-09 : Does the reporting work at all ?
5- * 20 -39: Do scans work fine (client side) ?
4+ * 10-29 : Do scans work fine (client side) ?
5+ * 30 -39: Does reporting work?
66* 50-69: Are the results what I expect (server side)?
77
88Please help to write Travis/CI tests! Documentation can be found [ here] ( https://perldoc.perl.org/Test/More.html ) .
9- You can consult the existing code here. Feel free to use ` 20_baseline_ipv4_http .t` or ` 23_client_simulation.t ` as a
9+ You can consult the existing code here. Feel free to use ` 10_baseline_ipv4_http .t` or ` 23_client_simulation.t ` as a
1010template.
You can’t perform that action at this time.
0 commit comments