mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-15 09:27:32 +00:00
fix path error in LD_PRELOAD section
add relative path before pe.so, because `sudo LD_PRELOAD=pe.so <COMMAND>` does not work
This commit is contained in:
parent
bff02e7a7f
commit
92f222821d
1 changed files with 1 additions and 1 deletions
|
@ -954,7 +954,7 @@ gcc -fPIC -shared -o pe.so pe.c -nostartfiles
|
|||
Finally, **escalate privileges** running
|
||||
|
||||
```bash
|
||||
sudo LD_PRELOAD=pe.so <COMMAND> #Use any command you can run with sudo
|
||||
sudo LD_PRELOAD=./pe.so <COMMAND> #Use any command you can run with sudo
|
||||
```
|
||||
|
||||
{% hint style="danger" %}
|
||||
|
|
Loading…
Reference in a new issue