Discover The Joomla Versions On Your Server: Difference between revisions
From Joomla! Documentation
Command to find all Joomla versions on your server(s) |
m Categories added |
||
| Line 4: | Line 4: | ||
<small><small>[https://gws-desk.com/tips-and-tricks/find-outdated-joomla-versions-on-server Original published by GWS-Desk.com]</small></small> | <small><small>[https://gws-desk.com/tips-and-tricks/find-outdated-joomla-versions-on-server Original published by GWS-Desk.com]</small></small> | ||
<noinclude> | |||
[[Category:Development]] | |||
[[Category:Tutorials]] | |||
[[Category:Security]] | |||
[[Category:Server configurations]] | |||
</noinclude> | |||
Revision as of 10:15, 5 September 2017
When you operate a Dedicated or VPS server as a webhost or reseller with root access you might want to find from time to time outdated Joomla versions which could jeopardize the security of your server. If you have unlimited root access as administrator you will find for each user on your server the exact Joomla version with the following command (root)
find /home/*/public_html/ -type f \( -iwholename '*/libraries/joomla/version.php' -o -iwholename '*/libraries/cms/version.php' -o -iwholename '*/libraries/cms/version/version.php' \) -print -exec perl -e 'while (<>) { $release = $1 if m/RELEASE\s+= .([\d.]+).;/; $dev = $1 if m/DEV_LEVEL\s+= .(\d+).;/; } print qq($release.$dev\n);' {} \; && echo "-"The output will list all user accounts with their respective Joomla version