hello,
it's not pure Python question but I did all the code except the last part , and I can't understand what to do :
this is what I need to do:
I wrote the all code except the last part of the checksum (can't see mto understand the logic of it)
this is an example
The sequence of IE codes 01:32:03:2D:7F:6B:DD
Length of each IE in hexadecimal 04:08:01:26:08:07:11
Values of each IE in hexadecimal 27:9E:06:86:C0:09:18
and from this I need to get this 6 byte mini footprint:
25:3E:12:FF:5D:4E
how to get this?
** I can only assume there is no mistake in the article I read
Thanks ,
it's not pure Python question but I did all the code except the last part , and I can't understand what to do :
this is what I need to do:
Quote:First, a 6-byte footprint is initialized to zero (00: 00: 00: 00: 00: 00).
The IEs of eachWi-Fi probe are analyzed.
Once the IEs of theWi-Fi probe are checked (avoiding using the ESSID, since it is always present and can be highly variable due to the
fact that the same device can ask for several networks in a small period of time), a mini footprint is calculated.
This mini footprint is a 1-byte value calculated as the checksum of the bytes contained in the analyzed IE.
For those IEs that present highly variable values between probes issued from the same device, e.g., IE_DS_PARAM or IR_EXT_CAP, the
mini footprint is calculated as the code of the IE itself (0x03 for IE_DS_PARAM, 0x7F for IE_EXT_CAP, etc.).
Sequentially, each time a mini footprint is obtained, its value is added
to that of the content of the next byte of the footprint, and the mask 0xFF is applied to it. If
the number of mini footprints is greater than 6, it begins again with the first element of the
footprint, and so on.
I wrote the all code except the last part of the checksum (can't see mto understand the logic of it)
this is an example
The sequence of IE codes 01:32:03:2D:7F:6B:DD
Length of each IE in hexadecimal 04:08:01:26:08:07:11
Values of each IE in hexadecimal 27:9E:06:86:C0:09:18
and from this I need to get this 6 byte mini footprint:
25:3E:12:FF:5D:4E
how to get this?
** I can only assume there is no mistake in the article I read
Thanks ,