File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1113611136 },
1113711137 "value" : " services.labels"
1113811138 },
11139+ {
11140+ "data" : {
11141+ "category" : " <i class=\" fa fa-fw fa-plus-square\" aria-hidden=\" true\" ></i> MISC"
11142+ },
11143+ "value" : " services.parsed"
11144+ },
11145+ {
11146+ "data" : {
11147+ "category" : " <i class=\" fa fa-fw fa-plus-square\" aria-hidden=\" true\" ></i> MISC"
11148+ },
11149+ "value" : " services.parsed.type"
11150+ },
11151+ {
11152+ "data" : {
11153+ "category" : " <i class=\" fa fa-fw fa-plus-square\" aria-hidden=\" true\" ></i> MISC"
11154+ },
11155+ "value" : " services.parsed.dynamic"
11156+ },
1113911157 {
1114011158 "data" : {
1114111159 "category" : " <i class=\" fa fa-fw fa-plus-square\" aria-hidden=\" true\" ></i> MISC"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3+ USER_AGENT=" censys-python/$( poetry version | cut -d ' ' -f 2) "
4+
35update_autocomplete () {
46 echo " Updating autocomplete data for $1 ..."
57 # Write a temporary file to avoid corrupting the original if the download fails
68 tmp_file=$( mktemp)
7- curl " https://search.censys.io/static/data/autocomplete-$1 .json" -s -o " $tmp_file " && echo " " >> " $tmp_file "
9+ wget " https://search.censys.io/static/data/autocomplete-$1 .json" -U " $USER_AGENT " -O " $tmp_file " && echo " " >> " $tmp_file "
810 mv " $tmp_file " " censys/cli/data/$1 _autocomplete.json"
911}
1012
You can’t perform that action at this time.
0 commit comments