I only met windows + mysql, so I always thought it was only applicable to this environment.
Thanks to some reminders, it was found that udf Elevation of Privilege is not limited to this environment, but is applicable to both windows and linux environments and supports mysql and postgresql.
I haven't extracted it for a long time, and I forget the meaning of the udf. Review: User-defined function
Udf Elevation of Privilege means that, after obtaining database operation permissions by exploiting the injection vulnerability or other vulnerabilities, You can output files with Elevation of Privilege through the database and perform Elevation of Privilege.
Currently, the udf elevation function of Sqlmap supports mysql and postgresql in windows/linux environments.
The difference is that the dll file is exported in windows, and the so file is in linux.