Fixed:
1.Core Joomla Vulnerability outputs always "not vulnerable" and
2.Enumeration component doesn't find components when joomscan is executed in a different path rather than inside joomscan/ folder.
Eg. Executing "perl joomscan.pl -u XX.XX.XX.XX -ec", enumerates components correctly, and core vulnerabilities are found, whilst executing the same command but outside the folder("cd .." and then execute) "perl folder/joomscan.pl -u XX.XX.XX.XX -ec" doesn't show the same results as above.
Fixed: 1.Core Joomla Vulnerability outputs always "not vulnerable" and 2.Enumeration component doesn't find components when joomscan is executed in a different path rather than inside joomscan/ folder.
Eg. Executing "perl joomscan.pl -u XX.XX.XX.XX -ec", enumerates components correctly, and core vulnerabilities are found, whilst executing the same command but outside the folder("cd .." and then execute) "perl folder/joomscan.pl -u XX.XX.XX.XX -ec" doesn't show the same results as above.