Skip to content

Commit 5303079

Browse files
committed
Land rapid7#6262, local exploit add not implemented error
2 parents 2305e60 + b636aeb commit 5303079

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/msf/core/exploit/local.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,8 @@ class Msf::Exploit::Local < Msf::Exploit
1919
def exploit_type
2020
Msf::Exploit::Type::Local
2121
end
22+
23+
def run_simple(opts = {}, &block)
24+
raise NotImplementedError, ' - This way of running the local exploit is currently not supported.'
25+
end
2226
end

0 commit comments

Comments
 (0)