From 162eba5af5d79dc184b76b40955e264a04275743 Mon Sep 17 00:00:00 2001 From: skyper <5938498+SkyperTHC@users.noreply.github.com> Date: Fri, 25 Aug 2023 20:01:51 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a687ee1..ceec592 100644 --- a/README.md +++ b/README.md @@ -148,11 +148,13 @@ In this example we execute *nmap* but let it appear with the name *syslogd* in * **1.iii. Hide your arguments** -Download [zap-args.c](src/zap-args.c). This example will execute *nmap* but will make it appear as 'syslogd' without any arguments in the *ps alxww* output. +Download [zap-args.c](raw/master/src/zap-args.c). This example will execute *nmap* but will make it appear as 'syslogd' without any arguments in the *ps alxww* output. ```sh gcc -Wall -O2 -fpic -shared -o zap-args.so zap-args.c -ldl -LD_PRELOAD=./zap-args.so exec -a syslogd nmap -T0 10.0.0.1/24 +(LD_PRELOAD=./zap-args.so exec -a syslogd nmap -T0 10.0.0.1/24) +### Or as daemon background process: +(LD_PRELOAD=./zap-args.so exec -a syslogd nmap -T0 10.0.0.1/24 &>nmap.log &) ``` Note: There is a gdb variant as well. Anyone?