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.5.tar.gz (753.5 kB view details)

Uploaded Source

Built Distribution

darkfeed-1.5-py3-none-any.whl (760.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for darkfeed-1.5.tar.gz
Algorithm Hash digest
SHA256 7001daffbd1ea2fd495565fd4a1c9117ab5797e586b9be211c65ec97f3477651
MD5 9f79b40e15b68fb1db437f62842ddcc9
BLAKE2b-256 05f2d1a53e357ca5f32e642ff15cd7a4e19ecc787718da7273c38515159a741e

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for darkfeed-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 666a416814287f406f71df34059c526b421ffeeaffcd675add06ba7470c9d84c
MD5 f9c200a0f2bfb8f16af0b84bb07ed269
BLAKE2b-256 275991924d6368ab2d39c5aac2efe08c172f0e7119fc97a290d8f2c55f061474

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