cacert-webdb/scripts/findexp3.pl

15 lines
216 B
Perl
Raw Normal View History

2008-01-13 13:55:32 +00:00
#!/usr/bin/perl -w
foreach (<../crt/*>)
{
my $res=`openssl x509 -in $_ -text -noout`;
if($res=~m/Exponent: 65537 /)
{
print "Alert: $_ is affected!\n";
}
else
{
#print "$_ not affected\n";
}
}