Exclude Manual ranked encoders from automatic selection, these can still be specified with -e

unstable
HD Moore 2015-05-18 15:47:15 -05:00
parent 093ca31c7d
commit 9dd82d94ae
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ module Msf
e.datastore.import_options_from_hash(datastore)
encoders << e if e
end
encoders.sort_by { |my_encoder| my_encoder.rank }.reverse
encoders.select{ |my_encoder| my_encoder.rank != ManualRanking }.sort_by { |my_encoder| my_encoder.rank }.reverse
else
encoders
end