have secret admin level user or build backdoor

Just in case you still have FTP access, you can make use of WPAAA.PHP – WordPress Access All Areas (WordPress Support Tool).

It’s a single file and you can easily create a Must-Use plugin out of it by just copying it into the must-use directory and doing some hacks. Additionally, it will auto-configure itself so that you have a secret URL to access the page.