Fix copypasta typo

GSoC/Meterpreter_Web_Console
William Vu 2018-09-24 15:17:59 -05:00
parent 3bda794f00
commit bbfac2af1c
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ module Msf::Post::File
# @param mode [Fixnum] Mode as an octal number
def chmod(path, mode = 0700)
if session.platform == 'windows'
raise "`chmod_x_file?' method does not support Windows systems"
raise "`chmod' method does not support Windows systems"
end
if session.type == 'meterpreter' && session.commands.include?('stdapi_fs_chmod')