corpnewt/USBMap: Python script for mapping USB ports in macOS and creating a custom injector kext.
2021-06-30 12:38:35 Author: github.com(查看原文) 阅读量:171 收藏

Python script for mapping USB ports in macOS and creating a custom injector kext.


  • No dependency on USBInjectAll
  • Can map XHCI (chipset, third party, and AMD), EHCI, OHCI, and UHCI ports
  • Can map USB 2 HUBs currently disabled
  • Matches based on class name, not port or controller name
  • Allows setting nicknames to the last-seen populated ports in discovery
  • Aggregates connected devices via session id instead of the broken port addressing
  • Can use best-guess approaches to generate ACPI to rename controllers or reset RHUB devices as needed

Installation

With Git

Run the following one line at a time in Terminal:

git clone https://github.com/corpnewt/USBMap
cd USBMap
chmod +x USBMap.command

Then run with either ./USBMap.command or by double-clicking USBMap.command

Without Git

You can get the latest zip of this repo here. Then run by double-clicking USBMap.command



文章来源: https://github.com/corpnewt/USBMap
如有侵权请联系:admin#unsafe.sh