From 946de63a829dfe1e71dd72bc18ff8eaed22f4b1b Mon Sep 17 00:00:00 2001 From: Ashley Donaldson Date: Wed, 20 Nov 2024 15:36:59 +1100 Subject: [PATCH] MSFTidy changes --- modules/auxiliary/admin/smb/change_password.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/auxiliary/admin/smb/change_password.rb b/modules/auxiliary/admin/smb/change_password.rb index 3c82df5be9d7f..af3e63abb7792 100755 --- a/modules/auxiliary/admin/smb/change_password.rb +++ b/modules/auxiliary/admin/smb/change_password.rb @@ -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)