small change
This commit is contained in:
parent
a4f3336d7d
commit
f7962edfa9
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ from struct import pack
|
|||
def send_arp_packet():
|
||||
src_mac = b'\x00\x11\x22\x33\x44\x55' # Source MAC address
|
||||
dst_ip = "192.168.1.1" # Destination IP address
|
||||
src_ip = "192.168.1.69"
|
||||
|
||||
# Craft the ARP request packet
|
||||
arp_packet = b'\xff\xff\xff\xff\xff\xff' # Destination MAC address (broadcast)
|
||||
|
|
|
@ -27,4 +27,5 @@ def listen_for_packets():
|
|||
|
||||
if __name__ == "__main__":
|
||||
# Start listening for packets
|
||||
print("Listening...")
|
||||
listen_for_packets()
|
||||
|
|
Loading…
Reference in a new issue