From 2fed778c518a85732df1b5778ac5206732d10038 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Tue, 22 May 2018 12:40:35 +0200 Subject: [PATCH] Improve the description of ld.so --- _gtfobins/ld.so.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/_gtfobins/ld.so.md b/_gtfobins/ld.so.md index 9a7a5fd..2edbb4e 100644 --- a/_gtfobins/ld.so.md +++ b/_gtfobins/ld.so.md @@ -1,5 +1,11 @@ --- -description: Ld.so is the Linux dynamic linker/loader. Its file name and location might change between Linux versions. +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: exec-interactive: - code: /lib/ld.so /bin/sh