Thank you so much for sharing it .........
$r = $_obj->$_method($parent->manifest->version, $this);
if(!$this->{$_0x4}) {
$this->{$_0x3} = null;
}
return $r;
if($this->minimum_joomla_release) {
return false; // ← Installation fails here!
}
public function isn($uvn, $isn) {
return true; // ← This line bypasses everything
//or set all returns false to true of the isn method
}
I installed it and it doesn't work on the sites I tested it on.Thanks for sharing.. I tried to install it several times but it always failed.
analyzing the code the problem seems to be in the isn() method which contains license/version validation logic.
There are obfuscated variables $_0x3 and $_0x4 representing minimum_joomla_release and maximum_joomla_release.
In the preflight() method, there is this logic:
PHP:$r = $_obj->$_method($parent->manifest->version, $this); if(!$this->{$_0x4}) { $this->{$_0x3} = null; } return $r;
And then in the method install():
PHP:if($this->minimum_joomla_release) { return false; // ← Installation fails here! }
The solution is to change the isn() method inside installscript.php
I hope I was helpful, like it!PHP:public function isn($uvn, $isn) { return true; // ← This line bypasses everything //or set all returns false to true of the isn method }
I load the version for joomla 5 fixed and tested on j. 5.3.3
I nulled it differently. Try this version for Joomla 5. It works for me and for those who installed it, it also works...I installed it and it doesn't work on the sites I tested it on.
I don't know what you find "weird", but if you're afraid to install it on your production project, you can always check the component on a test site.This code looks weird. Is it safe to install?