Skip to content

Commit

Permalink
MSFTidy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
smashery committed Nov 20, 2024
1 parent afc735f commit 946de63
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions modules/auxiliary/admin/smb/change_password.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,6 @@ def initialize(info = {})
)
end

def connect_samr(domain_name, target_user)
vprint_status('Connecting to Security Account Manager (SAM) Remote Protocol')
@samr = @tree.open_file(filename: 'samr', write: true, read: true)

vprint_status('Binding to \\samr...')
@samr.bind(endpoint: RubySMB::Dcerpc::Samr)
vprint_good('Bound to \\samr')
end

def connect_samr
vprint_status('Connecting to Security Account Manager (SAM) Remote Protocol')
@samr = @tree.open_file(filename: 'samr', write: true, read: true)
Expand Down

0 comments on commit 946de63

Please sign in to comment.