projectdiscovery / dnsx

dnsx is a fast and multi-purpose DNS toolkit allow to run multiple DNS queries of your choice with a list of user-supplied resolvers.
https://docs.projectdiscovery.io/tools/dnsx
MIT License
2.16k stars 238 forks source link

Extra color symbols when writing files #763

Closed Mengter8 closed 3 days ago

Mengter8 commented 3 days ago

dnsx version: 1.2.1

Current Behavior:Results written to the file contain color characters

Expected Behavior:No color characters

Steps To Reproduce:

echo www.google.com | ./dnsx -a -resp -o dnsx.csv

Anything else:

This problem does not exist when I add the -no-color parameter

image

ehsandeep commented 3 days ago

@Mengter8 use -nc option

   -nc, -no-color  disable color in output