Files
metasploit-gs/test/functional/meterpreter/java_meterpreter_specs.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
447 B
Ruby
Raw Normal View History

2011-01-07 20:17:32 +00:00
module MsfTest
module JavaMeterpreterSpecs
2013-09-30 13:47:53 -05:00
## This file is intended to be used in conjunction with a harness,
## such as meterpreter_win32_spec.rb
2022-04-28 15:06:43 +01:00
2013-09-30 13:47:53 -05:00
def self.included(base)
2011-01-07 20:17:32 +00:00
base.class_eval do
2013-09-30 13:47:53 -05:00
it "should not error when taking a screenshot" do
success_strings = [ 'Screenshot saved to' ]
hlp_run_command_check_output("screenshot", "screenshot", success_strings)
2022-04-28 15:06:43 +01:00
end
2013-09-30 13:47:53 -05:00
end
end
end
2011-01-07 20:17:32 +00:00
end