File tree Expand file tree Collapse file tree 2 files changed +10
-13
lines changed
modules/exploits/windows/smb Expand file tree Collapse file tree 2 files changed +10
-13
lines changed Original file line number Diff line number Diff line change 3
3
# Current source: https://github.com/rapid7/metasploit-framework
4
4
##
5
5
6
-
7
- =begin
8
- Windows XP systems that are not part of a domain default to treating all
9
- network logons as if they were Guest. This prevents SMB relay attacks from
10
- gaining administrative access to these systems. This setting can be found
11
- under:
12
-
13
- Local Security Settings >
14
- Local Policies >
15
- Security Options >
16
- Network Access: Sharing and security model for local accounts
17
- =end
6
+ # Windows XP systems that are not part of a domain default to treating all
7
+ # network logons as if they were Guest. This prevents SMB relay attacks from
8
+ # gaining administrative access to these systems. This setting can be found
9
+ # under:
10
+ #
11
+ # Local Security Settings >
12
+ # Local Policies >
13
+ # Security Options >
14
+ # Network Access: Sharing and security model for local accounts
18
15
19
16
require 'msf/core'
20
17
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def merge_error_message
64
64
msftidy_output = %x[ #{ cmd } ]
65
65
puts "#{ fname } - msftidy check passed" if msftidy_output . empty?
66
66
msftidy_output . each_line do |line |
67
- valid = false
67
+ valid = false unless line [ 'INFO' ]
68
68
puts line
69
69
end
70
70
end
You can’t perform that action at this time.
0 commit comments