Skip to content

Instantly share code, notes, and snippets.

View tao-j's full-sized avatar
🌔
總有悲歡離合

Tao Jin tao-j

🌔
總有悲歡離合
View GitHub Profile
@joevt
joevt / ThunderboltUtil.sh
Last active April 7, 2024 09:31
A set of functions to examine and modify Thunderbolt DROMs
#! /bin/zsh
# ThunderboltUtil.sh v1.6
# by joevt Apr 2, 2024
#=========================================================================================
#
#
# Thunderbolt DROM Notes:
#
#
@namidairo
namidairo / pppd-cve.py
Last active January 25, 2022 08:05
Xiaomi RM2100 1.0.14 vs. CVE-2020-8597
from scapy.all import *
from socket import *
interface = "enp0s31f6"
def mysend(pay,interface = interface):
sendp(pay, iface = interface)
def packet_callback(packet):
@applch
applch / macOS Catalina GPU kext
Created February 5, 2020 02:50
macOS 10.15.3 Catalina GPU kext
### AMD7000Controller.kext
* pci device: 6780 - Tahiti XT GL [FirePro W9000]
* pci device: 6790 - unknown device
* pci device: 6798 - Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
* pci device: 679a - Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
* pci device: 679e - Tahiti LE [Radeon HD 7870 XT]
* pci device: 6800 - Wimbledon XT [Radeon HD 7970M]
* pci device: 6801 - Neptune XT [Radeon HD 8970M]
* pci device: 6806 - Neptune
* pci device: 6808 - Pitcairn XT GL [FirePro W7000]
[Proxy]
WIFI = direct, interface=en2
VPN = direct, interface=utun0
[Rule]
DOMAIN-SUFFIX,yach.me,WIFI
FINAL,VPN