Skip to content

Instantly share code, notes, and snippets.

View joshschmelzle's full-sized avatar
👻
༼ つ ◕_◕ ༽つ🛜

jsz joshschmelzle

👻
༼ つ ◕_◕ ༽つ🛜
View GitHub Profile
@joshschmelzle
joshschmelzle / iperf3.md
Created September 20, 2022 01:54
iPerf3 systemd.unit

iPerf3 service with systemd

  • Create file at /etc/systemd/system/iperf3.service with contents from iperf3.service

systemctl

  • To start a service at boot, use the enable command: sudo systemctl enable iperf3.service
  • To view the service status, use the status command: sudo systemctl status iperf3.service
  • To start the service, use the start command: sudo systemctl start iperf3.service
  • To stop the service, use the stop command: sudo systemctl stop iperf3.service
@joshschmelzle
joshschmelzle / cisco-scrypt-generator.py
Last active April 1, 2021 12:01
Cisco Scrypt Secret 9 Generator Attempt - YMMV
import base64
import scrypt
import os
import random
# password
password = "hashcat"
# translation table
base64chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
@joshschmelzle
joshschmelzle / iperf3-server-on-ubuntu.md
Last active October 6, 2020 14:29
iperf3 server install

installing iperf3 and make it start at boot on a ubuntu server.

install iperf3:

sudo apt-get install iperf3

start iperf3 server at startup

@joshschmelzle
joshschmelzle / Remote-PCAP-Daemon.md
Last active December 15, 2021 16:06
WLAN Pi Tricks

Remote PCAP

Requirements:

  • Windows 10, or newer
  • Wireshark 3.0, or newer (installed with Sshdump component)
  • WLAN Pi or SBC (assumption is rpcapd is setup and running)
  • SSH Client

Can leverage rpcap (remote packet capture) protocol supported by Wireshark to capture raw wireless frames from the WLAN NIC used by the WLAN Pi. This can be leveraged to do a packet capture from a WLAN Pi in a remote location.

@joshschmelzle
joshschmelzle / zerotier-basics.md
Last active May 5, 2025 21:06
Zero Tier Basics

ZeroTier (ZT) is open source and free to use for most cases (commercial/proprietary use makes it not free).

It's a network virtualization platform that lets you connect to your devices with automatic end-to-end encryption. Think of it conceptually like a VPN, SDN, and SD-WAN all in one.

Getting Started

  1. Create and verify an account over at https://my.zerotier.com/

  2. Create a network https://my.zerotier.com/network

@joshschmelzle
joshschmelzle / tftp-server-installation.md
Last active April 16, 2025 10:00
running tftp server on ubuntu

Using tftpd-hpa - HPA's tftp server on Ubuntu 18.04.3 LTS to host a tftp server.

install tftp server

$ sudo apt install tftpd-hpa

configure tftp server

create new directory for tftp.

@joshschmelzle
joshschmelzle / fonts.md
Last active January 16, 2020 02:05
coding and terminal fonts to consider using

A few fonts for coding or your terminal to consider using:

Fonts:

  • JetBrains Mono - A typeface for developers
  • Hack - A typeface designed for source code
  • FiraCoda - Monospaced font with programming ligatures

Resources:

@joshschmelzle
joshschmelzle / keybase.md
Created January 14, 2020 15:53
keybase.md

Keybase proof

I hereby claim:

  • I am joshschmelzle on github.
  • I am schmelzle (https://keybase.io/schmelzle) on keybase.
  • I have a public key ASBqdviB8Y4bLU8jeqMnEw_-kZmXcFg4DceO7iAzKScpXAo

To claim this, I am signing this object:

@joshschmelzle
joshschmelzle / tshark-802.11-macos-notes.md
Last active December 9, 2019 13:58
tshark'n 802.11 on macos notes and cheatsheet

Prep:

Create a symlink to the AirPort command in Terminal:

ln -s /System/Library/PrivateFrameworks/Apple80211.framework/
Versions/Current/Resources/airport /Usr/bin/airport

# test utility
airport -I
@joshschmelzle
joshschmelzle / tmux-notes-and-cheatsheet.md
Last active December 10, 2019 14:11
tmux notes and cheatsheet

tmux

it's a terminal multiplexer that allows access to multiple terminal sessions in a single window. so, you can split terminals into panes. you can move, resize, and switch between them.

it's also useful for detaching processes from the controlling terminal. so, a SSH session can remain active without actually being visible. i recommend using tmux if you're doing remote work via ssh.

tmux hotkeys to help with remote ssh dev

install tmux with sudo apt install tmux.