githubEdit

LD_PRELOAD

الفايل دا بيسمحلك انك تضيف كود في مكتبه معينه وبيستدعي كودك قبل كود المكتبه الاساسيه

image.png

This command tells GCC to compile a C source file (malicious.c) into a shared object file (malicious.so). Shared object files (.so) are dynamic libraries used by other programs — they don’t run by themselves.

It’s often used for:

  • Creating custom shared libraries.

  • Building malicious payloads for tricks like LD_PRELOAD.

2025-04-08 20_03_52-Kali Linux - VMware Workstation.png