CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/functional/meterpreter/java_meterpreter_specs.rb
Views: 11780
1
module MsfTest
2
module JavaMeterpreterSpecs
3
## This file is intended to be used in conjunction with a harness,
4
## such as meterpreter_win32_spec.rb
5
6
def self.included(base)
7
base.class_eval do
8
it "should not error when taking a screenshot" do
9
success_strings = [ 'Screenshot saved to' ]
10
hlp_run_command_check_output("screenshot", "screenshot", success_strings)
11
end
12
end
13
end
14
end
15
end
16
17