Skip to content

Commit

Permalink
Rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
uurien committed Dec 2, 2024
1 parent 67d21c8 commit 55d6e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class InjectionAnalyzer extends Analyzer {
return false
}

return this._rangesAreExpected(getRanges(iastContext, value))
return this._areRangesVulnerable(getRanges(iastContext, value))
}

return false
Expand All @@ -21,7 +21,7 @@ class InjectionAnalyzer extends Analyzer {
return { value, ranges }
}

_rangesAreExpected (ranges) {
_areRangesVulnerable (ranges) {
if (!ranges) return false

const nonRowRanges = ranges.filter(range => range.iinfo.type !== SQL_ROW_VALUE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class SqlInjectionAnalyzer extends InjectionAnalyzer {
}
}

_rangesAreExpected () {
_areRangesVulnerable () {
return true
}
}
Expand Down

0 comments on commit 55d6e19

Please sign in to comment.