Searching for Exponents
This commit is contained in:
parent
a5894917d7
commit
550cea3d47
1 changed files with 14 additions and 0 deletions
14
scripts/findexp3.pl
Normal file
14
scripts/findexp3.pl
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/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";
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue