Hi there,
I am using usbq and facing an issue. I am following the def con 17 tutorial to set up usbq mitm via a beagle bone board. I followed each step religiously but now I am getting this error whenever I try to bind and unbind with ubq_driver (as in the demo video). Also, the ANT+ dongle connected through my beaglebone black never showed up on my windows 10 laptop either.
Traceback (most recent call last):
File "C:\Python310\Scripts\usbq-script.py", line 33, in
sys.exit(load_entry_point('usbq==0.1.0', 'console_scripts', 'usbq')())
File "C:\Python310\lib\site-packages\click-8.0.3-py3.10.egg\click\core.py", line 1128, in call
return self.main(*args, **kwargs)
File "C:\Python310\lib\site-packages\click-8.0.3-py3.10.egg\click\core.py", line 1053, in main
rv = self.invoke(ctx)
File "C:\Python310\lib\site-packages\click-8.0.3-py3.10.egg\click\core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Python310\lib\site-packages\click-8.0.3-py3.10.egg\click\core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Python310\lib\site-packages\click-8.0.3-py3.10.egg\click\core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "C:\Python310\lib\site-packages\click-8.0.3-py3.10.egg\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "C:\Python310\lib\site-packages\usbq-0.1.0-py3.10.egg\usbq\cli.py", line 130, in mitm
USBQEngine().run()
File "C:\Python310\lib\site-packages\usbq-0.1.0-py3.10.egg\usbq\engine.py", line 90, in run
self.event()
File "C:\Python310\lib\site-packages\usbq-0.1.0-py3.10.egg\usbq\engine.py", line 79, in event
self._do_host_packet()
File "C:\Python310\lib\site-packages\usbq-0.1.0-py3.10.egg\usbq\engine.py", line 41, in _do_host_packet
data = pm.hook.usbq_get_host_packet()
File "C:\Python310\lib\site-packages\pluggy-1.0.0-py3.10.egg\pluggy_hooks.py", line 265, in call
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "C:\Python310\lib\site-packages\pluggy-1.0.0-py3.10.egg\pluggy_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "C:\Python310\lib\site-packages\pluggy-1.0.0-py3.10.egg\pluggy_callers.py", line 60, in _multicall
return outcome.get_result()
File "C:\Python310\lib\site-packages\pluggy-1.0.0-py3.10.egg\pluggy_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "C:\Python310\lib\site-packages\pluggy-1.0.0-py3.10.egg\pluggy_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "C:\Python310\lib\site-packages\usbq-0.1.0-py3.10.egg\usbq\plugins\proxy.py", line 123, in usbq_get_host_packet
data, self._host_dst = self._host_sock.recvfrom(4096)
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
Note:-
- Beaglebone is tethered to the PC with a USB
- Kernel has complied with the IP of 192.168.7.1 host computer
Please tell me how to get around this issue, thanks in advance