- Follow the instructions to install mitmproxy and launch either
mitmproxyormitmweb. If you plan on sniffing traffic from a macOS VM, it is probably preferable to install mitmproxy on the host OS. - Change your proxy settings in macOS to use your local IPv4 address with port 8080 (by default).
System Settings→Network→Advanced→HTTPandHTTPSproxies
- Install the mitmproxy certificate by navigating to http://mitm.it/
- Disable SSL verification.
- On mitmweb, this is toggled in
Options→Don't verify server certificates
- On mitmweb, this is toggled in
This summer, I had the opportunity to participate in the GSoC 2020 program within the QEMU organization on a project that interested me a lot.
The subject was 'Virtual U2F security key', and now that the GSoC is almost finished, it's time for me to summarize this project I worked on.
| #! /bin/zsh | |
| # ThunderboltUtil.sh v1.7 | |
| # by joevt Dec 5, 2024 | |
| #========================================================================================= | |
| # | |
| # | |
| # Thunderbolt DROM Notes: | |
| # | |
| # |
| #!/bin/bash | |
| # References: | |
| # https://www.isticktoit.net/?p=1383 | |
| # http://irq5.io/2016/12/22/raspberry-pi-zero-as-multiple-usb-gadgets/ | |
| # After running this, use hid_gadget_test.c <https://github.com/aagallag/hid_gadget_test/blob/master/hid_gadget_test.c> | |
| cd /sys/kernel/config/usb_gadget/ |
| #!/bin/bash | |
| # Set up a Raspberry Pi 4 as a USB-C Ethernet Gadget | |
| # Based on: | |
| # - https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ | |
| # - https://pastebin.com/VtAusEmf | |
| if ! $(grep -q dtoverlay=dwc2 /boot/config.txt) ; then | |
| echo "Add the line dtoverlay=dwc2 to /boot/config.txt" | |
| exit | |
| fi |
| deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse | |
| deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted universe multiverse | |
| deb [arch=amd64,i386] http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse | |
| deb [arch=amd64,i386] http://security.ubuntu.com/ubuntu bionic-security main restricted universe multiverse | |
| deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic main restricted universe multiverse | |
| deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic-updates main restricted universe multiverse | |
| deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic-backports main restricted universe multiverse | |
| deb [arch=arm64,armhf,ppc64el,s390x] http://ports.ubuntu.com/ubuntu-ports/ bionic-security main restricted universe multiverse |
These instructions will take you through the step by step process of building and flashing a custom build of the Coreboot ROM to a Chromebook C201.
This guide expects you to have a Chromebook C201, and another ARM computer with Ubuntu installed. Specifically I used the Odroid XU2. You may be able to do this on an Intel platform, using a cross compiler. See the sidenotes section for more information.
Update your Ubuntu aptitude and install the dependancies we will need.
sudo apt updateA list of useful commands for the FFmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
# raspbian stretch lite on ubuntu
### You can write the raspbian image onto the sd card,
# boot the pi so it expands the fs, then plug back to your laptop/desktop
# and chroot to it with my script
# https://gist.github.com/htruong/7df502fb60268eeee5bca21ef3e436eb
# sudo ./chroot-to-pi.sh /dev/sdb
# I found it to be much less of a pain in the ass and more reliable
# than doing the kpartx thingOn my Macbook Pro (OS X El Capitan) I was having issues on Electron based apps. These apps had visual issues/glitches like blank screens, visual components showing only when hovering or transparent menus.
By opening with these comands, the problems disappeared.
open /Applications/Slack.app/ --args --disable-gpu
open /Applications/Trello.app/ --args --disable-gpu
open /Applications/Whatsapp.app/ --args --disable-gpu