Skip to content

Releases: vmikk/tshbot

0.3

04 Jan 11:56

Choose a tag to compare

v.0.3 [Jan 4, 2025]

  • [new] added support of arguments for non-shell commands (thanks to @hrvstr for suggesting the feature)
  • [new] allow_arguments setting in config file

Important

While argument support was a planned feature, it should be used with caution. Malicious users could potentially inject harmful commands through arguments, for example:

/test Abcd; rm -rf ~

To mitigate these risks:

  1. The feature is disabled by default and must be explicitly enabled via allow_arguments: true in the config
  2. Users should properly sanitize their scripts against command injection when using this feature
  3. Only enable this feature in trusted environments

0.2

16 Dec 15:58

Choose a tag to compare

0.2

v.0.2 [Dec 16, 2024]

  • [new] timeout settings for old command execution
  • [fix] execution of arbitrary commands with /shell (thanks to @hrvstr for reporting the bug)
  • [fix] detection of user directory
  • [fix] graceful shutdown
  • [upd] some code refactoring

0.1

19 Jun 19:28

Choose a tag to compare

0.1

v.0.1 - The first official release [June 19, 2024]

This release includes binaries for various platforms to ensure compatibility with a wide range of systems.
Below is a detailed explanation of which binaries are suitable for which platforms.

Binaries:

  • tshbot-linux-amd64

    • Platform: Linux
    • Architecture: 64-bit (amd64)
    • Usage: For most modern Linux distributions running on 64-bit processors
  • tshbot-linux-arm

    • Platform: Linux
    • Architecture: ARM (32-bit)
    • Usage: Suitable for devices like the Raspberry Pi Zero 2 W, Raspberry Pi 1, and Raspberry Pi 2
  • tshbot-linux-arm64

    • Platform: Linux
    • Architecture: ARM (64-bit)
    • Usage: Optimized for ARMv8 processors, including devices like the Raspberry Pi 3 and Raspberry Pi 4 running a 64-bit OS
  • tshbot-darwin-amd64

    • Platform: macOS (Darwin)
    • Architecture: 64-bit (amd64)
    • Usage: For older Intel-based macOS systems
  • tshbot-darwin-arm64

    • Platform: macOS (Darwin)
    • Architecture: ARM (64-bit)
    • Usage: For Apple Silicon-based macOS systems (e.g., M1 and M2)

Note

Mac compatibility: These binaries have not been tested on macOS. The default configuration may require changes to the path to bash (bash_cmd in the config).