Skip to content

Commit

Permalink
Merge pull request #47 from Yuya-Miyoshi/fix3
Browse files Browse the repository at this point in the history
fix issue as comparing component version
  • Loading branch information
Ali Razmjoo committed Jun 7, 2021
2 parents 7e94fa8 + 7f12db9 commit 4dd7bf5
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 @@ -63,7 +63,7 @@
$tmp.="$comversion\n";
$a=$comversion;
$b=@matches[6];
if(!&version_compare("$a","$b") == 1) {
if(&version_compare("$a","$b") == -1) {

$tmp.= "[!] We found vulnerable component\n";
}else{
Expand Down

0 comments on commit 4dd7bf5

Please sign in to comment.