If you didn't back up the configuration, prepare a Linux boot disk and wait for help. You'll need to boot the rescue disk, find the config file, and copy it out to a drive. Then you can do the steps in the first paragraph. That file is in there somewhere, I'm not sure where though.
[user]@OPNsense:~ $ file /conf/config.xml /conf/config.xml: XML 1.0 document, ASCII text, with very long lines (1101)