A highly flexible serial interface tool made for penetration testers
Project description
Control Things Serial
A highly flexible serial interface tool made for penetration testers.
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:
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
NOTE: The v0.4.0 temporarily removed non-hex character cleaning from send hex hexstring, so you can not currently use spaces in the hex string. This will be restored in the near future, but I had to push out v0.4.0 a bit fast to replace a broken v0.3.2 which got out of sync with the ctui library it depended on.
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:
- Install Python's Poetry package at https://python-poetry.org/.
- Clone the
ctserialgithub repository. - Open a termainal to the cloned repository.
- Run
poetry installto create a new virtual environment and install an editable instance ofctserialwith its dependencies.
Author
- Justin Searle justin@controlthings.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ctserial-0.4.0.tar.gz.
File metadata
- Download URL: ctserial-0.4.0.tar.gz
- Upload date:
- Size: 19.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.2 Linux/5.10.0-6-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc1a3e9116a48b7795446bbf955e0f17f7f064d05eac19ef4055bf25f58667dc
|
|
| MD5 |
8d03d761e672bfe3a5504dbe204b3b76
|
|
| BLAKE2b-256 |
8d05ba747d754ec11ac7f5f7db3bfab52c8bac8baf0ff09db5b6bbd443f7c9d3
|
File details
Details for the file ctserial-0.4.0-py3-none-any.whl.
File metadata
- Download URL: ctserial-0.4.0-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.2 Linux/5.10.0-6-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
301df74f7c0ffb57f27295ec7558987cd693db4d4321cc549be3836a2dcb37c8
|
|
| MD5 |
32ce142db4e7423cf6815291f28ae203
|
|
| BLAKE2b-256 |
50eec1e1862b1fdf5251feacc8f445e99b0f21542d8aaf658a80b26ee5adf7a2
|