Exclude Manual ranked encoders from automatic selection, these can still be specified with -e
parent
093ca31c7d
commit
9dd82d94ae
|
@ -375,7 +375,7 @@ module Msf
|
||||||
e.datastore.import_options_from_hash(datastore)
|
e.datastore.import_options_from_hash(datastore)
|
||||||
encoders << e if e
|
encoders << e if e
|
||||||
end
|
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
|
else
|
||||||
encoders
|
encoders
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue