--date option added

This commit is contained in:
Alexandre Dulaunoy 2013-02-07 17:15:21 +01:00
parent 8c98ae7524
commit a4e65cff1c

View file

@ -20,13 +20,16 @@ Usage
displayed) displayed)
-f OUTPUT_FORMAT, --format=OUTPUT_FORMAT -f OUTPUT_FORMAT, --format=OUTPUT_FORMAT
output txt, json (default is txt) output txt, json (default is txt)
-t DATE, --date=DATE date in format YYYY-MM-DD to limit the query (default
is all)
Dumping sink-hole addresses Dumping sink-hole addresses
--------------------------- ---------------------------
python ./bin/dcu-fetch.py -a <azure feed> -k "<azure key>" -f json | jq -r .TargetIp python ./bin/dcu-fetch.py -a <azure feed> -k "<azure key>" -f json | jq -r .TargetIp
Dumping some values and cleaning the container/blobs Dumping some specific values and cleaning the container/blobs
---------------------------------------------------- ----------------------------------------------------
python ./bin/dcu-fetch.py -a <azure feed> -k "<azure key>" -f json | jq -r '.SourceIpAsnNr+" "+.SourceIp +" "+ .Botnet' python ./bin/dcu-fetch.py -a <azure feed> -k "<azure key>" -f json | jq -r '.SourceIpAsnNr+" "+.SourceIp +" "+ .Botnet'