Skip to content

Instantly share code, notes, and snippets.

@nknskn
Last active November 7, 2015 12:09
Show Gist options
  • Save nknskn/2e2cb06b3b8bf1f58fa3 to your computer and use it in GitHub Desktop.
Save nknskn/2e2cb06b3b8bf1f58fa3 to your computer and use it in GitHub Desktop.
btproxy mitm.py check and confirm
$ sudo vim /usr/local/lib/python2.7/dist-packages/btproxy-0.1-py2.7-linux-x86_64.egg/libbtproxy/mitm.py
++ print(service['protocol'])
// 上記ファイルの 260-261 行目
if service['protocol'].lower() == 'l2cap':
server_sock=BluetoothSocket( L2CAP )
$ sudo btproxy AA:AA:AA:AA:AA:AA BB:BB:BB:BB:BB:BB
...
Spoofing master name as (slave device's name)_btproxy
paired
Spoofing master name as (slave device's name)_btproxy
RFCOMM
Proxy listening for connections for "MAP MAS-iOS"
L2CAP
Proxy listening for connections for "PAN Network Access Profile"
RFCOMM
Proxy listening for connections for "Wireless iAP"
L2CAP
Proxy listening for connections for "AVRCP Device"
L2CAP
Proxy listening for connections for "Audio Source"
RFCOMM
Proxy listening for connections for "Phonebook"
RFCOMM
Proxy listening for connections for "Handsfree Gateway"
None
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment