Skip to content

Latest commit

 

History

History

usbswitcher

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

USB Switcher

Expose modem interface via USB

Dependency

libusb

Setup

user@vm:~$ pip3 install requirements.txt
user@vm:~$ python3 usbswitcher.py -h
usage: usbswitcher [-h] [--idVendor IDVENDOR] [--idProduct IDPRODUCT]

Description: switches USB configuration
[+] Default idVendor: 0x04e8 (Samsung)
[+] Default idProduct: 0x6860 (Samsung)

optional arguments:
  -h, --help            show this help message and exit
  --idVendor IDVENDOR   Vendor ID of the device <class 'int'>
  --idProduct IDPRODUCT
                        Product ID of the device <class 'int'>

Exceptions