Skip to content

Commit 8d6cbf0

Browse files
committed
Make adobe_flash_uncompress_zlib_af multiplatform
1 parent c1b8cee commit 8d6cbf0

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

data/exploits/CVE-2015-0311/msf.swf

100755100644
2.4 KB
Binary file not shown.

lib/msf/core/exploit/remote/browser_exploit_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def get_payload(cli, browser_info)
598598

599599
p = regenerate_payload(cli, platform, arch)
600600

601-
unless p.arch.include?(arch)
601+
unless p.arch.include?(arch) || p.arch.include?('cmd')
602602
err = "The payload arch (#{p.arch * ", "}) is incompatible with the #{arch} target. "
603603
err << "Please check your payload setting."
604604
raise BESException, err

0 commit comments

Comments
 (0)