Skip to content

Commit 9d4a3ca

Browse files
egypttodb
authored andcommitted
Fix a typo that broke this module against x64
[SeeRM rapid7#7747]
1 parent 04ec4e4 commit 9d4a3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/jboss_maindeployer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ def detect_architecture(res)
350350
arch = $1
351351
if (arch =~ /(x86|i386|i686)/i)
352352
return ARCH_X86
353-
elsif (os =~ /(x86_64|amd64)/i)
353+
elsif (arch =~ /(x86_64|amd64)/i)
354354
return ARCH_X86
355355
end
356356
end

0 commit comments

Comments
 (0)