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

Update S1G beacon parsing based on code review. #4

Merged
merged 9 commits into from
Jul 19, 2024

Conversation

rkinder2023
Copy link
Owner

Updates to the change for parsing S1G beacon frames:

  • Use a set for 'type in' checks for extension S1G beacon frames.
  • Update frame control field parsing to use combination of FlagsField and BitField to properly extract the 'bw' component of the S1G Beacon Frame Control field.
  • Unit test updated to check for the newly named fields.

Fixes secdev#4439

rkinder2023 and others added 8 commits July 12, 2024 09:10
 - Includes unit test parsing and confirming an S1G beacon
 - Includes support for the new Frame Control format for type=3,
   subtype=1 (S1G beacon)
 - Includes changes to support addressing used in S1G beacon.

All dot11 unit tests pass with this change.
 - Use set for 'type in' checks for extension frame type 3, subtype 1
   (S1G beacon).
beacon frame control field). This allows use of BitField for the 'bw',
and FlagsField for the remaining bits.
Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

@@           Coverage Diff           @@
##           master       #4   +/-   ##
=======================================
  Coverage   80.77%   80.77%           
=======================================
  Files         355      355           
  Lines       84709    84709           
=======================================
  Hits        68425    68425           
  Misses      16284    16284           
Files Coverage Δ
scapy/layers/dot11.py 91.48% <ø> (ø)

... and 3 files with indirect coverage changes

@rkinder2023 rkinder2023 merged commit 59b7330 into master Jul 19, 2024
22 checks passed
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

Successfully merging this pull request may close these issues.

Add support for S1G beacon to dot11
1 participant