Allows overriding XF options via URL. Unauthenticated.
Not for general use!
Usage
Prefix xf.options. to the option name;
ie;
Code:
Array values should be encoded as json;
ie;
Code:
http://example.org/?xf.options.tosUrl={"type":"default"}
Warnings
Only runs when development mode is enabled, logs an error otherwise.
A site with this add-on installed should not be internet accessible as this allows guest/non-admin access to changing core XenForo settings which may result in remote arbitrary code execution
Installing
Code:
git clone https://github.com/Xon/XenForo2-OptionsByUrl.git src/addons/SV/OptionsByUrl<br>php cmd.php xf-addon:install SV/OptionsByUrl
Not for general use!
Usage
Prefix xf.options. to the option name;
ie;
Code:
Yükleniyor…
example.org
ie;
Code:
http://example.org/?xf.options.tosUrl={"type":"default"}
Warnings
Only runs when development mode is enabled, logs an error otherwise.
A site with this add-on installed should not be internet accessible as this allows guest/non-admin access to changing core XenForo settings which may result in remote arbitrary code execution
Installing
Code:
git clone https://github.com/Xon/XenForo2-OptionsByUrl.git src/addons/SV/OptionsByUrl<br>php cmd.php xf-addon:install SV/OptionsByUrl