From 9d4a3ca729d97c47c64850c606cc6c4577b44683 Mon Sep 17 00:00:00 2001 From: James Lee Date: Tue, 19 Feb 2013 16:18:29 -0600 Subject: [PATCH] Fix a typo that broke this module against x64 [SeeRM #7747] --- modules/exploits/multi/http/jboss_maindeployer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/multi/http/jboss_maindeployer.rb b/modules/exploits/multi/http/jboss_maindeployer.rb index 7c36c1fa16..5d869b34ca 100644 --- a/modules/exploits/multi/http/jboss_maindeployer.rb +++ b/modules/exploits/multi/http/jboss_maindeployer.rb @@ -350,7 +350,7 @@ class Metasploit3 < Msf::Exploit::Remote arch = $1 if (arch =~ /(x86|i386|i686)/i) return ARCH_X86 - elsif (os =~ /(x86_64|amd64)/i) + elsif (arch =~ /(x86_64|amd64)/i) return ARCH_X86 end end