Skip to content

Commit b89c4d1

Browse files
committed
Rank checking should only run against exploit modules
1 parent 82189d9 commit b89c4d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/msftidy.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ def test_old_rubies(f_rel)
7474
end
7575

7676
def check_ranking
77+
return if @source !~ / \< Msf::Exploit/
78+
7779
available_ranks = [
7880
'ManualRanking',
7981
'LowRanking',

0 commit comments

Comments
 (0)