Skip to content

Commit aeb8378

Browse files
David MaloneyDavid Maloney
authored andcommitted
typo
1 parent 84c8660 commit aeb8378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/winrm/winrm_powershell.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def check
6767
if streams['stdout'].include? 'Unrestricted'
6868
return Msf::Exploit::CheckCode::Vulnerable
6969
else
70-
unless streams['stderr'] = ''
70+
unless streams['stderr'] == ''
7171
print_error streams['stderr']
7272
end
7373
return Msf::Exploit::CheckCode::Safe

0 commit comments

Comments
 (0)