Skip to content

Commit 02da5b5

Browse files
committed
Remove unnecessary get_env call
1 parent c9ca85f commit 02da5b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/msf/core/post/windows/runas.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ def create_process_as_user(domain, user, password, application_name, command_lin
102102
return unless check_command_length(application_name, command_line, 32000)
103103

104104
vprint_status("Executing LogonUserA...")
105-
session.sys.config.getenv('SYSTEMDRIVE')
106105
logon_user = session.railgun.advapi32.LogonUserA(user,
107106
domain,
108107
password,

0 commit comments

Comments
 (0)