sensepost / snoopy-ng

Snoopy v2.0 - modular digital terrestrial tracking framework
Other
429 stars 128 forks source link

[WARNING] Trouble parsing Bluetooth output: list index out of range #83

Open Cornmeister opened 7 years ago

Cornmeister commented 7 years ago

I've installed snoopy-ng on a Raspberry Pi3,

wifi is running fine, BT gives a error message.

Any idea how to solve this ?

`root@raspberrypi:~/snoopy-ng# snoopy --dbms=mysql://xxxxx:xxxxxx@xxxxxxxxx:3306/snoopy?charset=utf8 -m wifi:mon=True -m blutooth:mon=True -m heartbeat -m sysinfo -d Sniffer -l local


/ )( ( )( )( )( ( \/ ) _ \ ) ( )()( )()( )_/ \ / (/()_)(__)()() () Version: 2.0 Code: glenn@sensepost.com // @glennzw Visit: www.sensepost.com // @sensepost License: Non-commercial use

[+] Starting Snoopy with plugins: wifi, blutooth, heartbeat, sysinfo [+] Capturing local only. Saving to 'mysql://xxxxx:xxxxxx@xxxxxxxxx:3306/snoopy?charset=utf8' [+] Waiting for plugin 'wifi' to indicate it's ready [+] Starting sniffing on interface 'mon0' [+] Plugin 'wifi' has indicated it's ready. [+] Waiting for plugin 'blutooth' to indicate it's ready [+] Plugin 'blutooth' has indicated it's ready. [+] Waiting for plugin 'heartbeat' to indicate it's ready [+] Plugin 'heartbeat' has indicated it's ready. [+] Waiting for plugin 'sysinfo' to indicate it's ready [+] Plugin sysinfo will check device status every 1800 seconds. [+] Plugin 'sysinfo' has indicated it's ready. [+] Done loading plugins, running... [WARNING] Trouble parsing Bluetooth output: list index out of range [WARNING] Trouble parsing Bluetooth output: list index out of range [WARNING] Trouble parsing Bluetooth output: list index out of range [WARNING] Trouble parsing Bluetooth output: list index out of range [WARNING] Trouble parsing Bluetooth output: list index out of range [WARNING] Trouble parsing Bluetooth output: list index out of range [WARNING] Trouble parsing Bluetooth output: list index out of range [WARNING] Trouble parsing Bluetooth output: list index out of range `

Cornmeister commented 7 years ago

same issue when using sqlite, DB entries are missing device name (sometimes)

root@raspberrypi:~# sqlite3 snoopy-ng/snoopy.db "SELECT * FROM bluetooth_details;" 186590894ee9|Nokia 6230i|Phone, Smart phone (0x7a020c)|Unknown|Unknown|1304065673 e8150e9e21f3| Phone, Cellular (0x5a0204)|Unknown|Unknown|Unknown|1979552325 root@raspberrypi:~#