Questions
LordOfTheRoot SQL Error
I have managed to crack into the smegol user and gained the root database password. However when I try and run this command :
mysql> create function do_system returns integer soname ’raptor_udf2.so’ ;
ERROR 1126 (HY000) : Can’t open shared library ’raptor_udf2.so’ (errno : 0 /usr/lib/mysql/plugin/raptor_udf2.so : file too short)
I have looked around the internet and had no luck on finding a solution. Currently looking at other ways round the problem as I am not sure if it’s a problem with something I have done or the VM.
LordOfTheRoot SQL Error
The post is really old but I’d like to give quick fix that already worked for me to help anyone else asking the question.
The problem is that your "/usr/lib/raptor_udf2.so" size is almost zero (I don’t know why XD) but You can try to replace it with the file "raptor_udf2.so" created while compiling the exploit. I assume that you used this one https://github.com/1N3/PrivEsc/blob/master/mysql/raptor_udf.c