I have configured my proxy chains in /etc/proxychains.conf
. Then when just run nmap
or even nc
without the proxychains
prefix, it automatically uses the proxy chains and routes the traffic through the proxies. I have verified that there are no alias for both the commands. Is this the expected behaviour? Does Nmap checks the /etc/proxychains.conf
automatically?
Asked
Active
Viewed 137 times
0
![](../../users/profiles/32335.webp)
JackDVD
- 11
- 2
1 Answers
0
I have figured it out. Basically when I have the environment variable LD_PRELOAD
set in the shell (export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libproxychains.so.3
), the Nmap automatically uses the proxychains. Otherwise it behaves normally.
![](../../users/profiles/32335.webp)
JackDVD
- 11
- 2
-
Yes, that's what `LD_PRELOAD` is designed to do – Jul 14 '21 at 14:09