File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
modules/post/windows/manage Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ def run
66
66
err_msg = 'NERR_PasswordTooShort'
67
67
when 0
68
68
print_good ( 'Password change successful.' )
69
- report_creds ( username , new_password , domain )
70
69
else
71
70
err_msg = "unknown error code: #{ result [ 'return' ] } "
72
71
end
@@ -77,26 +76,5 @@ def run
77
76
78
77
end
79
78
80
- def report_creds ( user , pass , domain )
81
- if session . db_record
82
- source_id = session . db_record . id
83
- else
84
- source_id = nil
85
- end
86
-
87
- unless domain
88
- domain = session . sock . peerhost
89
- end
90
-
91
- report_auth_info (
92
- :host => domain ,
93
- :port => 445 ,
94
- :sname => 'smb' ,
95
- :proto => 'tcp' ,
96
- :source_id => source_id ,
97
- :source_type => "exploit" ,
98
- :user => user ,
99
- :pass => pass )
100
- end
101
79
end
102
80
You can’t perform that action at this time.
0 commit comments