Jump to content

Crafting packets using Scapy


Recommended Posts

Hey, I'm really new to Scapy, and I'm trying to code an ARP Poisoning project using Python.
In order to do that, I want to create my own ARP packets using Scapy.
Unfortunately, I feel lost, I don't know where to start from, I'm not sure which layers to create in my packet and in what order, what are the required parameters to insert in each layer, etc...
Therefore, I would be glad to get a brief explanation about how to create ARP packets, or recommendation for a tutorial / guide / way to cover this subject.

In addition, I'm trying to use ARP Ping in order to scan all of the devices which are up in my LAN, but when I do so using:


it sends only 1 packet (instead of 256, as I suppose it should do) without response. I will appreciate any help with it too.

Thanks in advance!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...