goodfet icon indicating copy to clipboard operation
goodfet copied to clipboard

Broken Pipe

Open Zanatoos opened this issue 7 years ago • 0 comments

Hello, I'm actually trying to learn how i could do a man in the middle attack and i got the facedancers for this. Then i saw the ttwe proto who seemed quite useful so i tried to use it wiring a mouse to a facedancer21 to my pc and another pc to another facedancer21 to my pc. And after configuring, i launched the TTWE_host.py, then the TTWE_client and i get this error message :

`$ sudo python3 client/TTWEClient.py -v

Facedancer reset GoodFET monitor initialized MAXUSB initialized MAXUSB enabled MAXUSB revision 19 Attempting connection MAXUSB connected device TTWEClient Device Done connecting Traceback (most recent call last): File "client/TTWEClient.py", line 287, in u.service_irqs() File "/home/zanatoos/Documents/ttwe-proto/client/MAXUSBApp.py", line 225, in service_irqs self.connected_device.before_handle() File "client/TTWEClient.py", line 115, in before_handle self.snd_ep1.flush() BrokenPipeError: [Errno 32] Broken pipe ` I didn't forget to launch the script to create the fifo pipes so i thought it was due ot permission, so i tried to create it with a sudo and without a sudo and it didnt work so i used chmod on those pipes but it didnt fix anything either.

Any help would be very appreciated, Thanks

EDIT : The problem has been fixed by editing goodfet.py, replacing occurences of 'self.serialport.setTimeout();' by 'self.serialport.timeout=;' and by plugging the client first.

Zanatoos avatar Mar 13 '17 04:03 Zanatoos