Hey all,
I'm currently working through the Orcus CTF from HackFest last year.
I've already gained access to the PHPMA panel and have access to the MySQL (5.7.16) database, however I now need a shell so I can gain root on the actual VM.
Does anyone have a method of doing this?
Here's some more info about the target:
As soon as I complete this VM I'll post a walkthrough for other members playing this CTF series.
Thanks for any helpful suggestions. 🤝
I'm currently working through the Orcus CTF from HackFest last year.
I've already gained access to the PHPMA panel and have access to the MySQL (5.7.16) database, however I now need a shell so I can gain root on the actual VM.
Does anyone have a method of doing this?
Here's some more info about the target:
Code
DB Info:
Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.7.16-0ubuntu0.16.04.1 - (Ubuntu)
Protocol version: 10
User: dbuser@localhost
Server charset: UTF-8 Unicode (utf8)Code
Webserver Info:
Apache/2.4.18 (Ubuntu)
Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: 241ae00989d1995ffcbbf63d579943635faf9972 $
PHP extension: mysqli Documentation
PHP version: 7.0.8-0ubuntu0.16.04.3Code
Configuration file:
//Set the database access information as constants
DEFINE ('DB_USER', 'dbuser');
DEFINE ('DB_PASSWORD', 'dbpassword');
DEFINE ('DB_HOST', 'localhost');
DEFINE ('DB_NAME', 'quizdb');
@ $dbc = new mysqli(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
if (mysqli_connect_error()){
echo "Could not connect to MySql. Please try again";
exit();
}As soon as I complete this VM I'll post a walkthrough for other members playing this CTF series.
Thanks for any helpful suggestions. 🤝


