File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ def winrm_get_cmd_streams(response)
178
178
rxml = REXML ::Document . new ( xml ) . root
179
179
rxml . elements . to_a ( "//rsp:Stream" ) . each do |node |
180
180
next if node . text . nil?
181
- streams [ node . attributes [ 'Name' ] ] << Rex ::Text . base64_decode ( node . text )
181
+ streams [ node . attributes [ 'Name' ] ] << Rex ::Text . decode_base64 ( node . text )
182
182
end
183
183
return streams
184
184
end
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def initialize
30
30
works only if the remote end allows Negotiate(NTLM) authentication.
31
31
Kerberos is not currently supported. Please note: in order to use this
32
32
module without SSL, the 'AllowUnencrypted' winrm option must be set.
33
- Otherwise adjsut the port and set the SSL options in the module as appropriate.
33
+ Otherwise adjust the port and set the SSL options in the module as appropriate.
34
34
} ,
35
35
'Author' => [ 'thelightcosine' ] ,
36
36
'References' =>
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ def initialize(info = {})
23
23
super ( update_info ( info ,
24
24
'Name' => 'WinRM Powershell Remote Code Execution' ,
25
25
'Description' => %q{
26
- This module uses valid redentials to login to the WinRM service
26
+ This module uses valid credentials to login to the WinRM service
27
27
and execute a payload as a powershell script. It then attempts to
28
28
automigrate before the WinRS shell dies.
29
29
You can’t perform that action at this time.
0 commit comments