-
Notifications
You must be signed in to change notification settings - Fork 334
Open
Description
WMIC has been deprecated for some time, and it has been removed in Windows 2025.
There are a number of places where wmic is used:
lib/beaker/host/pswindows/exec.rb:69: ips = execute("wmic nicconfig where ipenabled=true GET IPAddress /format:list")
lib/beaker/host/pswindows/group.rb:5: execute('cmd /c echo "" | wmic group where localaccount="true" get name /format:value') do |result|
lib/beaker/host/pswindows/pkg.rb:38: execute("wmic os get osarchitecture", :accept_all_exit_codes => true) do |result|
lib/beaker/host/pswindows/pkg.rb:51: execute("wmic os get name", :accept_all_exit_codes => true) do |result|
lib/beaker/host/pswindows/user.rb:5: execute('cmd /c echo "" | wmic useraccount where localaccount="true" get name /format:value') do |result|
lib/beaker/host/windows/exec.rb:32: ips = execute("wmic nicconfig where ipenabled=true GET IPAddress /format:list")
lib/beaker/host/windows/group.rb:5: execute('cmd /c echo "" | wmic group where localaccount="true" get name /format:value') do |result|
lib/beaker/host/windows/user.rb:5: execute('cmd /c echo "" | wmic useraccount where localaccount="true" get name /format:value') do |result|
Metadata
Metadata
Assignees
Labels
No labels