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 |
# Create this file in /etc/udev/rules.d/51-android.rules (root owned, bitmask 0644) | |
# Reload udev (udevadm control --reload-rules) | |
# | |
# It will allow members of the `adbusers` group to access the phone over usb without being root | |
# You should create a new unprivileged user who is a member of this group, then run `adb` as said user | |
# | |
# To add a new device, plug in the device and run `lsusb` to determine its device id then add it in, eg: | |
# $ lsusb | |
# Bus 002 Device 063: ID 18d1:4ee7 Google Inc. Nexus/Pixel Device (charging + debug) |
# /etc/udev/rules.d/NN-rtl-sdr.rules | |
# sudo udevadm control --reload-rules && sudo udevadm trigger | |
# sudo usermod -a -G plugdev $USER | |
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", MODE="0660", GROUP="plugdev" |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v2.0.22 (GNU/Linux) | |
mQENBGTtIoIBCAD2M1aoGIE0FXynAHM/jtuvdAVVaX3Q4ZejTqrX+Jq8ElAMhxyO | |
GzHu2CDtCYxtVxXK3unptLVt2kGgJwNbhYC393jDeZx5dCda4Nk2YXX1UK3P461i | |
axuuXRzMYvfM4RZn+7bJTu635tA07q9Xm6MGD4TCTvsjBfViOxbrxOg5ozWbJdSw | |
fSR8MwUrRfmFpAefRlYfCEuZ8FHywa9U6jLeWt2O/kqrZliJOAGjGzXtB7EZkqKb | |
faCCxikjjvhF1awdEqSK4DQorC/OvQc4I5kP5y2CJbtXvXO73QH2yE75JMDIIx9x | |
rOsIRUoSfK3UrWaOVuAnEEn5ueKzZNqGG1J1ABEBAAG0J1NTTSBBZ2VudCA8c3Nt | |
LWFnZW50LXNpZ25lckBhbWF6b24uY29tPokBPwQTAQIAKQUCZO0iggIbLwUJAsaY |
To get the channel ID of a public YouTube channel, you can follow these steps:
Go to YouTube: Open YouTube in your web browser.
Find the Channel: Use the search bar to find the channel you're interested in. Once you've found the channel, click on the channel name to go to the channel's homepage.
Check the URL: There are a couple of ways the channel ID can appear in the URL, depending on how the channel URL is structured:
https://www.youtube.com/channel/UCXXXXXXXXXXXXXXXXXXXXXX
. In this URL, the channel ID is the alphanumeric string after /channel/
(e.g., UCXXXXXXXXXXXXXXXXXXXXXX
).# !/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(): |