diff --git a/lib/msf/core/post/file.rb b/lib/msf/core/post/file.rb index c9cd6aa469..ea69578a79 100644 --- a/lib/msf/core/post/file.rb +++ b/lib/msf/core/post/file.rb @@ -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')