forked from fO-000/bluing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1426 lines (1321 loc) · 75.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html><html><head>
<title>README</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="file:////home/x/.vscode/extensions/shd101wyy.markdown-preview-enhanced-0.6.7/node_modules/@shd101wyy/mume/dependencies/katex/katex.min.css">
<style>
pre{font-family:Menlo,Monaco,Consolas,'Courier New',monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;padding:1em;margin:.5em 0;overflow:auto;line-height:1.5;tab-size:4;hyphens:none;color:#c5c8c6;background-color:#27292c !important;border:#43484c;border-radius:3px}pre[class*="language-"]{padding:1em}code[class*="language-"] .token.comment,pre[class*="language-"] .token.comment,code[class*="language-"] .token.prolog,pre[class*="language-"] .token.prolog,code[class*="language-"] .token.doctype,pre[class*="language-"] .token.doctype,code[class*="language-"] .token.cdata,pre[class*="language-"] .token.cdata{color:#7C7C7C}code[class*="language-"] .token.punctuation,pre[class*="language-"] .token.punctuation{color:#96CBFE}code[class*="language-"] .namespace,pre[class*="language-"] .namespace{opacity:.7}code[class*="language-"] .token.constant,pre[class*="language-"] .token.constant{color:#99CC99}code[class*="language-"] .token.boolean,pre[class*="language-"] .token.boolean,code[class*="language-"] .token.number,pre[class*="language-"] .token.number,code[class*="language-"] .token.function-name,pre[class*="language-"] .token.function-name{color:#FF73FD}code[class*="language-"] .token.tag,pre[class*="language-"] .token.tag{color:#96CBFE}code[class*="language-"] .token.selector,pre[class*="language-"] .token.selector{color:#96CBFE}code[class*="language-"] .token.attr-name,pre[class*="language-"] .token.attr-name{color:#C6C5FE}code[class*="language-"] .token.string,pre[class*="language-"] .token.string{color:#A8FF60}code[class*="language-"] .token.char,pre[class*="language-"] .token.char{color:#FF8000}code[class*="language-"] .token.entity,pre[class*="language-"] .token.entity{color:#FFD2A7}code[class*="language-"] .token.url,pre[class*="language-"] .token.url{color:#7C7C7C}code[class*="language-"] .token.operator,pre[class*="language-"] .token.operator{color:#EDEDED}code[class*="language-"] .token.atrule,pre[class*="language-"] .token.atrule,code[class*="language-"] .token.attr-value,pre[class*="language-"] .token.attr-value,code[class*="language-"] .token.keyword,pre[class*="language-"] .token.keyword{color:#CFCB90}code[class*="language-"] .token.function,pre[class*="language-"] .token.function{color:#FFD2A7}code[class*="language-"] .token.class-name,pre[class*="language-"] .token.class-name{color:#FFD2A7}code[class*="language-"] .token.variable,pre[class*="language-"] .token.variable{color:#C6C5FE}code[class*="language-"] .token.regex,pre[class*="language-"] .token.regex,code[class*="language-"] .token.important,pre[class*="language-"] .token.important{color:#E9C062}code[class*="language-"] .token.important,pre[class*="language-"] .token.important,code[class*="language-"] .token.bold,pre[class*="language-"] .token.bold{font-weight:bold}code[class*="language-"] .token.italic,pre[class*="language-"] .token.italic{font-style:italic}code[class*="language-"] .token.entity,pre[class*="language-"] .token.entity{cursor:help}pre[data-line]{position:relative;padding:1em 0 1em 3em}pre[data-line] .line-highlight-wrapper{position:absolute;top:0;left:0;background-color:transparent;display:block;width:100%}pre[data-line] .line-highlight{position:absolute;left:0;right:0;padding:inherit 0;margin-top:1em;background:rgba(153,122,102,0.08);background:linear-gradient(to right, rgba(153,122,102,0.1) 70%, rgba(153,122,102,0));pointer-events:none;line-height:inherit;white-space:pre}pre[data-line] .line-highlight:before,pre[data-line] .line-highlight[data-end]:after{content:attr(data-start);position:absolute;top:.4em;left:.6em;min-width:1em;padding:0 .5em;background-color:rgba(153,122,102,0.4);color:#f5f2f0;font:bold 65%/1.5 sans-serif;text-align:center;vertical-align:.3em;border-radius:999px;text-shadow:none;box-shadow:0 1px white}pre[data-line] .line-highlight[data-end]:after{content:attr(data-end);top:auto;bottom:.4em}html body{font-family:"Helvetica Neue",Helvetica,"Segoe UI",Arial,freesans,sans-serif;font-size:16px;line-height:1.6;color:#333;background-color:#fff;overflow:initial;box-sizing:border-box;word-wrap:break-word}html body>:first-child{margin-top:0}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{line-height:1.2;margin-top:1em;margin-bottom:16px;color:#000}html body h1{font-size:2.25em;font-weight:300;padding-bottom:.3em}html body h2{font-size:1.75em;font-weight:400;padding-bottom:.3em}html body h3{font-size:1.5em;font-weight:500}html body h4{font-size:1.25em;font-weight:600}html body h5{font-size:1.1em;font-weight:600}html body h6{font-size:1em;font-weight:600}html body h1,html body h2,html body h3,html body h4,html body h5{font-weight:600}html body h5{font-size:1em}html body h6{color:#5c5c5c}html body strong{color:#000}html body del{color:#5c5c5c}html body a:not([href]){color:inherit;text-decoration:none}html body a{color:#08c;text-decoration:none}html body a:hover{color:#00a3f5;text-decoration:none}html body img{max-width:100%}html body>p{margin-top:0;margin-bottom:16px;word-wrap:break-word}html body>ul,html body>ol{margin-bottom:16px}html body ul,html body ol{padding-left:2em}html body ul.no-list,html body ol.no-list{padding:0;list-style-type:none}html body ul ul,html body ul ol,html body ol ol,html body ol ul{margin-top:0;margin-bottom:0}html body li{margin-bottom:0}html body li.task-list-item{list-style:none}html body li>p{margin-top:0;margin-bottom:0}html body .task-list-item-checkbox{margin:0 .2em .25em -1.8em;vertical-align:middle}html body .task-list-item-checkbox:hover{cursor:pointer}html body blockquote{margin:16px 0;font-size:inherit;padding:0 15px;color:#5c5c5c;background-color:#f0f0f0;border-left:4px solid #d6d6d6}html body blockquote>:first-child{margin-top:0}html body blockquote>:last-child{margin-bottom:0}html body hr{height:4px;margin:32px 0;background-color:#d6d6d6;border:0 none}html body table{margin:10px 0 15px 0;border-collapse:collapse;border-spacing:0;display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all}html body table th{font-weight:bold;color:#000}html body table td,html body table th{border:1px solid #d6d6d6;padding:6px 13px}html body dl{padding:0}html body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:bold}html body dl dd{padding:0 16px;margin-bottom:16px}html body code{font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:.85em !important;color:#000;background-color:#f0f0f0;border-radius:3px;padding:.2em 0}html body code::before,html body code::after{letter-spacing:-0.2em;content:"\00a0"}html body pre>code{padding:0;margin:0;font-size:.85em !important;word-break:normal;white-space:pre;background:transparent;border:0}html body .highlight{margin-bottom:16px}html body .highlight pre,html body pre{padding:1em;overflow:auto;font-size:.85em !important;line-height:1.45;border:#d6d6d6;border-radius:3px}html body .highlight pre{margin-bottom:0;word-break:normal}html body pre code,html body pre tt{display:inline;max-width:initial;padding:0;margin:0;overflow:initial;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}html body pre code:before,html body pre tt:before,html body pre code:after,html body pre tt:after{content:normal}html body p,html body blockquote,html body ul,html body ol,html body dl,html body pre{margin-top:0;margin-bottom:16px}html body kbd{color:#000;border:1px solid #d6d6d6;border-bottom:2px solid #c7c7c7;padding:2px 4px;background-color:#f0f0f0;border-radius:3px}@media print{html body{background-color:#fff}html body h1,html body h2,html body h3,html body h4,html body h5,html body h6{color:#000;page-break-after:avoid}html body blockquote{color:#5c5c5c}html body pre{page-break-inside:avoid}html body table{display:table}html body img{display:block;max-width:100%;max-height:100%}html body pre,html body code{word-wrap:break-word;white-space:pre}}.markdown-preview{width:100%;height:100%;box-sizing:border-box}.markdown-preview .pagebreak,.markdown-preview .newpage{page-break-before:always}.markdown-preview pre.line-numbers{position:relative;padding-left:3.8em;counter-reset:linenumber}.markdown-preview pre.line-numbers>code{position:relative}.markdown-preview pre.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:1em;font-size:100%;left:0;width:3em;letter-spacing:-1px;border-right:1px solid #999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.markdown-preview pre.line-numbers .line-numbers-rows>span{pointer-events:none;display:block;counter-increment:linenumber}.markdown-preview pre.line-numbers .line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}.markdown-preview .mathjax-exps .MathJax_Display{text-align:center !important}.markdown-preview:not([for="preview"]) .code-chunk .btn-group{display:none}.markdown-preview:not([for="preview"]) .code-chunk .status{display:none}.markdown-preview:not([for="preview"]) .code-chunk .output-div{margin-bottom:16px}.markdown-preview .md-toc{padding:0}.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link{display:inline;padding:.25rem 0}.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link p,.markdown-preview .md-toc .md-toc-link-wrapper .md-toc-link div{display:inline}.markdown-preview .md-toc .md-toc-link-wrapper.highlighted .md-toc-link{font-weight:800}.scrollbar-style::-webkit-scrollbar{width:8px}.scrollbar-style::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}.scrollbar-style::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,0.66);border:4px solid rgba(150,150,150,0.66);background-clip:content-box}html body[for="html-export"]:not([data-presentation-mode]){position:relative;width:100%;height:100%;top:0;left:0;margin:0;padding:0;overflow:auto}html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{position:relative;top:0}@media screen and (min-width:914px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{padding:2em calc(50% - 457px + 2em)}}@media screen and (max-width:914px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for="html-export"]:not([data-presentation-mode]) .markdown-preview{font-size:14px !important;padding:1em}}@media print{html body[for="html-export"]:not([data-presentation-mode]) #sidebar-toc-btn{display:none}}html body[for="html-export"]:not([data-presentation-mode]) #sidebar-toc-btn{position:fixed;bottom:8px;left:8px;font-size:28px;cursor:pointer;color:inherit;z-index:99;width:32px;text-align:center;opacity:.4}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] #sidebar-toc-btn{opacity:1}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc{position:fixed;top:0;left:0;width:300px;height:100%;padding:32px 0 48px 0;font-size:14px;box-shadow:0 0 4px rgba(150,150,150,0.33);box-sizing:border-box;overflow:auto;background-color:inherit}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar{width:8px}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-track{border-radius:10px;background-color:transparent}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc::-webkit-scrollbar-thumb{border-radius:5px;background-color:rgba(150,150,150,0.66);border:4px solid rgba(150,150,150,0.66);background-clip:content-box}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc a{text-decoration:none}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc{padding:0 16px}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link{display:inline;padding:.25rem 0}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link p,html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper .md-toc-link div{display:inline}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .md-sidebar-toc .md-toc .md-toc-link-wrapper.highlighted .md-toc-link{font-weight:800}html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{left:300px;width:calc(100% - 300px);padding:2em calc(50% - 457px - 300px/2);margin:0;box-sizing:border-box}@media screen and (max-width:1274px){html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{padding:2em}}@media screen and (max-width:450px){html body[for="html-export"]:not([data-presentation-mode])[html-show-sidebar-toc] .markdown-preview{width:100%}}html body[for="html-export"]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .markdown-preview{left:50%;transform:translateX(-50%)}html body[for="html-export"]:not([data-presentation-mode]):not([html-show-sidebar-toc]) .md-sidebar-toc{display:none}
/* Please visit the URL below for more information: */
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */
.markdown-preview.markdown-preview {
background-color: #22272e;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
font-size: 16px;
color: #adbac7;
line-height: 1.5;
word-wrap: break-word;
/* a 的配置会被所有 a:... 继承,除非 a:... 覆盖它 */
}
.markdown-preview.markdown-preview .octicon {
display: inline-block;
fill: currentColor;
vertical-align: text-bottom;
}
.markdown-preview.markdown-preview .anchor {
float: left;
line-height: 1;
margin-left: -20px;
padding-right: 4px;
}
.markdown-preview.markdown-preview .anchor:focus {
outline: none;
}
.markdown-preview.markdown-preview h1 .octicon-link,
.markdown-preview.markdown-preview h2 .octicon-link,
.markdown-preview.markdown-preview h3 .octicon-link,
.markdown-preview.markdown-preview h4 .octicon-link,
.markdown-preview.markdown-preview h5 .octicon-link,
.markdown-preview.markdown-preview h6 .octicon-link {
color: #1b1f23;
vertical-align: middle;
visibility: hidden;
}
.markdown-preview.markdown-preview h1:hover .anchor,
.markdown-preview.markdown-preview h2:hover .anchor,
.markdown-preview.markdown-preview h3:hover .anchor,
.markdown-preview.markdown-preview h4:hover .anchor,
.markdown-preview.markdown-preview h5:hover .anchor,
.markdown-preview.markdown-preview h6:hover .anchor {
text-decoration: none;
}
.markdown-preview.markdown-preview h1:hover .anchor .octicon-link,
.markdown-preview.markdown-preview h2:hover .anchor .octicon-link,
.markdown-preview.markdown-preview h3:hover .anchor .octicon-link,
.markdown-preview.markdown-preview h4:hover .anchor .octicon-link,
.markdown-preview.markdown-preview h5:hover .anchor .octicon-link,
.markdown-preview.markdown-preview h6:hover .anchor .octicon-link {
visibility: visible;
}
.markdown-preview.markdown-preview h1:hover .anchor .octicon-link:before,
.markdown-preview.markdown-preview h2:hover .anchor .octicon-link:before,
.markdown-preview.markdown-preview h3:hover .anchor .octicon-link:before,
.markdown-preview.markdown-preview h4:hover .anchor .octicon-link:before,
.markdown-preview.markdown-preview h5:hover .anchor .octicon-link:before,
.markdown-preview.markdown-preview h6:hover .anchor .octicon-link:before {
width: 16px;
height: 16px;
content: ' ';
display: inline-block;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' width='16' height='16' aria-hidden='true'%3E%3Cpath fill-rule='evenodd' d='M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z'%3E%3C/path%3E%3C/svg%3E");
}
.markdown-preview.markdown-preview details {
display: block;
}
.markdown-preview.markdown-preview summary {
display: list-item;
}
.markdown-preview.markdown-preview strong {
font-weight: inherit;
font-weight: bolder;
}
.markdown-preview.markdown-preview h1 {
font-size: 2em;
margin: 0.67em 0;
}
.markdown-preview.markdown-preview img {
border-style: none;
}
.markdown-preview.markdown-preview code,
.markdown-preview.markdown-preview kbd,
.markdown-preview.markdown-preview pre {
font-family: monospace, monospace;
font-size: 1em;
}
.markdown-preview.markdown-preview hr {
height: 0.25em;
padding: 0;
margin: 24px 0;
border: 0;
overflow: visible;
background: transparent;
box-sizing: initial;
}
.markdown-preview.markdown-preview input {
font: inherit;
margin: 0;
}
.markdown-preview.markdown-preview input {
overflow: visible;
}
.markdown-preview.markdown-preview [type=checkbox] {
box-sizing: border-box;
padding: 0;
}
.markdown-preview.markdown-preview * {
box-sizing: border-box;
}
.markdown-preview.markdown-preview input {
font-family: inherit;
font-size: inherit;
line-height: inherit;
}
.markdown-preview.markdown-preview a {
color: #589cf1;
text-decoration: none;
background-color: initial;
}
.markdown-preview.markdown-preview a:hover {
text-decoration: underline;
outline-width: 0;
}
.markdown-preview.markdown-preview a:active {
outline-width: 0;
}
.markdown-preview.markdown-preview a:not([href]) {
color: inherit;
text-decoration: none;
}
.markdown-preview.markdown-preview code {
color: inherit;
padding: 0.2em 0.1em 0.1em 0.1em;
margin: 0;
font-size: 85%;
background-color: #3c434d;
border-radius: 4px;
}
.markdown-preview.markdown-preview blockquote {
color: #768390;
background-color: #22272e;
margin: 0;
padding: 0 1em;
}
.markdown-preview.markdown-preview b,
.markdown-preview.markdown-preview strong {
color: inherit;
}
.markdown-preview.markdown-preview hr:after,
.markdown-preview.markdown-preview hr:before {
display: table;
content: "";
}
.markdown-preview.markdown-preview hr:after {
clear: both;
}
.markdown-preview.markdown-preview table {
display: block;
width: 100%;
overflow: auto;
border-spacing: 0;
border-collapse: collapse;
}
.markdown-preview.markdown-preview td,
.markdown-preview.markdown-preview th {
padding: 0;
}
.markdown-preview.markdown-preview details summary {
cursor: pointer;
}
.markdown-preview.markdown-preview kbd {
display: inline-block;
padding: 3px 5px;
font: 11px SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
line-height: 10px;
vertical-align: middle;
border-radius: 3px;
}
.markdown-preview.markdown-preview h1,
.markdown-preview.markdown-preview h2,
.markdown-preview.markdown-preview h3,
.markdown-preview.markdown-preview h4,
.markdown-preview.markdown-preview h5,
.markdown-preview.markdown-preview h6 {
margin-top: 0;
margin-bottom: 0;
}
.markdown-preview.markdown-preview h1,
.markdown-preview.markdown-preview h2 {
font-weight: 600;
}
.markdown-preview.markdown-preview h2 {
font-size: 24px;
}
.markdown-preview.markdown-preview h3 {
font-size: 20px;
}
.markdown-preview.markdown-preview h3,
.markdown-preview.markdown-preview h4 {
font-weight: 600;
}
.markdown-preview.markdown-preview h4 {
font-size: 16px;
}
.markdown-preview.markdown-preview h5 {
font-size: 14px;
}
.markdown-preview.markdown-preview h5,
.markdown-preview.markdown-preview h6 {
font-weight: 600;
}
.markdown-preview.markdown-preview h6 {
font-size: 12px;
}
.markdown-preview.markdown-preview p {
margin-top: 0;
margin-bottom: 10px;
}
.markdown-preview.markdown-preview ol,
.markdown-preview.markdown-preview ul {
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
}
.markdown-preview.markdown-preview ol ol,
.markdown-preview.markdown-preview ul ol {
list-style-type: lower-roman;
}
.markdown-preview.markdown-preview ol ol ol,
.markdown-preview.markdown-preview ol ul ol,
.markdown-preview.markdown-preview ul ol ol,
.markdown-preview.markdown-preview ul ul ol {
list-style-type: lower-alpha;
}
.markdown-preview.markdown-preview dd {
margin-left: 0;
}
.markdown-preview.markdown-preview code,
.markdown-preview.markdown-preview pre {
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 12px;
}
.markdown-preview.markdown-preview pre {
margin-top: 0;
margin-bottom: 0;
}
.markdown-preview.markdown-preview input::-webkit-inner-spin-button,
.markdown-preview.markdown-preview input::-webkit-outer-spin-button {
margin: 0;
-webkit-appearance: none;
appearance: none;
}
.markdown-preview.markdown-preview :checked + .radio-label {
position: relative;
z-index: 1;
}
.markdown-preview.markdown-preview .border-0 {
border: 0 !important;
}
.markdown-preview.markdown-preview .rounded-1 {
border-radius: 3px !important;
}
.markdown-preview.markdown-preview .mb-0 {
margin-bottom: 0 !important;
}
.markdown-preview.markdown-preview .my-2 {
margin-top: 8px !important;
margin-bottom: 8px !important;
}
.markdown-preview.markdown-preview .pl-0 {
padding-left: 0 !important;
}
.markdown-preview.markdown-preview .py-0 {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.markdown-preview.markdown-preview .pl-1 {
padding-left: 4px !important;
}
.markdown-preview.markdown-preview .pl-2 {
padding-left: 8px !important;
}
.markdown-preview.markdown-preview .py-2 {
padding-top: 8px !important;
padding-bottom: 8px !important;
}
.markdown-preview.markdown-preview .pl-3,
.markdown-preview.markdown-preview .px-3 {
padding-left: 16px !important;
}
.markdown-preview.markdown-preview .px-3 {
padding-right: 16px !important;
}
.markdown-preview.markdown-preview .pl-4 {
padding-left: 24px !important;
}
.markdown-preview.markdown-preview .pl-5 {
padding-left: 32px !important;
}
.markdown-preview.markdown-preview .pl-6 {
padding-left: 40px !important;
}
.markdown-preview.markdown-preview .f6 {
font-size: 12px !important;
}
.markdown-preview.markdown-preview .lh-condensed {
line-height: 1.25 !important;
}
.markdown-preview.markdown-preview .text-bold {
font-weight: 600 !important;
}
.markdown-preview.markdown-preview .pl-c2:before {
content: "^M";
}
.markdown-preview.markdown-preview .pl-sr .pl-cce {
font-weight: 700;
}
.markdown-preview.markdown-preview .pl-mh,
.markdown-preview.markdown-preview .pl-mh .pl-en,
.markdown-preview.markdown-preview .pl-ms {
font-weight: 700;
}
.markdown-preview.markdown-preview .pl-mi {
font-style: italic;
}
.markdown-preview.markdown-preview .pl-mb {
font-weight: 700;
}
.markdown-preview.markdown-preview .pl-mdr {
font-weight: 700;
}
.markdown-preview.markdown-preview .pl-corl {
text-decoration: underline;
}
.markdown-preview.markdown-preview .mb-0 {
margin-bottom: 0 !important;
}
.markdown-preview.markdown-preview .my-2 {
margin-bottom: 8px !important;
}
.markdown-preview.markdown-preview .my-2 {
margin-top: 8px !important;
}
.markdown-preview.markdown-preview .pl-0 {
padding-left: 0 !important;
}
.markdown-preview.markdown-preview .py-0 {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.markdown-preview.markdown-preview .pl-1 {
padding-left: 4px !important;
}
.markdown-preview.markdown-preview .pl-2 {
padding-left: 8px !important;
}
.markdown-preview.markdown-preview .py-2 {
padding-top: 8px !important;
padding-bottom: 8px !important;
}
.markdown-preview.markdown-preview .pl-3 {
padding-left: 16px !important;
}
.markdown-preview.markdown-preview .pl-4 {
padding-left: 24px !important;
}
.markdown-preview.markdown-preview .pl-5 {
padding-left: 32px !important;
}
.markdown-preview.markdown-preview .pl-6 {
padding-left: 40px !important;
}
.markdown-preview.markdown-preview .pl-7 {
padding-left: 48px !important;
}
.markdown-preview.markdown-preview .pl-8 {
padding-left: 64px !important;
}
.markdown-preview.markdown-preview .pl-9 {
padding-left: 80px !important;
}
.markdown-preview.markdown-preview .pl-10 {
padding-left: 96px !important;
}
.markdown-preview.markdown-preview .pl-11 {
padding-left: 112px !important;
}
.markdown-preview.markdown-preview .pl-12 {
padding-left: 128px !important;
}
.markdown-preview.markdown-preview .markdown-body:after,
.markdown-preview.markdown-preview .markdown-body:before {
display: table;
content: "";
}
.markdown-preview.markdown-preview .markdown-body:after {
clear: both;
}
.markdown-preview.markdown-preview .markdown-body > :first-child {
margin-top: 0 !important;
}
.markdown-preview.markdown-preview .markdown-body > :last-child {
margin-bottom: 0 !important;
}
.markdown-preview.markdown-preview blockquote,
.markdown-preview.markdown-preview details,
.markdown-preview.markdown-preview dl,
.markdown-preview.markdown-preview ol,
.markdown-preview.markdown-preview p,
.markdown-preview.markdown-preview pre,
.markdown-preview.markdown-preview table,
.markdown-preview.markdown-preview ul {
margin-top: 0;
margin-bottom: 16px;
}
.markdown-preview.markdown-preview blockquote > :first-child {
margin-top: 0;
}
.markdown-preview.markdown-preview blockquote > :last-child {
margin-bottom: 0;
}
.markdown-preview.markdown-preview h1,
.markdown-preview.markdown-preview h2,
.markdown-preview.markdown-preview h3,
.markdown-preview.markdown-preview h4,
.markdown-preview.markdown-preview h5,
.markdown-preview.markdown-preview h6 {
margin-top: 24px;
margin-bottom: 16px;
font-weight: 600;
line-height: 1.25;
color: #adbac7;
}
.markdown-preview.markdown-preview h1,
.markdown-preview.markdown-preview h2 {
padding-bottom: 0.3em;
border-bottom: 1px solid #373e47;
}
.markdown-preview.markdown-preview h2 {
font-size: 1.5em;
}
.markdown-preview.markdown-preview h3 {
font-size: 1.25em;
}
.markdown-preview.markdown-preview h4 {
font-size: 1em;
}
.markdown-preview.markdown-preview h5 {
font-size: 0.875em;
}
.markdown-preview.markdown-preview h6 {
font-size: 0.85em;
}
.markdown-preview.markdown-preview ol,
.markdown-preview.markdown-preview ul {
padding-left: 2em;
}
.markdown-preview.markdown-preview ol ol,
.markdown-preview.markdown-preview ol ul,
.markdown-preview.markdown-preview ul ol,
.markdown-preview.markdown-preview ul ul {
margin-top: 0;
margin-bottom: 0;
}
.markdown-preview.markdown-preview li {
word-wrap: break-all;
}
.markdown-preview.markdown-preview li > p {
margin-top: 16px;
}
.markdown-preview.markdown-preview li + li {
margin-top: 0.25em;
}
.markdown-preview.markdown-preview dl {
padding: 0;
}
.markdown-preview.markdown-preview dl dt {
padding: 0;
margin-top: 16px;
font-size: 1em;
font-style: italic;
font-weight: 600;
}
.markdown-preview.markdown-preview dl dd {
padding: 0 16px;
margin-bottom: 16px;
}
.markdown-preview.markdown-preview table th {
color: #adbac7;
font-weight: 600;
}
.markdown-preview.markdown-preview table td,
.markdown-preview.markdown-preview table th {
padding: 6px 13px;
border: 1px solid #444c56;
}
.markdown-preview.markdown-preview table tr {
background-color: #22272e;
}
.markdown-preview.markdown-preview table tr:nth-child(2n) {
background-color: #2d333b;
}
.markdown-preview.markdown-preview img {
max-width: 100%;
box-sizing: initial;
}
.markdown-preview.markdown-preview img[align=right] {
padding-left: 20px;
}
.markdown-preview.markdown-preview img[align=left] {
padding-right: 20px;
}
.markdown-preview.markdown-preview pre {
word-wrap: normal;
background-color: #2d333b;
}
.markdown-preview.markdown-preview pre > code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
.markdown-preview.markdown-preview .highlight {
margin-bottom: 16px;
}
.markdown-preview.markdown-preview .highlight pre {
margin-bottom: 0;
word-break: normal;
}
.markdown-preview.markdown-preview .highlight pre,
.markdown-preview.markdown-preview pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
border-radius: 3px;
}
.markdown-preview.markdown-preview pre code {
display: inline;
max-width: auto;
padding: 0;
margin: 0;
overflow: visible;
line-height: inherit;
word-wrap: normal;
background-color: initial;
border: 0;
}
.markdown-preview.markdown-preview .commit-tease-sha {
display: inline-block;
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 90%;
}
.markdown-preview.markdown-preview .blob-wrapper {
overflow-x: auto;
overflow-y: hidden;
}
.markdown-preview.markdown-preview .blob-wrapper-embedded {
max-height: 240px;
overflow-y: auto;
}
.markdown-preview.markdown-preview .blob-num {
width: 1%;
min-width: 50px;
padding-right: 10px;
padding-left: 10px;
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 12px;
line-height: 20px;
text-align: right;
white-space: nowrap;
vertical-align: top;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.markdown-preview.markdown-preview .blob-num:before {
content: attr(data-line-number);
}
.markdown-preview.markdown-preview .blob-code {
position: relative;
padding-right: 10px;
padding-left: 10px;
line-height: 20px;
vertical-align: top;
}
.markdown-preview.markdown-preview .blob-code-inner {
overflow: visible;
font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, monospace;
font-size: 12px;
word-wrap: normal;
white-space: pre;
}
.markdown-preview.markdown-preview .pl-token.active,
.markdown-preview.markdown-preview .pl-token:hover {
cursor: pointer;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="1"] {
-moz-tab-size: 1;
tab-size: 1;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="2"] {
-moz-tab-size: 2;
tab-size: 2;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="3"] {
-moz-tab-size: 3;
tab-size: 3;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="4"] {
-moz-tab-size: 4;
tab-size: 4;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="5"] {
-moz-tab-size: 5;
tab-size: 5;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="6"] {
-moz-tab-size: 6;
tab-size: 6;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="7"] {
-moz-tab-size: 7;
tab-size: 7;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="8"] {
-moz-tab-size: 8;
tab-size: 8;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="9"] {
-moz-tab-size: 9;
tab-size: 9;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="10"] {
-moz-tab-size: 10;
tab-size: 10;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="11"] {
-moz-tab-size: 11;
tab-size: 11;
}
.markdown-preview.markdown-preview .tab-size[data-tab-size="12"] {
-moz-tab-size: 12;
tab-size: 12;
}
.markdown-preview.markdown-preview .task-list-item {
list-style-type: none;
}
.markdown-preview.markdown-preview .task-list-item + .task-list-item {
margin-top: 3px;
}
.markdown-preview.markdown-preview .task-list-item input {
margin: 0 0.2em 0.25em -1.6em;
vertical-align: middle;
}
</style>
</head>
<body for="html-export">
<div class="mume markdown-preview ">
<h1 align="center">Bluing</h1>
<h3 align="center">An intelligence gathering tool for hacking Bluetooth</h3>
<p align="center">
<a href="https://fo-000.github.io/bluing/">English</a> · <a href="https://fo-000.github.io/bluing/index-cn.html">简体中文</a>
</p>
<p align="center">
<img src="https://img.shields.io/badge/python-3.10-blue">
<a href="https://pypi.org/project/bluing/"><img src="https://img.shields.io/pypi/v/bluing?color=blue"></a>
<a href="https://pepy.tech/badge/bluing"><img src="https://pepy.tech/badge/bluing"></a>
<a href="https://pepy.tech/badge/bluescan"><img src="https://static.pepy.tech/personalized-badge/bluescan?period=total&units=international_system&left_color=grey&right_color=blue&left_text=predecessor%20downloads"></a>
</p>
<p align="center">
<img src="https://img.shields.io/badge/Tested%20on-Ubuntu%2022.04%20(x64)%20%7C%20Kali%202022.4%20(x64)%20%7C%20Kali%20NetHunter%202022.4%20(aarch64)-brightgreen">
</p>
<p>Bluing (formerly <a href="https://pypi.org/project/bluescan/">bluescan</a>) is a <strong>Blu</strong>etooth <strong>In</strong>telligence <strong>G</strong>athering tool written primarily in Python. It can help us snoop on the internal structure of Bluetooth which is a complex protocol, or hack Bluetooth devices. Here are the main features of the tool:</p>
<p><img src="https://raw.githubusercontent.com/fO-000/bluing/master/assets/bluing-features-mermaid-mindmap.svg" alt></p>
<h2 class="mume-header" id="-installation">Installation</h2>
<p>Bluing partially depend on <a href="http://www.bluez.org/">BlueZ</a>, the official Linux Bluetooth protocol stack. So it only supports running on Linux. The following command is used to install dependencies:</p>
<pre data-role="codeBlock" data-info="sh" class="language-bash"><span class="token function">sudo</span> <span class="token function">apt</span> <span class="token function">install</span> python3-pip python3-dev libcairo2-dev libgirepository1.0-dev <span class="token punctuation">\</span>
libbluetooth-dev libdbus-1-dev bluez-tools python3-cairo-dev <span class="token punctuation">\</span>
rfkill meson patchelf bluez ubertooth adb python-is-python3
</pre><p>Currently, bluing is distributed via <a href="https://pypi.org/project/bluing/">PyPI</a> and <strong>only supports Python 3.10</strong>. The following is an installation command:</p>
<pre data-role="codeBlock" data-info="sh" class="language-bash"><span class="token function">sudo</span> pip3.10 <span class="token function">install</span> bluing
</pre><h2 class="mume-header" id="-usage">Usage</h2>
<blockquote>
<ul>
<li>God said, "Let there be <strong>colorful</strong>", and there was <a href="https://fo-000.github.io/bluing/#-usage"><strong>colorful</strong></a>.</li>
<li>Perhaps you would like a brief overview of the <a href="https://fo-000.github.io/bluing/#-recommended-hardware">recommended hardware</a>.</li>
</ul>
</blockquote>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">bluing</span> --help</code></summary>
<pre>An intelligence gathering tool for hacking Bluetooth
Usage:
bluing [-h | --help]
bluing (-v | --version)
bluing [-i <hci>] --clean BD_ADDR
bluing --flash-micro-bit
bluing <command> [<args>...]
Arguments:
BD_ADDR Bluetooth device address
Options:
-h, --help Print this help and quit
-v, --version Print version information and quit
-i <hci> HCI device
--clean Clean cached data of a remote device
--flash-micro-bit Download the dedicated firmware to micro:bit(s)
Commands:
br Basic Rate system, includes an optional Enhanced Data Rate (EDR) extension
le Low Energy system
android Android Bluetooth stack
spoof Spoof with new local device information
plugin Manage plugins
Run `bluing <command> --help` for more information on a command.
</pre>
</details>
<h3 class="mume-header" id="-br-command-basic-rate-system"><code>br</code> command: Basic Rate system</h3>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">bluing</span> br --help</code></summary>
<pre>Usage:
bluing br [-h | --help]
bluing br [-i <hci>] [--inquiry-len=<n>] --inquiry
bluing br [-i <hci>] --sdp BD_ADDR
bluing br [-i <hci>] --local --sdp
bluing br [-i <hci>] --lmp-features BD_ADDR
bluing br [-i <hci>] --local --lmp-features
bluing br [-i <hci>] --stack BD_ADDR
bluing br [-i <hci>] --local --stack
bluing br [-i <hci>] [--inquiry-scan] --mon-incoming-conn
bluing br --org=<name> --timeout=<sec> --sniff-and-guess-bd-addr
Arguments:
BD_ADDR BR/EDR Bluetooth device address
Options:
-h, --help Print this help and quit
-i <hci> HCI device
--local Target a local BR/EDR device instead of a remote one
--inquiry Discover other nearby BR/EDR controllers
--inquiry-len=<n> Maximum amount of time (added to --ext-inquiry-len=<n>)
specified before the Inquiry is halted.
Time = n * 1.28 s
Time range: 1.28 to 61.44 s
Range of n: 0x01 to 0x30 [default: 8]
--ext-inquiry-len=<n> Extended_Inquiry_Length measured in number of
Baseband slots.
Interval Length = n * 0.625 ms (1 Baseband slot)
Time Range: 0 to 40.9 s
Range of n: 0x0000 to 0xFFFF [default: 0]
--sdp Retrieve information from the SDP database of a
remote BR/EDR device
--lmp-features Read LMP features of a remote BR/EDR device
--stack Determine the Bluetooth stack type of a remote BR/EDR device
--mon-incoming-conn Print incoming connection from other nearby BR/EDR devices
--inquiry-scan Enable the Inquiry Scan
--sniff-and-guess-bd-addr Sniff SAPs of BD_ADDRs over the air, then guess the
address based on the organization name. Need at
least one Ubertooth device
--org=<name> An organization name in the OUI.txt
--timeout=<sec> Timeout in second(s)
</pre>
</details>
<h4 class="mume-header" id="--inquiry-discover-other-nearby-bredr-controllers"><code>--inquiry</code>: Discover other nearby BR/EDR controllers</h4>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">sudo bluing</span> br --inquiry</code></summary>
<pre>[<span style="font-weight: bold; color: #7da9c7">INFO</span>] Discovering other nearby BR/EDR Controllers on <span style="font-weight: bold; color: #7da9c7">hci0</span> for <span style="font-weight: bold; color: #7da9c7">10.24</span> sec
BD_ADDR: <span style="font-weight: bold; color: #7da9c7">B0:C9:52:45:33:13</span> (<span style="font-weight: bold; color: #7da9c7">GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP.,LTD</span>)
Page scan repetition mode: 1 (R1)
Reserved: 0x02
CoD: 0x5a020c
Service Class: 0b1011010000
Telephony
Object Transfer
Capturing
Networking
Major Device Class: 0b00010, <span style="font-weight: bold; color: #7da9c7">Phone</span>
Clock offset: 0x50D5
RSSI: -61
Extended inquiry response:
Complete Local Name: <span style="font-weight: bold; color: #7da9c7">old man phone</span>
Complete List of 16-bit Service Class UUIDs
0x1105 <span style="font-weight: bold; color: #7da9c7">OBEXObjectPush</span>
0x110a <span style="font-weight: bold; color: #7da9c7">AudioSource</span>
0x110c <span style="font-weight: bold; color: #7da9c7">A/V_RemoteControlTarget</span>
0x110e <span style="font-weight: bold; color: #7da9c7">A/V_RemoteControl</span>
0x1112 <span style="font-weight: bold; color: #7da9c7">Headset - Audio Gateway (AG)</span>
0x1115 <span style="font-weight: bold; color: #7da9c7">PANU</span>
0x1116 <span style="font-weight: bold; color: #7da9c7">NAP</span>
0x111f <span style="font-weight: bold; color: #7da9c7">HandsfreeAudioGateway</span>
0x112d <span style="font-weight: bold; color: #7da9c7">SIM_Access</span>
0x112f <span style="font-weight: bold; color: #7da9c7">Phonebook Access - PSE</span>
0x1200 <span style="font-weight: bold; color: #7da9c7">PnPInformation</span>
0x1132 <span style="font-weight: bold; color: #7da9c7">Message Access Server</span>
Complete List of 32-bit Service Class UUIDs
<span style="font-weight: bold; color: #c35956">None</span>
Complete List of 128-bit Service Class UUIDs
<span style="font-weight: bold; color: #7da9c7">A49EAA15-CB06-495C-9F4F-BB80A90CDF00</span>
<span style="font-weight: bold; color: #7da9c7">00000000-0000-0000-0000-000000000000</span>
... ...
[<span style="font-weight: bold; color: #7da9c7">INFO</span>] Requesting the names of all discovered devices...
B0:C9:52:45:33:13 : <span style="font-weight: bold; color: #7da9c7">old man phone</span>
... ...
</pre>
</details>
<h4 class="mume-header" id="--sdp-retrieve-information-from-the-sdp-database-of-a-remote-bredr-device"><code>--sdp</code>: Retrieve information from the SDP database of a remote BR/EDR device</h4>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">sudo bluing</span> br --sdp 34:13:46:23:6A:4D</code></summary>
<pre>Scanning <span style="font-weight: bold"></span><span style="font-weight: bold; color: #00aaaa">⠋</span>
Number of service records: 18
<span style="font-weight: bold; color: #7da9c7">Service Record</span>
0x0000: ServiceRecordHandle (uint32)
0x0001000d
0x0001: ServiceClassIDList (sequence)
0x1105: <span style="font-weight: bold; color: #9fab76">OBEXObjectPush</span>
0x0004: ProtocolDescriptorList (sequence)
0x0100: L2CAP
0x0003: RFCOMM
channel: 0x0c
0x0008: OBEX
0x0005: BrowseGroupList (sequence)
0x1002: <span style="font-weight: bold; color: #9fab76">PublicBrowseRoot</span>
0x0009: BluetoothProfileDescriptorList (sequence)
0x1105: <span style="font-weight: bold; color: #9fab76">OBEXObjectPush</span> <span style="font-weight: bold; color: #9fab76">v1.2</span>
0x0100: ServiceName (guess) (text)
OBEX Object Push
0x0200: GoepL2CapPsm (guess) (uint16)
<span style="font-weight: bold; color: #9fab76"> 0x1023</span>
0x0303: SupportedFormatsList (guess) (sequence)
0x01: <span style="font-weight: bold; color: #9fab76">vCard 2.1</span>
0x02: <span style="font-weight: bold; color: #9fab76">vCard 3.0</span>
0x03: <span style="font-weight: bold; color: #9fab76">vCal 1.0</span>
0x04: <span style="font-weight: bold; color: #9fab76">iCal 2.0</span>
0xff: <span style="font-weight: bold; color: #9fab76">Any type of object</span>
... ...
</pre>
</details>
<h4 class="mume-header" id="--lmp-features-read-lmp-features-of-a-remote-bredr-device"><code>--lmp-features</code>: Read LMP features of a remote BR/EDR device</h4>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">sudo bluing</span> br --lmp-features 6A:8D:99:33:56:AE</code></summary>
<pre><span style="font-weight: bold; color: #7da9c7">Version</span>
Version:
Bluetooth Core Specification 5.2 (LMP)
Bluetooth Core Specification 5.2 (LL)
Manufacturer name: <span style="font-weight: bold; color: #9fab76">HiSilicon Technologies CO., LIMITED</span>
Subversion: 33561
<span style="font-weight: bold; color: #7da9c7">LMP features</span>
3 slot packets: <span style="font-weight: bold; color: #9fab76">True</span>
5 slot packets: <span style="font-weight: bold; color: #9fab76">True</span>
Encryption: <span style="font-weight: bold; color: #9fab76">True</span>
Slot offset: <span style="font-weight: bold; color: #9fab76">True</span>
Timing accuracy: <span style="font-weight: bold; color: #9fab76">True</span>
Role switch: <span style="font-weight: bold; color: #9fab76">True</span>
Hold mode: <span style="font-weight: bold; color: #c35956">False</span>
Sniff mode: <span style="font-weight: bold; color: #9fab76">True</span>
Previously used: <span style="font-weight: bold; color: #c35956">False</span>
Power control requests: <span style="font-weight: bold; color: #9fab76">True</span>
Channel quality driven data rate (CQDDR): <span style="font-weight: bold; color: #9fab76">True</span>
... ...
<span style="font-weight: bold; color: #7da9c7">Extended LMP features</span>
Page 1
Secure Simple Pairing (Host Support): <span style="font-weight: bold; color: #9fab76">True</span>
LE Supported (Host): <span style="font-weight: bold; color: #9fab76">True</span>
Simultaneous LE and BR/EDR to Same Device Capable (Host): <span style="font-weight: bold; color: #9fab76">True</span>
Secure Connections (Host Support): <span style="font-weight: bold; color: #9fab76">True</span>
Page 2
Connectionless Slave Broadcast - Master Operation: <span style="font-weight: bold; color: #c35956">False</span>
Connectionless Slave Broadcast - Slave Operation: <span style="font-weight: bold; color: #c35956">False</span>
Synchronization Train: <span style="font-weight: bold; color: #c35956">False</span>
Synchronization Scan: <span style="font-weight: bold; color: #c35956">False</span>
HCI_Inquiry_Response_Notification event: <span style="font-weight: bold; color: #9fab76">True</span>
... ...
</pre>
</details>
<h4 class="mume-header" id="--mon-incoming-conn-print-incoming-connection-from-other-nearby-bredr-devices"><code>--mon-incoming-conn</code>: Print incoming connection from other nearby BR/EDR devices</h4>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">sudo bluing</span> br --inquiry-scan --mon-incoming-conn</code></summary>
<pre>[<span style="font-weight: bold; color: #7da9c7">INFO</span>] Inquiry_Scan_Interval: 4096, 2560.0 ms
Inquiry_Scan_Window: 4096, 2560.0 ms
[<span style="font-weight: bold; color: #7da9c7">INFO</span>] Inquiry Scan and Page Scan enabled
<span style="font-weight: bold; color: #7da9c7">A0:DE:0F:99:EF:78</span> incoming
CoD: 0x5a020c
Service Class: 0b1011010000
Telephony
Object Transfer
Capturing
Networking
Major Device Class: 0b00010, <span style="font-weight: bold; color: #7da9c7">Phone</span>
link type: 0x01 - ACL
... ...
</pre>
</details>
<h4 class="mume-header" id="--sniff-and-guess-bd-addr-sniff-and-guess-nearby-bd_addrs-over-the-air"><code>--sniff-and-guess-bd-addr</code>: Sniff and guess nearby BD_ADDRs over the air</h4>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">bluing</span> br --org=<span style="font-weight: bold; color: #eac179">'Huawei Device Co., Ltd.'</span> --timeout=600 --sniff-and-guess-bd-addr</code></summary>
<pre>[<span style="font-weight: bold; color: #7da9c7">INFO</span>] Possible BD_ADDR for ??:??:99:4C:45:C3
24:A7:99:4C:45:C3
[<span style="font-weight: bold; color: #7da9c7">INFO</span>] Possible BD_ADDR for ??:??:E4:2D:69:EE
BC:1A:E4:2D:69:EE
D0:05:E4:2D:69:EE
30:AA:E4:2D:69:EE
[<span style="font-weight: bold; color: #7da9c7">INFO</span>] Possible BD_ADDR for ??:??:15:60:81:7F
64:23:15:60:81:7F
D4:74:15:60:81:7F
... ...
</pre>
</details>
<h3 class="mume-header" id="-le-command-low-energy-system"><code>le</code> command: Low Energy system</h3>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">bluing</span> le --help</code></summary>
<pre>Usage:
bluing le [-h | --help]
bluing le [-i <hci>] [--scan-type=<type>] [--timeout=<sec>] [--sort=<key>] --scan
bluing le [-i <hci>] --pairing-feature [--timeout=<sec>] [--addr-type=<type>] PEER_ADDR
bluing le [-i <hci>] --ll-feature-set [--timeout=<sec>] [--addr-type=<type>] PEER_ADDR
bluing le [-i <hci>] --gatt [--io-cap=<name>] [--addr-type=<type>] PEER_ADDR
bluing le [-i <hci>] --local --gatt
bluing le [-i <hci>] --mon-incoming-conn
bluing le [--device=</dev/tty>] [--channel=<num>] --sniff-adv
Arguments:
PEER_ADDR LE Bluetooth device address
Options:
-h, --help Print this help and quit
-i <hci> HCI device
--scan Discover advertising devices nearby
--scan-type=<type> The type of scan to perform. active or passive [default: active]
--sort=<key> Sort the discovered devices by key, only support RSSI
now [default: rssi]
--ll-feature-set Read LL FeatureSet of a remote LE device
--pairing-feature Request the pairing feature of a remote LE device
--timeout=<sec> Duration of the LE scanning, but may not be precise [default: 10]
--gatt Discover GATT Profile hierarchy of a remote LE device
--io-cap=<name> Set IO capability of the agent. Available value:
DisplayOnly, DisplayYesNo, KeyboardOnly, NoInputNoOutput,
KeyboardDisplay (KeyboardOnly) [default: NoInputNoOutput]
--addr-type=<type> Type of the LE address, public or random
--sniff-adv Sniff advertising physical channel PDU. Need at least
one micro:bit (or other supported NRF51 device specified with --device)
--channel=<num> LE advertising physical channel, 37, 38 or 39 [default: 37,38,39]
--device=</dev/tty> Device to use, comma separated (e.g., /dev/ttyUSB0,/dev/ttyUSB1,/dev/ttyUSB2)
Only needed if using NRF51 devices other than micro:bit (e.g., Bluefruit)
</pre>
</details>
<h4 class="mume-header" id="--scan-discover-advertising-devices-nearby"><code>--scan</code>: Discover advertising devices nearby</h4>
<details><summary><code>$ <span style="font-weight: bold; color: #9fab76">sudo bluing</span> le --scan</code></summary>
<pre>[<span style="font-weight: bold; color: #ecc179">WARNING</span>] You might want to spoof your LE address before doing an active scan
[<span style="font-weight: bold; color: #7da9c7">INFO</span>] LE <span style="font-weight: bold; color: #7da9c7">active</span> scanning on <span style="font-weight: bold; color: #7da9c7">hci0</span> for <span style="font-weight: bold; color: #7da9c7">10</span> sec
Scanning <span style="font-weight: bold"></span><span style="font-weight: bold; color: #00aaaa">⠴</span>
<span style="font-weight: bold; color: #7da9c7">----------------LE Devices Scan Result----------------</span>
Addr: <span style="font-weight: bold; color: #7da9c7">74:A3:4A:D4:78:55</span> (<span style="font-weight: bold; color: #7da9c7">ZIMI CORPORATION</span>)
Addr type: <span style="font-weight: bold; color: #7da9c7">public</span>
Connectable: <span style="font-weight: bold; color: #9fab76">True</span>
RSSI: -68 dBm
General Access Profile:
Flags:
LE General Discoverable Mode
BR/EDR Not Supported
Service Data - 16-bit UUID: