Script to search for NullByte exploits
This commit is contained in:
parent
5ee56423df
commit
db7d458392
1 changed files with 14 additions and 0 deletions
14
scripts/findnull.pl
Normal file
14
scripts/findnull.pl
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
|
foreach (<../crt/*>)
|
||||||
|
{
|
||||||
|
my $res=`openssl x509 -in $_ -text -noout -inform der`;
|
||||||
|
if($res=~m/\\x00/)
|
||||||
|
{
|
||||||
|
print "Alert: $_ is affected!\n";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
#print "$_ not affected\n";
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue