You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/msf/core/payload/stager.rb
+31-17Lines changed: 31 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ def initialize(info={})
16
16
[
17
17
Msf::OptBool.new("EnableStageEncoding",[false,"Encode the second stage payload",false]),
18
18
Msf::OptString.new("StageEncoder",[false,"Encoder to use if EnableStageEncoding is set",nil]),
19
-
Msf::OptString.new("StageEncoderSaveRegisters",[false,"Additional registers to preserve in the staged payload if EnableStageEncoding is set",""])
19
+
Msf::OptString.new("StageEncoderSaveRegisters",[false,"Additional registers to preserve in the staged payload if EnableStageEncoding is set",""]),
20
+
Msf::OptBool.new("StageEncodingNoFallBack",[false,"If encoders choosen in StageEncoder are not compatible to stage encoding fallback to no encoding otherwise fallback to automatic selected one",true])
20
21
],Msf::Payload::Stager)
21
22
22
23
end
@@ -100,7 +101,7 @@ def stage_over_connection?
100
101
# @return [Boolean]
101
102
defencode_stage?
102
103
# Convert to string in case it hasn't been normalized
0 commit comments