Nuclei Chain - By IP
Same idea as Nuclei Chain - Domain Names, but targets hosts based on IP addresses instead. Handy for removing duplicates when many hostnames resolve to the same host.
cat lists/LIST-NAME | dnsx -rl 25 -retry 5 -o dnsx-LIST-NAME.json -j -or | jq .a | tr -d '\n' | sed -e 's/"/\n/g' | grep '\.' | sort -u | httpx -nf -j -o httpx-dnsx-LIST-NAME.json | jq .url -r | nuclei -t nuclei/ -nh -j -o nuclei-LIST-NAME-result_$(now).json