CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/test/functional/meterpreter/java_meterpreter_specs.rb
Views: 1904
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