Skip to content

Commit c5262a3

Browse files
committed
Update the description about AllowUnencrypted
1 parent d3bb2b4 commit c5262a3

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

modules/auxiliary/scanner/winrm/winrm_login.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ def initialize
2828
'Description' => %q{
2929
This module attempts to authenticate to a WinRM service. It currently
3030
works only if the remote end allows Negotiate(NTLM) authentication.
31-
Kerberos is not currently supported.
32-
},
31+
Kerberos is not currently supported. Please note: in order to use this
32+
module, the 'AllowUnencrypted' winrm option must be set.
33+
},
3334
'Author' => [ 'thelightcosine' ],
3435
'References' =>
3536
[
@@ -77,3 +78,8 @@ def test_request
7778
end
7879

7980
end
81+
82+
=begin
83+
To set the AllowUncrypted option:
84+
winrm set winrm/config/service @{AllowUnencrypted="true"}
85+
=end

modules/auxiliary/scanner/winrm/winrm_wql.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ def initialize
2929
'Description' => %q{
3030
This module runs WQL queries against remote WinRM Services.
3131
Authentication is required. Currently only works with NTLM auth.
32-
},
32+
Please note in order to use this module, the 'AllowUnencrypted'
33+
winrm option must be set.
34+
},
3335
'Author' => [ 'thelightcosine' ],
3436
'License' => MSF_LICENSE
3537
)
@@ -69,6 +71,12 @@ def run_host(ip)
6971
print_status "Results saved to #{path}"
7072
end
7173

74+
end
7275

76+
=begin
77+
=begin
78+
To set the AllowUncrypted option:
79+
winrm set winrm/config/service @{AllowUnencrypted="true"}
80+
=end
7381

74-
end
82+
=end

0 commit comments

Comments
 (0)