The config.xml contains all the settings, of any configuration file on pfSense.
You have hundred pfSEnse installs in the field yet that very first strong point of pfSense is unknown to you ?
When you read :
Install pfSense 'from scratch', then import ONE congig file ans everything is setup, what do you make of that ?
It must be something like : from the config.xml file, all system config files are created. Right ?
Among them : (your own ) captive portal landing-login page.
If the uploaded file is the default one, you can get it right out of your browser : just look at the html .....
Every browser has a page inspection facility.
Still, you need to look up "in the manual" what actually in that file, because some are variables, put in place "on the fly" when the page is send to the visitor.
Or use :
29ebbd82-92bc-4f0b-9c6b-a2b8c41f5026-image.png
and then uses this info :
053a9fec-6259-478b-a406-bfa4e5779a17-image.png
to complete the minimal framework to get to a usable login page.
That's all there is.
So, no need to look and de-base64 parts of the config.xml.
It would work, that's for sure.
The final work flow will be :
You make your page - start with the default one (see below). Import it using the GUI. Test, if no-go, goto 1) Done.Where step 4) might as well be the most difficult one ;)