Skip to content

Commit 4a5d2d1

Browse files
committed
Revert BrowserExploitServer mixin
1 parent aa919da commit 4a5d2d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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) || p.arch.include?('cmd')
601+
unless p.arch.include?(arch)
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)