Browse files

Allow 'x64' and 'x86_64' for backcompat

  • Loading branch information...
1 parent e2cf22a commit 87eabaf91537a65afce51a80410967d74d5b115e @egypt egypt committed Oct 17, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 msfvenom
View
4 msfvenom
@@ -487,8 +487,8 @@ when /macho/i
$stdout.write bin
when /dll/i
dll = case opts[:arch]
- when /x86/; Msf::Util::EXE.to_win32pe_dll($framework, payload_raw)
- when /x64/; Msf::Util::EXE.to_win64pe_dll($framework, payload_raw)
+ when /x86/; Msf::Util::EXE.to_win32pe_dll($framework, payload_raw)
+ when /x64|x86_64/; Msf::Util::EXE.to_win64pe_dll($framework, payload_raw)
end
if dll.nil?
print_error("This format does not support that architecture")

0 comments on commit 87eabaf

Please sign in to comment.