Open pk-mdt opened 3 years ago
If you're trying to proxy a device, then you should be using FacedancerUSBApp
and USBProxyDevice
instead of FacedancerUSBHostApp
. Look at scripts like facedancer-usbproxy.py
and usbproxy-switch-invertx.py
for examples.
True, but I was just trying to enumerate the device so I could confirm USB1 worked, those two scripts I also had issues with and I wanted to confirm I had physical connectivity working before proxying. The OSError seemed to be universal across recent python versions so I wanted to raise the issue.
Do you still need assistance, @pk-r7 ?
Yes the issue was never resolved.
Thank you for the update! I don't quite have the skills to assist you, but I will ensure someone on my team takes a look at this soon.
I am trying to proxy a device using a GF one. I validated this on 2 separate operating systems, Kali and Ubuntu, virtual and bare metal, respectively. The Ubuntu installation is using Python 3.6.9 and Kali is using Python 3.8.2 I have validated I can see the device using the sample code from the Greatfet issues, so the hardware appears to be working. `import greatfet
gf = greatfet.GreatFET() descriptor = gf.glitchkit.usb.capture_control_in( request= gf.glitchkit.usb.GET_DESCRIPTOR, value = gf.glitchkit.usb.GET_DEVICE_DESCRIPTOR, length = 18 ) print(descriptor) b'\x12\x01\x00\x02\x00\x00\x00@P\x1d\x89
\x03\x01\x01\x02\x04\x01'
However using the function in Facedancer generates the error: ` u = FacedancerUSBHostApp(verbose=3) Using GreatDancer Host backend.