I've just tried (as a quick way of testing) using the prebuilt docker image and it fails when I try to scan a url. The following error is displayed in the console:
[INFO] joomscan scanning URL: http://whateversiteiwantedtotest.com/
[ERROR] 2 Can't locate LWP.pm in @INC (you may need to install the LWP module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at plugins/joomscan/joomscan.pl line 34.
BEGIN failed--compilation aborted at plugins/joomscan/joomscan.pl line 34.
Exception in thread Thread-12:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/src/app/core.py", line 58, in scan
self.scan_joomla()
File "/usr/src/app/core.py", line 43, in scan_joomla
result = async_result.get()
File "/usr/local/lib/python3.7/multiprocessing/pool.py", line 683, in get
raise self._value
File "/usr/local/lib/python3.7/multiprocessing/pool.py", line 121, in worker
result = (True, func(*args, **kwds))
File "/usr/src/app/plugins/scanners.py", line 74, in joomscan
return cmd_runner(jm_scan)
File "/usr/src/app/plugins/scanners.py", line 32, in cmd_runner
return json.dumps(json.loads(exc.output.strip()))
File "/usr/local/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I've just tried (as a quick way of testing) using the prebuilt docker image and it fails when I try to scan a url. The following error is displayed in the console: