Dears,
latest WMI plugin installed in Cacti 1.2.5. Works smoothly except issues highlighted in another thread and when using passwords in a WMI query that contains a dollar character ($). Utilizing such password, regardless if stored in "WMI Queries | Authentication" or used in "WMI Query Tool", leads to an authentication failure against the given host. Executing exactly the same query with identical parameters from a command line (WMIC4.0.0TP4) runs smoothly so that the wmic binary can be excluded as root cause.
Any help on this appreciated!
Thanks,
Elix
Issue with passwords in WMI plugin
Moderators: Developers, Moderators
Re: Issue with passwords in WMI plugin
Based of your other post, again this probably needs reporting.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Issue with passwords in WMI plugin
Likely an escapeshellarg() is needed somewhere. Have you logged this to GitHub?
Before history, there was a paradise, now dust.
Re: Issue with passwords in WMI plugin
Both issues reported on github now. Thank you for your attention!
BR,
Elix
BR,
Elix
Re: Issue with passwords in WMI plugin
I did a code review yesterday, and the password is escaped. Could you provide an example of the raw command as escaped and upload it. Don't need to see the output, just the command.
Before history, there was a paradise, now dust.
Re: Issue with passwords in WMI plugin
Issues have already been solved by netniV and cigamit with commit 0b0ca1a.
Thanks again to everybody for solving the issue that fast!
BR,
Elix
Thanks again to everybody for solving the issue that fast!
BR,
Elix
Who is online
Users browsing this forum: No registered users and 1 guest