~$ cd /your/path/src/
~$ git clone https://github.com/davidonzo/apiosintDS.git
~$ cd apiosintDS/
~$ python3 setup.py build
~$ sudo python3 setup.py install
Usage
~$ apiosintDS -h
usage: apiosintDS [-h] [-e [IPv4|domain|url]] [-f /path/to/file.txt]
[-o /path/to/output.json] [-v] [-c] [-cd /path/to/cachedir]
[-cc] [-i] [-s]
DigitalSide-API v.1.0. On demand query API for OSINT.digitalside.it project.
You can query for souspicious domains, urls and IPv4.
optional arguments:
-h, --help show this help message and exit
-e [IPv4|domain|url|hash], --entity [IPv4|domain|url|hash]
Single item to search. Supported entities are
IPv4/FQDN/URLs and file hashes in md5, sha1 or sha256.
It can't be used in combination with the --file
option.
-f /path/to/file.txt, --file /path/to/file.txt
Path to file containing entities to search. Supported
entities are IPv4/FQDN/URLs. It can't be used in
combination with the --entity option.
-o /path/to/output.json, --output /path/to/output.json
Path to output file (/path/to/output.json). If not
specified the output will be redirect to the STDOUT.
-v, --verbose Include unmatched results in report.
-c, --cache Enable cache mode. Downloaded lists will be stored a
won't be downloaded for the next 4 hours.
-cd /path/to/cachedir, --cachedirectory /path/to/cachedir
The cache directory where the script check for cached
lists files and where them will be stored on cache
creation or update. Must be specified the same every
script run unless your are using the system temp
directory. Default is '/tmp'
-cc, --clearcache Force the script to download updated lists even if the
4 hours timeout has not yet been reached. Must be used
in combination with --cachedirectory.
-i, --info Print information about the program.
-s, --schema Display the response json schema.
请发表评论