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
+46-25Lines changed: 46 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ def initialize(info={})
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
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
+
Msf::OptBool.new("StageEncodingFallback",[false,"Fallback to default encoders or no encoding if the selected StageEncoder is not compatible",true])
21
21
],Msf::Payload::Stager)
22
22
23
23
end
@@ -94,14 +94,12 @@ def stage_over_connection?
94
94
true
95
95
end
96
96
97
-
98
97
#
99
98
# Whether to use an Encoder on the second stage
100
99
#
101
100
# @return [Boolean]
102
101
defencode_stage?
103
-
# Convert to string in case it hasn't been normalized
0 commit comments