Skip to content

Commit 902cf4b

Browse files
committed
Fix var name
1 parent 90c0f58 commit 902cf4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def execute_exe(filename = nil, path = nil, upload = nil)
2121
print_status("No file uploaded, attempting to execute #{cmd_location}...")
2222
end
2323

24-
shell_exec(command_location, nil)
24+
shell_exec(cmd_location, nil)
2525
end
2626

2727
def execute_psh

0 commit comments

Comments
 (0)