Skip to content

Commit

Permalink
fixed issue as compare strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuya-Miyoshi committed Oct 25, 2019
1 parent 4192949 commit 73908d8
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 @@ -75,7 +75,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 73908d8

Please sign in to comment.