蓝牙 - BTSnoop File Format

news2024/11/25 20:45:52

1, Overview [ 概览 ]

BTSnoop 文件格式适用于存储 Bluetooth HCI 通讯数据。它与 RFC 1761 中记录的 snoop 格式非常相似。

The BTSnoop file format is suitable for storing Bluetooth® HCI traffic. It closely resembles the snoop format, as documented in RFC 1761.

2, File Format [ 文件格式 ]

侦测包的格式,是一个多字节数组,结构如下:

The snoop packet capture file is an array of octets structured as follows:

文件头是一个固定长度的字段,包含数据包文件的一般信息及其所含数据包记录的格式。文件头字段后是一个或多个长度可变的数据包记录字段。捕获到的数据包的数据就存放在各个数据包记录字段中。

The File Header is a fixed-length field containing general information about the packet file and the format of the packet records it contains. One or more variable-length Packet Record fields follow the File Header field. Each Packet Record field holds the data of one captured packet.

3, File Header [ 文件头 ]

文件头的结构如下:

The structure of the File Header is as follows:

3.1, Identification Pattern [ 识别模式 ] :

一个8字节的数据,用于将文件识别为窥探数据包捕获文件。识别模式由 8 个十六进制表示的字节组成:

A 64-bit (8 octet) pattern used to identify the file as a snoop packet capture file. The Identification Pattern consists of the 8 hexadecimal octets:

62 74 73 6E 6F 6F 70 00

这是一个ASCII字符串,“btsnoop”,后面以null字节结尾。

This is the ASCII string "btsnoop" followed by one null octets.

3.2, Version Number [ 版本号 ] :

一个4字节的无符号整数值,表示数据包捕获文件所使用的版本。本文档描述的版本号为1,按字节流顺序的值就是:00 00 00 01。

A 32-bit (4 octet) unsigned integer value representing the version of the packet capture file being used. This document describes version number 1.

3.3, Datalink Type [ 数据链路类型 ] :

一个4字节字段,用于标识后面的数据包记录中使用的数据链路头的类型。数据链路类型代码列于下表。值 0 - 1000 为保留值,以最大限度地与 RFC1761 snoop version 2 格式兼容。

A 32-bit (4 octet) field identifying the type of datalink header used in the packet records that follow. The datalink type codes are listed in the table below. Values 0 - 1000 are reserved, to maximize compatibility with the RFC1761 snoop version 2 format.

[ Datalink Codes ]

Datalink Type

Code

Reserved

0 - 1000

Un-encapsulated HCI (H1)

1001

HCI UART (H4)

1002

HCI BSCP

1003

HCI Serial (H5)

1004

Unassigned

1005 - 4294967295

比如我看到的一个snoop log文件,值就是1002,表示HCI的UART通讯数据包,按文件字节流顺序的值就是:00 00 03 ea,是大端顺序。

4, Packet Record Format [ 数据包记录格式 ]

每个数据包记录包含一个数据包的部分或完整副本,以及该数据包的一些描述性信息。数据包可能会被截断,以限制数据包文件中存储的数据量。

Each packet record holds a partial or complete copy of one packet as well as some descriptive information about that packet. The packet may be truncated in order to limit the amount of data to be stored in the packet file.

每个数据包记录包含 24 个字节的数据包描述信息,然后是长度可变的数据包数据和一个可选的填充字段。描述信息的结构是 6 个 32 位(4 个字节)整数值。

Each packet record holds 24 octets of descriptive information about the packet, followed by the packet data, which is variable-length, and an optional pad field. The descriptive information is structured as six 32-bit (4-octet) integer values.

数据包记录的结构如下:

The structure of the packet record is as follows:

4.1, Original Length [ 原始数据包长度 ]

一个 32 位无符号整数,表示通过网络接收到的所捕获数据包的长度,以字节为单位。

A 32-bit unsigned integer representing the length in octets of the captured packet as received via a network.

4.2, Included Length [ 包含长度 ]

一个 32 位无符号整数,代表数据包数据字段的长度。这是该数据包记录中包含的所捕获数据包的字节数。如果接收的数据包被截断,则包含长度字段小于原始长度字段。

A 32-bit unsigned integer representing the length of the Packet Data field. This is the number of octets of the captured packet that are included in this packet record. If the received packet was truncated, the Included Length field is less than the Original Length field.

4.3, Packet Flags [ 数据包标志 ]

该数据包的特定标记。目前定义了以下标志:

Flags specific to this packet. Currently the following flags are defined:

[ Packet Flag Description ]

Bit No.

Definition

0

Direction flag 0 = Sent, 1 = Received

1

Command flag 0 = Data, 1 = Command/Event

2-31

Reserved

第 0 位是 32 位字的最低有效位。

Bit 0 is the least significant bit of the 32-bit word.

方向是相对于host/DTE 的,例如,即对于蓝牙控制器,发送是主机->控制器,接收是控制器->主机。

Direction is relative to host / DTE. i.e. for Bluetooth controllers, Send is Host->Controller, Receive is Controller->Host.

注意: 有些数据链路类型已在数据包数据中编码了部分或全部此类信息。对于这些数据链路类型,这些标记应仅作为参考,数据包数据中的值应优先处理。

Note: Some Datalink Types already encode some or all of this information within the Packet Data. With these Datalink Types, these flags should be treated as informational only, and the value in the Packet Data should take precedence.

4.4, Cumulative Drops [ 累计丢包数 ]

一个 32 位无符号整数,表示所抓取的数据包中累计丢失的数据包的数量, 从捕获的第一个数据包开始到当前的这个。数据包丢失的原因可能是捕获系统资源不足或其他原因。

A 32-bit unsigned integer representing the number of packets that were lost by the system that created the packet file between the first packet record in the file and this one. Packets may be lost because of insufficient resources in the capturing system, or for other reasons.

注意:某些实现不具备计算丢失数据包的能力。这些实现可能会将累计丢包值设为零。

Note: some implementations lack the ability to count dropped packets. Those implementations may set the cumulative drops value to zero.

如果在抓包过程中,有些包没记录下来,就可以用这个字段来表示,如果没有就为0。

4.5, Timestamp Microseconds [ 时间戳 微秒 ]

一个 64 位有符号整数,表示数据包到达的时间,以公元 0 年 1 月 1 日午夜后的微秒为单位。

A 64-bit signed integer representing the time of packet arrival, in microseconds since midnight, January 1st, 0 AD nominal Gregorian.

为避免在计算中出现闰日歧义,请注意可使用公元 2000 年 1 月 1 日午夜的等效纪元,在此字段中表示为 0x00E03AB44A676000。

In order to avoid leap-day ambiguity in calculations, note that an equivalent epoch may be used of midnight, January 1st 2000 AD, which is represented in this field as 0x00E03AB44A676000.

4.6, Packet Data [ 数据包中的数据 ]

长度可变的字段,包含从数据链路头开始捕获的数据包。文件头的数据链路类型字段可用于确定如何解码数据链路头。数据包数据字段的长度在包含长度字段中给出。在Packet Data之后,不需要加入pad字段。但Snoop Packet Capture File Format Version 2是有的。

Variable-length field holding the packet that was captured, beginning with its datalink header. The Datalink Type field of the file header can be used to determine how to decode the datalink header. The length of the Packet Data field is given in the Included Length field.

请注意,这个字段的长度不要求四舍五入到任何特定的多八位字节边界。同样的上面的文件结构的图示中也没标注有填充部分。

Note that the length of this field in not necessarily rounded to any particular multi-octet boundary, as might otherwise be suggested by the diagram.

4.7, Data Format [ 数据格式 ]

所有整数值都按大端存储,高有效位在前。

All integer values are stored in "big-endian" order, with the high-order bits first.

===== ===== 分割线 ===== ===== 

使用举例:

比如在Android中,为了验证和调试蓝牙协议栈,在4.4版本之后,使用工具就能手动手机BTSnoop logs,其格式类似于RFC 1761中的snoop日志。这些日志会捕获主机控制器接口 (HCI) 数据包。对于大多数 Android 设备,日志存储在 data/misc/bluetooth/logs 中。

这个文件名通常是btsnoop_hci.log,抓取的就是主控芯片和蓝牙控制器之间的HCI接口的数据。

这个生成的HCI log文件,可以使用软件Wireshark进行解析,这是一个网络协议分析器。也可以使用Frontline的ComProbe软件打开进行解析。

在使用了蓝牙功能的电子设备中,在Host端,通过HCI发送和接受数据时,将数据按照Snoop文件格式存储到文件中,就生成了Btsnoop_hci日志,文件也可以自行命名。只不过Android系统里集成了这个功能,或者可以使用第三方APP来实现此功能。而有些嵌入式电子设备的蓝牙方案中,没有自带此功能的话,就需要开发者根据情况来自行实现。或者有的蓝牙方案中,有替代的方法来监听蓝牙数据。比如,TI的CC2564芯片,有一个输出log的调试端子,一个UART的TX信号,波特率是921600,不过要用TI的专用工具Logger来查看log,里面的内容更加全面。

什么是 Btsnoop_hci 日志?

btsnoop_hci 日志也称为蓝牙主机控制器接口日志,是一个日志文件,可为安全分析人员和开发人员提供蓝牙主机控制器接口数据包访问权限。启用蓝牙人机交互窥探日志后,蓝牙人机交互窥探日志会捕获这些数据包。

What Is Btsnoop_hci Log?

The btsnoop_hci log, also called the Bluetooth host controller interface, is a log file that provides security analysts and developers access to the Bluetooth host controller interface packets. When the Bluetooth HCI snoop log is enabled, the Bluetooth HCI snoop log captures these packets.

btsnoop_hci 日志是一个可访问蓝牙主机控制器接口数据包的日志文件。它的功能是存储设备上通过蓝牙发送的所有传输信息。

The btsnoop_hci log is a log that file provides access to the Bluetooth host controller interface packets. Its function stores all the transmissions sent through Bluetooth on your device.

捕获数据包后,它会将其存储到一个文件中,该文件可在设备的存储日志中访问。您还可以检索该文件,然后使用特定软件进行分析。让我们来详细了解一下 bt snoop log 的功能以及如何在设备上获取它。

After capturing them, it stores them in a file that will be accessible in the storage log of your device. You can also retrieve it and then analyze it later with particular software. Let’s get into the details of what the bt snoop log can do and how you can get it on your device.

What Is the Function of Bluetooth HCI Logs?

蓝牙HCI日志的功能是什么?

蓝牙HCI日志的功能是在设备上存储所有通过蓝牙传输的数据。如果您可以访问蓝牙HCI窥探日志,那么您一定下载了该应用程序,它可以记录手机上通过蓝牙传输和通信的数据。

The function of the Bluetooth HCI logs is to store all the transmissions sent through Bluetooth on your device. If you can access the Bluetooth HCI snoop log, then you must have downloaded the app, which logs the data on your phone through transmission and communication of Bluetooth.

数据将自动记录并备份到窥探日志中。您不必担心隐私会被侵犯。蓝牙HCI窥探日志绝不会导出您的数据。日志只会存储在你的设备中,稍后会被访问和分析。您只需知道如何访问日志即可。

The data will automatically be logged and backed up into the snoop log. You don’t need to be concerned about privacy violations or invasions. The Bluetooth HCI snoop logs will never export your data. The logs are just stored in your device, which will be accessed and analyzed later. All you have to know is how you would access the logs.

在大多数情况下,安卓设备中都有人机交互记录软件。如果您使用的是安卓 4.4 以上版本的手机,则应首先下载第三方应用程序。下载第三方应用程序的目的是帮助你记录和访问蓝牙HCI窥探记录。

In most cases, the android devices are made with HCI logging software already present in them. If you use a phone that predates android 4.4+, you should first download a third-party app. The purpose of downloading a third-party app is that it will help you log and access your Bluetooth HCI snoop logs.

What Is the HCI Log?

什么是 HCI 日志?

HCI 日志又称主机控制器接口日志,基本上是存储在系统中的记录。它记录了系统中执行的所有进程。主机控制器接口的功能是传输桥梁。

The HCI log, also called the Host controller interface log, is basically a record stored in your system. It is the record of all the processes that are performed in your system. The function of the host controller interface acts as an intermediary.

它是设备控制器和蓝牙协议栈主机元素之间的中介。它通过特定协议(包括 SPI 和 UART)在主机测试项目中实现。在较新的安卓设备中,有一个蓝牙低能耗协议栈。它的功能是以更全面的频率加快跳频。低能耗蓝牙的好处是可以限制外部干扰。

It intermediates your device’s controller and the Bluetooth protocol stack host elements. It is implemented in a host-test project through specific protocols, including the SPI and UART. In the newer android devices, there is a Bluetooth low-energy protocol stack. Its function is to speed up hops at more comprehensive frequencies. The benefit of Bluetooth low energy is that it will limit the external interference amount.

这样,低功耗蓝牙就能帮助设备轻松快速地识别附近的蓝牙频率。同时,它还能过滤掉不必要的信号。

That way, the Bluetooth low energy can help the device to easily and quickly identify the nearby Bluetooth frequencies. It will also be filtering out unnecessary signals at the same time.

这也将提高设备的安全级别,有助于防止蓝牙传输过程中的数据丢失。HCI交互接口会保留数据传输记录,以便您随时快速检查记录,发现性能问题或安全隐患。

That would also enhance the security level of your device, which will help prevent the loss of data in the transmission process of Bluetooth. The record of the data transfer is kept by the HCI so that you can quickly examine the record whenever you want to for performance problems or security risks.

How To Create Bluetooth HCI Snoop Log?

如何创建蓝牙人机交互窥探日志?

要创建蓝牙窥探日志,在访问和导出蓝牙HCI交互窥探日志之前,需要启用设备中的开发人员设置。这些设置通常不在视线范围内,因此没人能很快将其弄乱并干扰设备的内部工作。

To create a Bluetooth snoop log, you need to enable the developer settings in your device before you access and export a Bluetooth HCI snoop log. These settings are usually out of sight, so nobody can quickly mess them up and disturb their device’s inner workings.

在安卓设置中点击 7 次构建编号,即可访问开发者设置。然后,您必须遵守以下说明。

You can access the developer settings if you tap a builder number seven times in your Android settings. Then you must adhere to the instructions below.

1.首先,你需要进入设备的 "开发者 "选项。

2.然后,进入主菜单。

3.您需要找到 "启用蓝牙HCI窥探日志 "复选框。

4.找到复选框后,点击它启动日志。之后,在导出最终文件前需要再次停止。

5.最终日志将存储为名为 btsnoop_hci.log 的文件。它将存储在设备的 SD 或 USD 中。

1. First, you need to get access to the Developer options of your device.

2. After that, you need to get to the Main Menu.

3. You need to locate the checkbox that says Enable Bluetooth HCI Snoop Log.

4. After locating that checkbox, you need to click on it to start the log. After that, you need to stop that again before you export the final file.

5. The final log will be stored as a file named btsnoop_hci.log. It will be stored in your device’s SD or USD.

您需要记住,要访问该文件,您需要使用特定的网络协议分析软件。打开文件前,需要将文件重命名为 *.cap,然后通过软件进行处理。您将查看主机控制器接口协议,并分析它们是否存在安全漏洞或损坏。

You need to remember that to gain access to the file; you will need the particular network protocol analysis software. You need to rename the files to *.cap before opening them, and then you should process them through the software. You will view the host controller interface protocols and analyze them for security breaches or corruption.

Viewing HCI Logs

查看HCI logs

您将有两个选项来查看和检索 HCI 日志。它们是:

1,第一种方法是将安卓设备与台式电脑连接,然后找到存储在可挂载驱动器中的文件。这样,你就可以导出并查看蓝牙人机交互窥探日志。找到文件后,需要将其导出到第三方协议分析软件。

2,导出和视频蓝牙人机交互窥探日志的第二种方法是使用安卓设备中的调试桥接器。它已预装在设备上。要使用此技术,请遵守以下指南。

3,首先,您需要在设置中点击七次 "构建编号 "来访问 "设置"。然后在主菜单中找到调试桥接器。

4,随后,您需要将设备连接到台式电脑。

5,然后打开命令终端,运行 SDB 设备。之后,你会看到你的安卓设备出现在屏幕上的列表中。

6,最后,复制命令并粘贴到终端,调出设备的蓝牙人机交互窥探日志。

You will have two options to view and retrieve the HCI logs. Those are:

1. The first method would be connecting the android device with the desktop computer and then locating the files stored in the mountable drives. That way, you can export and view the Bluetooth HCI snoop logs. After locating the file, you need to export it to the third-party protocol analysis software.

2. The second method to export and video the Bluetooth HCI snoop logs is using the debugging bridge in your android. It comes preloaded on the device. To utilize this technique, adhere to the guidelines below.

3. First, you need to tap the builder name seven times in your settings to access the Settings. Then in the Main Menu, you need to find the Debugging Bridge.

4.Following that, you need to connect your device to the desktop computer.

5.You will then open the command terminal and run the SDB devices. After which, you will see your android device appear in the list on the screen.

6.Finally, you should copy the command and then paste that into the terminal, pulling up your device’s Bluetooth HCI snoop log.

What Is the Relation Between Wireshark Software and Bluetooth HCI Snoop Logs?

Wireshark 软件与蓝牙HCI窥探日志之间的关系是,Wireshark 软件捕获数据包,就像蓝牙HCI窥探日志一样,并将其存储起来。这些数据存储在独立的文件中,随后可以对其进行访问和分析。

The relation between Wireshark software and Bluetooth HCI snoop logs is that the Wireshark software captures the data packets like Bluetooth HCI snoop logs and stores them. The data is stored in discreet files, which can later be accessed and analyzed.

Wireshark 是使用最广泛的数据包嗅探软件。该软件的功能是:

1,它从网络连接中收集信息并进行分析。由无数数据包组成的数据流量截图会一次性生成。

2,Wireshark 软件还使用过滤器。软件使用过滤器来处理信息。这些过滤器用于缩小分析范围。首先,您要将部分信息单独列出,然后再缩小分析范围。

3,该软件可以简化复杂的信息。它可以将信息简化为每个人都能轻松理解的视觉效果。整个对话可以很容易地处理成可用的、简洁的信息。

Wireshark is the most widely used software to sniff data packets. The function of this software is:

1. It collects the information and then analyzes it from the network connection. The screenshot of the data traffic made from numerous packets is created at once.

2. The Wireshark software also uses filters. The filters are used by the software to process the information. These filters are used to narrow down the analysis. You will first single out the bits of the information, and then you can narrow down your analysis that way.

3. This software can simplify complex information. It does that by simplifying that information into visuals that everyone easily understands. The entire conversation can be easily processed into useable and clean information bits.

通过 Wireshark 软件,您可以随时潜入设备,获取内部数据。该软件非常常见,因为它比其他软件安全得多。它被许多机构、公司和企业广泛使用,因此您可以放心使用,无需担心任何安全问题。

The Wireshark software allows you to dive into your device and pull out the inner data whenever needed. This software is quite common since it is much safer than the others. It is widely used by many agencies, companies, and corporations, so you can use it without having any security concerns.

Conclusion 总结

让我们在此总结一下文章中的一些要点,以便您今后轻松记忆。

  • btsnoop_hci 日志也称为蓝牙主机控制器接口,是一个日志文件,可为安全分析师和开发人员提供访问蓝牙主机控制器接口数据包的权限。

  • 蓝牙HCI日志的功能是存储设备上通过蓝牙发送的所有传输。

  • 主机控制器接口日志记录了系统中执行的所有进程。主机控制器接口是控制器与蓝牙协议栈主机之间的中介。

  • Wireshark 软件会捕获数据包,如蓝牙HCI窥探日志,并将其存储起来。数据存储在独立的文件中,随后可以对其进行访问和分析。

  • 在大多数情况下,安卓设备中已经安装了HCI日志记录软件。如果您使用的是安卓 4.4 之前版本的手机,则应首先下载第三方应用程序来实现该功能。

Let us summarize some of the essential points from the article here so that you can easily remember them in the future.

* The btsnoop_hci log, also called the Bluetooth host controller interface, is a log file that provides security analysts and developers access to the Bluetooth host controller interface packets.

* The function of the Bluetooth HCI logs is to store all the transmissions sent through Bluetooth on your device.

* The Host controller interfaces log records of all the processes performed in your system. The host controller interface is an intermediary between the controller and the Bluetooth protocol stack host elements.

* The Wireshark software captures the data packets like Bluetooth HCI snoop logs and stores them. The data is stored in discreet files, which can later be accessed and analyzed.

* In most cases, the android devices are made with HCI logging software already present in them. If you use a phone that predates android 4.4+, you should first download a third-party app.

蓝牙 HCI 侦听日志是通过蓝牙主机控制器接口备份和发送的传输记录。这些日志存储在设备上。您可以随时使用数据分析软件(如 Wireshark 软件)导出并查看这些日志。

The Bluetooth HCI snoop logs are the transmission records backed up and sent through the Bluetooth host controller interface. These logs are stored on your device. You can always export and view these logs using data analysis software such as the Wireshark software.

参考:

1,Frontline

BT Snoop File Format

2,Positioniseverything

Btsnoop_hci Log: Different Ways to Export and View the Logs - Position Is Everything

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1444550.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

Linux(Ubuntu) 环境搭建:Nginx

注:服务器默认以root用户登录 NGINX 官方网站地址:https://nginx.org/en/NGINX 官方安装文档地址:https://nginx.org/en/docs/install.html服务器的终端中输入以下指令: # 安装 Nginx apt-get install nginx # 查看版本信息 ngi…

【算法】排序详解(快速排序,堆排序,归并排序,插入排序,希尔排序,选择排序,冒泡排序)

目录 排序的概念: 排序算法的实现: 插入排序: 希尔排序: 选择排序: 堆排序: 冒泡排序: 快速排序: 快速排序的基本框架: 1.Hoare法 2. 挖坑法 3.前后指针法 快…

【数学建模】【2024年】【第40届】【MCM/ICM】【B题 搜寻潜水器】【解题思路】

一、题目 (一)赛题原文 2024 MCM Problem A: Resource Availability and Sex Ratios Maritime Cruises Mini-Submarines (MCMS), a company based in Greece, builds submersibles capable of carrying humans to the deepest parts of the ocean. A …

基于POSCMS架构开发的素材资源网平台整站全面修复版源码

(购买本专栏可免费下载栏目内所有资源不受限制,持续发布中,需要注意的是,本专栏为批量下载专用,并无法保证某款源码或者插件绝对可用,介意不要购买) 资源简介 基于POSCMS架构开发的素材资源网平台整站全面修复版源码一键安装版 系统功能介绍 支持文章、论坛、下载、…

解决 postman测试接口报404 Not Found

JDK版本:jdk17 IDEA版本:IntelliJ IDEA 2022.1.3 文章目录 问题描述原因分析解决方案 问题描述 当我使用postman测试接口时,报了 404 Not Found 的错误,报错截图如下所示 但我的后端程序中已经定义了该接口,如下所示 …

2024给你一些Android 应用性能优化的建议

2024给你一些Android 应用性能优化的建议 在当今激烈竞争的移动应用市场中,用户对应用性能和体验的要求越来越高。因此,进行 Android 应用性能优化是开发过程中必不可少的一环。下面将详细介绍如何提升应用的性能,以提升用户体验。 1. 优化…

静态时序分析:建立时间分析

静态时序分析https://blog.csdn.net/weixin_45791458/category_12567571.html?spm1001.2014.3001.5482 在静态时序分析中,建立时间检查约束了触发器时钟引脚(时钟路径)和输入数据引脚(数据路径)之间的时序关系&#x…

EMC学习笔记(二十四)降低EMI的PCB设计指南(四)

降低EMI的PCB设计指南(四) 1.电路板分区2.信号走线2.1 电容和电感串扰2.2 天线2.3 端接和传输线2.4输入端的阻抗匹配 tips:资料主要来自网络,仅供学习使用。 1.电路板分区 电路板分区与电路板平面规划具有相同的基本含义&#x…

ubuntu22.04 安装部署04:经常死机,鼠标,键盘无响应

相关文章: ubuntu22.04 安装部署01:禁用内核更新 ubuntu22.04安装部署02:禁用显卡更新 ubuntu22.04安装部署03: 设置root密码 一、现象说明 1. 开机一小时后,突然之间网络掉线,鼠标、键盘无反应。 2.…

数据结构|对称矩阵压缩存储的下标公式推导|如何求对称矩阵压缩存储对应的一维数组下标

因为考试的时候可能会给很多情况的变式题,所以要会推导而不是背公式,情况变了,公式就不管用了。 行优先、只存储主对角线下三角区: 矩阵下标 ai,j(i>j)->一维数组下标 B[k] 按照行优先的原则,确定 ai,j 是一维数…

[word] word分割线在哪里设置 #其他#经验分享

word分割线在哪里设置 在工作中有些技巧,可以快速提高工作效率,解决大部分工作,今天给大家分享word分割线在哪里设置的小技能,希望可以帮助到你。 1、快速输入分割线 输入三个【_】按下回车就是一条长直线,同样分别…

mysql、mybatis中SORT

SORT排序 根据数据表sys_series中HOT(int类型)进行升序排列: 原来的数据库中存储: 排序# 结果是HOT字段为null的所有数据都排在最前面,不为null的数据按升序排列 SELECT * FROM sys_series ORDER BY HOT;# 结果是HOT字段为null的所有数据都排在最后面,不为null的数据按数…

逆向实战29——某度 某家号2024旋转验证码识别

前言 本文章中所有内容仅供学习交流,抓包内容、敏感网址、数据接口均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关,若有侵权,请联系我立即删除! 目标网站 aHR0cHM6Ly9hd…

springboot177健身房管理系统

简介 【毕设源码推荐 javaweb 项目】基于springbootvue 的 适用于计算机类毕业设计,课程设计参考与学习用途。仅供学习参考, 不得用于商业或者非法用途,否则,一切后果请用户自负。 看运行截图看 第五章 第四章 获取资料方式 **项…

年假作业day2

1.打印字母图形 #include<stdio.h> #include<string.h> int main(int argc, const char *argv[]) { int i,j; char k; for(i1;i<7;i) { for(j1;j<i;j) { printf("%c",_); } for(j0,…

假期day5

TCP UDP区别 共同点&#xff1a;都是属于传输层的协议 TCP&#xff1a;稳定。面向连接的&#xff0c;有可靠的数据传输服务。传输过程中数据无误&#xff0c;无丢失&#xff0c;无失序&#xff0c;无重复。传输效率低&#xff0c;耗费资源多。数据收发不同步&#xff0c;有沾…

docker核心技术

一. 从系统架构谈起 传统分层架构 vs 微服务 微服务改造 分离微服务的方法建议: 审视并发现可以分离的业务逻辑业务逻辑,在对业务领域不是特别熟悉的时候,按照部门职能进行划分,例如账号、财务等寻找天生隔离的代码模块,可以借助于静态代码分析工具如果可以闭环的解决一…

接口测试 05 -- 接口加密处理

前言 实际工作当中,涉及到接口加密时,每一个公司加密方式都是不一样的。 1. 遇到接口加密的解决方法: ① 如果是一些常用的加密,可以通过 (第三方)工具或者代码去解决。 ② 如果是开发自己封装的加密方法,核心逻辑外人是无法知道的,最好的方式让开发去协助你。提供接口去…

vue3 之 商城项目—二级分类

二级分类功能描述 配置二级路由 准备组件模版 <script setup></script><template><div class"container "><!-- 面包屑 --><div class"bread-container"><el-breadcrumb separator">"><el-bre…

fast.ai 机器学习笔记(二)

机器学习 1&#xff1a;第 5 课 原文&#xff1a;medium.com/hiromi_suenaga/machine-learning-1-lesson-5-df45f0c99618 译者&#xff1a;飞龙 协议&#xff1a;CC BY-NC-SA 4.0 来自机器学习课程的个人笔记。随着我继续复习课程以“真正”理解它&#xff0c;这些笔记将继续更…