Skip to main content

ctserial is a security professional's swiss army knife for interacting with raw serial devices

Project description

Control Things Serial

ctserial goal is to become the security professional's Swiss army knife for interacting with raw serial devices

Installation:

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

pip3 install ctserial

Usage:

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

ctmodbus> connect /dev/your-serial-device
ctmodbus> sendhex deadc0de        (sends actual hex, so 4 bytes)
ctmodbus> sendhex \xde \xad c0de  (sends same hex as before, ignoring spaces and \x)
ctmondus> send Dead Code 国        (sends full utf-8 string without spaces)
ctmodbus> send "Dead Code 国"      (Use quotes if you need spaces)
ctmodbus> 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.

Author

Project details


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.3.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

ctserial-0.3.1-py3-none-any.whl (19.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page