Skip to main content

ControlThings Serial

A highly flexible serial interface tool made for penetration testers.

Installation:

As long as you have git and Python 3.8 or later installed, all you should need to do is:

pip3 install ctserial

Or better yet, if you have uv installed, install it in an isolated environment with:

uv tool install ctserial

uv also lets you try the tool out without installing it by running:

uvx ctserial

Usage:

First, start the tool from a terminal. Then connect to your serial device and interact with it. For example:

ctserial> connect /dev/your-serial-device
ctserial> send hex deadc0de                   # sends actual hex, so 4 bytes
ctserial> send Dead Code                     # sends full utf-8 string without spaces
ctserial> send "Dead Code 国"                  # Use quotes if you need spaces
ctserial> exit

Platform Independence

Python 3.6+ and all dependencies are available for all major operating systems. It is primarily developed on MacOS and Linux, but should work in Windows as well.

Development

If you are interested in modifying ctserial:

  1. Install Python's Poetry package at https://python-poetry.org/.
  2. Clone the ctserial github repository.
  3. Open a termainal to the cloned repository.
  4. Run poetry install to create a new virtual environment and install an editable instance of ctserial with its dependencies.

Author

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctserial-0.5.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ctserial-0.5.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file ctserial-0.5.0.tar.gz.

File metadata

  • Download URL: ctserial-0.5.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ctserial-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5e5c238547e631428b42526113cb6831b7ed620104e9038480fe3b4df1d9a8af
MD5 de0b715468454510006f39fc0dc6e75c
BLAKE2b-256 1faa06cc9715fd03cd9af5a921f4a3bab86e7f6b78d4bc39110569128a3b66d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctserial-0.5.0.tar.gz:

Publisher: publish.yml on ControlThings-io/ctserial

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ctserial-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: ctserial-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ctserial-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e08ba1d21e7daeae09ef1541f20c1438b4ad0dded5826af158f12bccae33ec00
MD5 f04f91893ae9aa73ac3a632c086617d6
BLAKE2b-256 b8137659f5c81c3d6c1f819ca98c160b927eac1be4c38ece21626131b4e76e30

See more details on using hashes here.

Provenance

The following attestation bundles were made for ctserial-0.5.0-py3-none-any.whl:

Publisher: publish.yml on ControlThings-io/ctserial

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.5.0 This release

2 files

0.4.0

2 files

0.3.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page