mapcidr
mapcidr copied to clipboard
[Feature] -quiet -q -silent flags to match/filter logic
Is your feature request related to a problem? Please describe. Similar to grep usage
echo 'test' | grep 'te' -q && echo 'te found'
add quiet to just return true/false exit status
-q, --quiet, --silent
Quiet; do not write anything to standard output. Exit immediately with zero status if any match is
found, even if an error was detected. Also see the -s or --no-messages option
https://github.com/projectdiscovery/mapcidr/issues/48 Describe the solution you'd like
mapcidr -cidr 192.168.1.0/24 -m 192.168.1.0/25 -q && echo ipfound