Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with sdp_general_query's handling of -a (basically sdp_general_query doesn't work by default) #28

Open
jsmif opened this issue May 11, 2023 · 0 comments

Comments

@jsmif
Copy link

jsmif commented May 11, 2023

I edited configs/bt_config.json to have bin/sdp_general_query as the 2nd entry in the "DefaultPrograms" array (since it seems to like to launch the 2nd entry first.) When I do this, I get the error:

[BT Program] Starting program bin/sdp_general_query -u /dev/pts/8 -a A8:66:7F:A1:B2:C3 --iocap 3 --authreq 3 --bounding 1
Packet Log: logs/Bluetooth/hci_dump.pklg
H4 device: /dev/pts/8

Usage: /home/user/Downloads/braktooth_esp32_bluetooth_classic_attacks/wdissector/bin/sdp_general_query -a|--address aa:bb:cc:dd:ee:ff
Use argument -a to connect to a specific device and dump the result of SDP query for L2CAP services.

Clearly there's a -a specified, so something else is going on. What I found by launching manually is that bin/sdp_general_query doesn't like any arguments after the -a. If I run it without the --iocap etc args after -a, I don't get the error. (Though I also don't get any output, though I'm not sure if I'm supposed to if it's launched manually.)

I'm not really sure where to edit to alter this, so I thought I'd just let you know. (Note: even if you move -a to last, it will still error out.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant