Skip to main content

A command line utility for interacting with the Centrifuge Firmware Analysis Platform's REST API.

Project description

Centrifuge is an automated firmware analysis platform. It allows users to upload their firmware images to be analyzed for various security issues. This utility gives users the ability to interact and automate tasks via the Centrifuge RESTful API.

Features

  • Upload firmware

  • Delete firmware reports

  • Query firmware analysis results

  • Search for firmware uploads

Quick Start

To install the Centrifuge CLI, simply:

$ pip install centrifuge-cli

To query the list of available reports:

$ export CENTRIFUGE_API_KEY=xxxx
$ centrifuge reports list

Under the hood the Centrifuge CLI is using python Pandas data frames to report the results to the user. Since the API is json, which has heirarchical structure to it, we have chosen to flatten all the results into a column/row format for viewing inside of a terminal or for importing into spreadsheets, etc. However the cli can also output CSV, and the original json results. For example:

CSV:

$ centrifuge --outfmt=csv reports list

JSON:

$ centrifuge --outfmt=json reports list

When generating the human-readable Pandas output or when genering CSV you have the option of choosing which columns you wish to export. For example, to display only the original filename and model number of the firmware that was uploaded:

$ centrifuge -foriginalFilename -fdevice reports list

Uploading Firmware

Uploading firmware to centrifuge is quite simple. All you need to do is supply make/model/version and the file you want to upload:

$ centrifuge upload --make=Linksys --model=E1200 --version=1.0.04 /path/to/FW_E1200_v1.0.04.001_US_20120307.bin

Searching Through Firmware Uploads

Coming Soon

Querying Report Results

Coming Soon

Deleting Firmware Uploads

Coming Soon

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

centrifuge-cli-0.1.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

centrifuge_cli-0.1.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file centrifuge-cli-0.1.1.tar.gz.

File metadata

  • Download URL: centrifuge-cli-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.3 Linux/4.9.0-8-amd64

File hashes

Hashes for centrifuge-cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 88a94554eb57c43352148d4fe5f7ae5a74214367cdb5a390607ba3eff9b9d1f2
MD5 360f2e81513ab7bb5d578049d271236f
BLAKE2b-256 1c52e8ade12ba5fc3c908818ce699cd92707034cede5ae34cb5b55c26d5ccc33

See more details on using hashes here.

File details

Details for the file centrifuge_cli-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: centrifuge_cli-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.17 CPython/3.6.3 Linux/4.9.0-8-amd64

File hashes

Hashes for centrifuge_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f51c5a7d6b3a8565b82523960c118c1edfbaa5296188148a10633892a3ea31e
MD5 54b4f32e8d69d9bb4d0dcbcaaa52e1c0
BLAKE2b-256 5be9e30c3a31c93d3f534f4cf7d08d25b778dc561bc12ca9068106148abc9f21

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