Skip to content

Commit 8483528

Browse files
committed
Restore generic.rb to the correct state
1 parent 1cf485f commit 8483528

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/msf/core/payload/generic.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,10 @@ def actual_arch
211211
arch = nil
212212

213213
if explicit_arch.nil? == false
214-
$stderr.puts "explicit"
215214
arch = explicit_arch
216215
elsif datastore['ARCH']
217-
$stderr.puts "datastore"
218216
arch = datastore['ARCH']
219217
elsif assoc_exploit
220-
$stderr.puts "assoc_exploit"
221218
arch = assoc_exploit.target_arch || ARCH_X86
222219
end
223220

@@ -236,8 +233,6 @@ def find_actual_payload
236233

237234
# Look for one based on the exploit's compatible set
238235
if(assoc_exploit)
239-
$stderr.puts "assoc_exploit #{assoc_exploit.name}"
240-
$stderr.puts "#{actual_arch} #{actual_platform.inspect}"
241236
self.actual_payload = framework.payloads.find_payload_from_set(
242237
assoc_exploit.compatible_payloads,
243238
actual_platform,

0 commit comments

Comments
 (0)