mitmproxy is an excellent console app written in Python.
It is easy to use on Linux and OS X.
Use brew install mitmproxy
to install it on OS X.
mitmproxy is an excellent console app written in Python.
It is easy to use on Linux and OS X.
Use brew install mitmproxy
to install it on OS X.
PATTERN = %r{ | |
^ | |
(?<indent>\s*) | |
(?<key>\S+): | |
\s* | |
!InlineFile | |
\s* | |
(?<file>.*) | |
$ | |
}x |
# !/usr/bin/env python3 | |
# encoding: utf-8 | |
import json | |
file_name = 'websocket.har' | |
f = open(file_name) | |
j = json.load(f) | |
entries = j['log']['entries'] | |
for e in entries: | |
if e['_resourceType'] == 'websocket' and '_webSocketMessages' in e.keys(): |
For some reason, it is surprisingly hard to create a bootable Windows USB using macOS. These are my steps for doing so, which have worked for me in macOS Monterey (12.6.1) for Windows 10 and 11. After following these steps, you should have a bootable Windows USB drive.
You can download Windows 10 or Windows 11 directly from Microsoft.
After plugging the drive to your machine, identify the name of the USB device using diskutil list
, which should return an output like the one below. In my case, the correct disk name is disk2
.