We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8bef4e4 + e5c05c0 commit edbe1c3Copy full SHA for edbe1c3
modules/post/osx/capture/screen.rb
@@ -72,7 +72,7 @@ def run
72
cmd_exec("mkdir -p #{tmp_path}")
73
filename = Rex::Text.rand_text_alpha(7)
74
file = "#{tmp_path}/#{filename}"
75
- cmd_exec("#{exe_path} -C -t #{file_type} #{file}")
+ cmd_exec("#{exe_path} -x -C -t #{file_type} #{file}")
76
data = read_file(file)
77
file_rm(file)
78
rescue ::Rex::Post::Meterpreter::RequestError => e
0 commit comments