Skip to content

Latest commit

 

History

History
75 lines (45 loc) · 2.59 KB

README.md

File metadata and controls

75 lines (45 loc) · 2.59 KB

Sonos Sabotage GitHub release Build Status Build status

"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 section.

Usage

Get a full list of parameters:

$ ./sonos-sabotage -h

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

$ ./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 <interval>

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

-p <pattern>

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

-u <uri>

The track uri to play in dictator mode.

-x <ip>

Only perform actions against a specific device IP address