https://github.com/robations/joomlascan
Searches paths for Joomla installs and shows the installed and latest version numbers.
https://github.com/robations/joomlascan
cli-utilities joomla
Last synced: 4 months ago
JSON representation
Searches paths for Joomla installs and shows the installed and latest version numbers.
- Host: GitHub
- URL: https://github.com/robations/joomlascan
- Owner: robations
- Created: 2016-01-22T14:43:30.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-11T11:41:58.000Z (almost 8 years ago)
- Last Synced: 2025-10-30T02:22:59.324Z (7 months ago)
- Topics: cli-utilities, joomla
- Language: JavaScript
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# joomlascan
[](https://nodei.co/npm/joomlascan.png?downloads=true)
CLI utility to find Joomla installs and get the installed version.
There are many ways you might want to find Joomla installations, so rather than build in a variety of search methods,
this utility takes a list of candidate paths from `stdin` and identifies the correct folders by looking for
`version.php` in known locations. For example, an easy way to find Joomla is using `locate`:
```
$ locate configuration.php
/var/www/html/example.com/configuration.php
/var/www/html/example.com/administrator/components/com_rsform/controllers/configuration.php
/var/www/html/example.com/administrator/administrator/components/com_rsform/models/configuration.php
...
```
## Installation
```
npm i -g joomlascan
```
## Usage
```
$ locate configuration.php | joomlascan
$ joomlascan < mylistofjoomladirectories.txt
$ find /var/www -name configuration.php -depth 3 | joomlascan
```
Output as CSV:
```
$ locate configuration.php | joomlascan -o csv > joomla-installs.csv
```
### Sample output:
```
┌────────────────────────┬─────────────────┬────────┬────────────────┐
│ Path to Joomla install │ Install version │ Status │ Latest version │
├────────────────────────┼─────────────────┼────────┼────────────────┤
│ /var/www/example.org │ 3.3.6 │ Eol │ 3.4.8 │
├────────────────────────┼─────────────────┼────────┼────────────────┤
│ /var/www/example.com │ 3.3.6 │ Eol │ 3.4.8 │
└────────────────────────┴─────────────────┴────────┴────────────────┘
```
(With default `table` output.)
Results are sorted in ascending order of the install version.
## TODO
- Still no tests!
- ~~Offer plain text output option for automation~~
- Better version handling and show more information about releases
- Pull in and display security advisories?
- Smarter handling of timeouts and lack of connectivity to updates.joomla.org