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

https://github.com/threesquared/sonos-sabotage

Cyber warfare tool designed to target and disrupt Sonos devices on office networks
https://github.com/threesquared/sonos-sabotage

rust sonos

Last synced: about 1 year ago
JSON representation

Cyber warfare tool designed to target and disrupt Sonos devices on office networks

Awesome Lists containing this project

README

          

# Sonos Sabotage [![GitHub release](https://img.shields.io/github/release/threesquared/sonos-sabotage.svg)](https://github.com/threesquared/sonos-sabotage/releases) [![Build Status](https://travis-ci.com/threesquared/sonos-sabotage.svg?branch=master)](https://travis-ci.com/threesquared/sonos-sabotage) [![Build status](https://ci.appveyor.com/api/projects/status/in943rqu3ucaq7dc/branch/master?svg=true)](https://ci.appveyor.com/project/threesquared/sonos-sabotage/branch/master)

> "It is the fight between tiger and elephant. If the tiger stands his ground, the elephant will crush him with its mass. But, if he conserves his mobility, he will finally vanquish the elephant, who bleeds from a multitude of cuts."
>
> -- Ho Chi Minh

## Description

Sonos Sabotage is a CLI tool for waging cyberwarfare in the office.
It contains a number of different modes that take various covert and
overt actions to disrupt, disable or control playback on Sonos devices within
the local network.

## Installation

Download the latest binary for your platform from the [releases](https://github.com/threesquared/sonos-sabotage/releases) section.

## Usage

Get a full list of parameters:

```sh
$ ./sonos-sabotage -h
```

You can combine certain modes together and also set various options
to formulate your guerrilla strategy:

```sh
$ ./sonos-sabotage -oa -p "Beyonce" -i 1000
```

## Modes

`-o, --oldman`

This mode tracks the volume of all devices on the network. If it detects an increase of more than 5 points it will reduce the volume of that
device by 1.3 times the detected increase in percentage points.

`-a, --assassin`

This mode watches the currently playing track and matches the artist or track name to a pattern. If a match is found the track
will be skipped. Pattern defaults to `Ed Sheeran` if not supplied.

`-d, --dictator`

This mode finds any devices not playing the supplied track and will clear the current queue and play the preferred track.
Track defaults to Guerrilla Radio by Rage Against the Machine if not supplied.

`-s, --saboteur`

This mode randomly performs operations like muting speakers, skipping/pausing tracks and changing the volume.

`-t, --totalitarian`

This mode will clear the queue of all devices and stop any running tracks it finds.

## Options

`-i `

The internal tick rate to poll devices and take actions in ms. Defaults to `10000`

`-p `

The regex pattern to try and match against playing tracks and artists in assassin mode.
Defaults to `Ed Sheeran`

`-u `

The track uri to play in dictator mode.

`-x `

Only perform actions against a specific device IP address