Skip to content

Instantly share code, notes, and snippets.

@andyboeh
andyboeh / enable_sshd.py
Created April 8, 2023 11:01
Enable SSHD on the Aclatel HH40V (modify backup file)
#!/usr/bin/env python
import os
import sys
import subprocess
import tempfile
import struct
import shutil
import hashlib
@andyboeh
andyboeh / switchfw2sysupgrade.py
Created August 28, 2022 16:41
Convert TP-Link Switch Firwmare Upgrade to sysupgrade file
#!/usr/bin/env python
from optparse import OptionParser
import tempfile
import subprocess
import os
import shutil
import sys
import binascii
import struct