RfidResearchGroup / proxmark3

Iceman Fork - Proxmark3
http://www.icedev.se
GNU General Public License v3.0
3.82k stars 1.01k forks source link

pm3 script hangs when launch without arguments, no proxmark pluged in, and bluetooth has been used before. #1812

Closed DidierA closed 1 year ago

DidierA commented 1 year ago

Describe the bug When launching pm3 without arguments, and blueshark was used earlier, if there is no proxmark pluged in, the script finds the blueshark's bluetooth address in bluetooth parameters and uses it as an argument to launch proxmark3 -p bt:xxx... The client then tries to connect to it. If it's off or not in range, the connection is left hanging, never fails, and neither Ctrl-C nor kill -9 can stop the proxmark3 process.

To Reproduce Steps to reproduce the behavior:

  1. client/proxmark3 -p bt:00:21:08:35:25:E8

Expected behavior A timeout should occur, and the client switch to offline mode.

Desktop (please complete the following information):

DidierA commented 1 year ago

Nevermind, I cannot reproduce this now, the connect() call times out... I guess my bluetooth stack was in a bad mood before.

iceman1001 commented 1 year ago

well, if an alarm call / signal handler can make things gentler, then by all means add it