Open stabla opened 3 years ago
Hi, thanks for reporting this issue. Could you please provide me the output of lsusb ? Regards, Romain Cayre
Hi,
Yes !
#lsusb
Bus 001 Device 020: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Hi, I have the exact same problem but in a virtual machine, have you found a solution ?
I did a lsusb
lsusb
Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 001 Device 009: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 001 Device 002: ID 80ee:0021 VirtualBox USB Tablet Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Hi @FabienOnGithub,
Still haven't found a proper way to fix this issue, yet, have you tried to run it with python3? Sometimes it helps
Thanks for your reply ! I already tried to use python3 but unfortunately I still have the same error... It seems that the "send error" comes from the device which attempt to connect to Mirage. I tried with two devices : a Raspberry Pi 4 with Kali linux and my smartphone (a Samsung Galaxy S8 with Android 9). I always have the error with the Raspberry but I never had it with my phone. I still don't understand why but at least I could use Mirage.
Hi,
The problem is probably linked to the BD address modification of CSR dongles, because I have to reset the socket for this specific manufacturer.
Try to replace :
utils.wait(seconds=1)
by
utils.wait(seconds=3)
in libs/bt.py at line 472.
Let me know if it solves the problem.
Hi,
I'm not the original poster, but I have the same problem with a Bluetooth adapter that uses a CSR chipset. I tried your patch (I tried 3 seconds and even tried it at 30 seconds) with no change. Do you have any other thoughts? I appreciate your time and help.
Hello ! In my memories I litteraly SPAMMED until it works (I had a school project and the subject was to perform a MiTM so I just showed a succesful attempt). I still don't understand this error so I can't really help you sorry.
Hi, Thanks for reporting this issue. Can you 1) run hcidump -i hciX 2) run Mirage and trigger the bug on hciX 3) provide me the output of hcidump, please ?
AttributeError: 'NoneType' object has no attribute 'send'
I was trying to execute a Man In The Middle attack with the ble_mitm module, but each time I reconfigure the BD Address manually, I got a failure, an AttributeError then it crashes. I have to kill the process to exit. The hci BD Address has been correctly modified tho.
How do I modify the BD @ manually:
Version: Python 3.7.3
Cmd:
./mirage_launcher ble_mitm TARGET=FC:58:FA:14:F8:CE
Sometimes, running it like thispython3 mirage_launcher ble_mitm TARGET=FC:58:FA:14:F8:CE
helps but not always.Am I doing something that I shouldn't? Especially with tthe bdaddr command?
Logs Short version:
Detailed version: