Skip to main content

A CLI and GUI parser for data from Dark Feed

Project description

Dark Feed Parser

This is a simples parser for all great data available with the API key of Dark Feed.

The idea is create functions to return data available in the interface and bring more insights, like:

  • Top 10 countries this year
  • Top 5 sectors in Brazil
  • Top 3 ransomwares in latam
  • Count of victims in America of the North in the last month
  • Filters in a time range
  • . . .

How install it

pip install darkfeed

How use the command line

If you don't know how run it you can use the argument -h, like this:

darkfeed -h
usage: darkfeed [-h] [-i] [-d] [-a AFTER] [-b BEFORE] [-c COUNTRIES] [-lc] [-s SECTORS] [-ls] [-r RANSOMWARES] [-lr] [-v VICTIM] [-top_c TOP_COUNTRIES] [-top_s TOP_SECTORS]
                [-top_r TOP_RANSOMWARES] [-json] [-count] [-xlsx] [-n] [-nr] [-g]

Ransomware statistics - Kudos DarkFeed (darkfeed.io).

options:
  -h, --help            show this help message and exit
  -i, --init            First step. Pass your API key.
  -d, --download_base   To save/update base to a file
  -a AFTER, --after AFTER
                        Date started to collecting published victims. Format: YYYY-MM-DD
  -b BEFORE, --before BEFORE
                        Date finished to collecting published victims. Format: YYYY-MM-DD
  -c COUNTRIES, --country COUNTRIES
                        Country filer, write how many countries do you want split by [,]. You could also use: latam, south_america, central_america, north_america, europe, asia, africa or
                        oceania
  -lc, --list_countries
                        List all possible strings for countries
  -s SECTORS, --sectors SECTORS
                        Sector filter, choose the sectors of your interest. You can choose more than one split then with [,]
  -ls, --list_sectors   List all possible sectors.
  -r RANSOMWARES, --ransomwares RANSOMWARES
                        Ransomware filter, choose the ransomware group of your interest. You can choose more than one split then with [,]
  -lr, --list_ransomwares
                        List all ransowmare groups in our base
  -v VICTIM, --victim VICTIM
                        Use the name or substring to search a victm.
  -top_c TOP_COUNTRIES, --top_countries TOP_COUNTRIES
                        Get the global top X countries.
  -top_s TOP_SECTORS, --top_sectors TOP_SECTORS
                        Get the global top X sectors.
  -top_r TOP_RANSOMWARES, --top_ransomwares TOP_RANSOMWARES
                        Get the global top X ransomwares.
  -json                 To format your output to json
  -count                To count the num of items
  -xlsx                 To convert data to spreadsheet / xlsx
  -n, --news            Cyber news!
  -nr, --new_ransomwares
                        Return ransomware families based in first detection in DarkFeed database. You can use arguments of date to filter the returned ransomwares. The default is last
                        month. Reliability is from 2024
  -g, --start_gui       Init a web service.

You can mix commands to receive different outputs, like xlsx or json. The last argument will define the output.

CLI
CLI

How to use the GUI

darkfeed -g
GUI
GUI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

darkfeed-1.4.tar.gz (753.2 kB view details)

Uploaded Source

Built Distribution

darkfeed-1.4-py3-none-any.whl (760.3 kB view details)

Uploaded Python 3

File details

Details for the file darkfeed-1.4.tar.gz.

File metadata

  • Download URL: darkfeed-1.4.tar.gz
  • Upload date:
  • Size: 753.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for darkfeed-1.4.tar.gz
Algorithm Hash digest
SHA256 5cbcba42ba44d400ae9cb3078259465f12c79376ea850accc1aef60e43a7591d
MD5 30ce0c14b0624f2f920283d54da9e573
BLAKE2b-256 097771f2627eb4a3ed2d86f898c1d6303447e75886b6b245d8847eca5d9d2038

See more details on using hashes here.

File details

Details for the file darkfeed-1.4-py3-none-any.whl.

File metadata

  • Download URL: darkfeed-1.4-py3-none-any.whl
  • Upload date:
  • Size: 760.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for darkfeed-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4bfc9f242a9819bbc6ae239b4c45ac58becb5b11d14416654efe15e9e55260ae
MD5 be92c66f6ccd755daef96f4e188b9568
BLAKE2b-256 3b8357fc7e3c1e22420bfd7446182e2a76fc1118fc35fcb5a425d992b8fcf479

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page