Skip to content

Commit

Permalink
Merge pull request #46 from Yuya-Miyoshi/fix2
Browse files Browse the repository at this point in the history
fixed issue as compare strings
  • Loading branch information
Ali Razmjoo committed Jun 7, 2021
2 parents 0a00623 + 73908d8 commit 7e94fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exploit/components.pl
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

$tmp.= "Title : ". @matches[0] . "\n" if @matches[0] !~ /-/;
$tmp.= "Exploit date : ". @matches[2]. "\n" if @matches[2] !~ /-/;
$tmp.= "Reference : http://www.cvedetails.com/cve/CVE-". @matches[3]. "\n" if @matches[3] !~ /-/ and @matches[3] !~ /\,/;
$tmp.= "Reference : http://www.cvedetails.com/cve/CVE-". @matches[3]. "\n" if @matches[3] !~ /^-$/ and @matches[3] !~ /\,/;
if(index(@matches[3], ',') != -1){
print 123;
@pp=split(/\,/,@matches[3]);
Expand Down

0 comments on commit 7e94fa8

Please sign in to comment.