Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/teamdfir/sift-cli

CLI tool to manage a SIFT Install
https://github.com/teamdfir/sift-cli

cli nodejs sift

Last synced: about 2 months ago
JSON representation

CLI tool to manage a SIFT Install

Awesome Lists containing this project

README

        

# DEPRECATION NOTE: This project will be deprecated on March 1, 2023. It is being replace with [cast](https://github.com/ekristen/cast) which is a single smaller binary capable of installing any cast compatible distribution such as SIFT or REMnux (and more soon).

![Logo](https://images.contentstack.io/v3/assets/blt36c2e63521272fdc/blt3e371eacc79a3ca4/60a5393fe2db156d00f0b8ab/400x460_DFIR_SIFT.jpg)

# SIFT CLI

Manage your SIFT Installation

## Usage

```text
Usage:
sift [options] list-upgrades [--pre-release]
sift [options] install [--pre-release] [--version=] [--mode=] [--user=]
sift [options] update [--mode=]
sift [options] upgrade [--pre-release] [--mode=]
sift [options] self-upgrade [--pre-release]
sift [options] version
sift [options] debug
sift -h | --help | -v

Options:
--dev Developer Mode (do not use, dangerous, bypasses checks)
--version= Specific version install [default: latest]
--mode= SIFT Install Mode (desktop, server, complete (legacy) or packages-only (legacy)) [default: desktop]
--user= User used for SIFT config [default: ${currentUser}]
--no-cache Ignore the cache, always download the release files
--verbose Display verbose logging
```

## Issues

Open issues over at the main [SIFT Repository](https://github.com/sans-dfir/sift/issues), prefix all issues with `[CLI]`

## Installation

1. Go to the [Latest Releases](https://github.com/sans-dfir/sift-cli/releases/latest)
2. Download all the release files
* sift-cli-linux
* sift-cli-linux.sig
* sift-cli.pub
3. Install [cosign](https://github.com/sigstore/cosign/releases/latest)
4. Validate the signature `cosign verify-blob --key sift-cli.pub --signature sift-cli-linux.sig sift-cli-linux`
5. Move the file to `sudo mv sift-cli-linux /usr/local/bin/sift`
6. Run `chmod 755 /usr/local/bin/sift`
7. Type `sift --help` to see its usage

## Examples

### Install Latest SIFT

```bash
sift install
```

### Install Latest SIFT in Server Mode

**Note:** Server mode only installs tools and packages, it does not do any modifications that would normally appear on the desktop.

```bash
sift install --mode=server
```

### Install Specific Version

```bash
sift install v2019.11.0
```

### Update Existing VM

This just makes sure the current version is up-to-date

```bash
sift update
```

### Upgrading to new SIFT Release

```bash
sift upgrade
```