Skip to content

Instantly share code, notes, and snippets.

@securelyfitz
securelyfitz / BH-DC-2026.md
Last active July 27, 2026 23:25
Find Joe at Black Hat and DEFCON 2026:

This is where I should be through most of Black Hat and Defcon. If you happen to find me elsewhere at these times, please direct me to the right place!

August 1-2, Black Hat Training

August 3-4, Black Hat Training

Wed, Aug 5, Black Hat

@securelyfitz
securelyfitz / ftscreen.sh
Created August 26, 2021 18:41
Use screen with custom baud rates on FTDI devices
#!/bin/bash
# since screen doesn't know how to set custom baud rates, this does it for FTDI devices.
# it works by using setserial to set the custom speed (spd_cust) mode for baud rate 38400
# it calculates the proper clock divider by dividing the device's base clock by the desired rate
# then, it starts screen at 38400 - which is not longer 38400 but your new clock rate.
# tested on FT232H, FT2232H, FT-X, and FT232RL
# does not work on CH341 or PL2303
# todo: confirm FTDI before running setserial and report error
# todo: validate uart range