Edit: /opt/dedrads/__pycache__/cms_counter.cpython-313.pyc (32948B)
}j~ S r SSKrSSKrSSKrSSKJr SSKrSSKrSSKrSSK r SSK
r
SS jrS rSS jr
S rS rSS jrSS
jrSS jrSS jr SS
jrSS jrS r\S:X a \" 5 gg)a
CMS Counter 2.5
07/24/2026
Corey S
-------
All Server Version
- Should be acceptable for any server environment
- Server Type determined by Fabric wrapper ckx.run_cms_counter() and passed to
script via '-s'
- 3rd Party/Additional Panels added to determine_panel_type()
- Refactored NodeJS detection split into its own module
- '--new' switch added to only check newly provisioned accounts
- Overall code refactored to be more efficient
- Determine and print version of certain CMS
N)Pathc : SnU ( ad [ U 5 ( aT USL aO [ R " U SU[ R S9R R S5 R
5 nU$ U ( as [ U 5 ( ac USL a^ [ R " U SU[ R [ R S9R R S5 R
5 nU$ U$ ! [ a n[ U5 SnAU$ SnAff = f! [ a gf = f)z~
check_flag ignores if the command exits w/ anything other than 0 if True
error_flag sends errors to /dev/null if set to True
NT)shellcheckstdoututf-8F)r r r stderr)
str
subprocessrunPIPEr decodestrip ExceptionprintDEVNULL)command
check_flag
error_flagoutputes /opt/dedrads/cms_counter.pyr r s
F3w<