mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-05-17 22:20:28 -04:00
clean up
This commit is contained in:
parent
f5a0f7393a
commit
e9b6619dcc
10 changed files with 13 additions and 15 deletions
|
@ -38,7 +38,7 @@ The basic unit in a network communication is the *packet*. So let's create one
|
|||
|
||||
Scapy builds packets by the *layers* and then by the *fields* in each layer. Each layer is nested inside the parent layer, represented by the **<** and **>** brackets.
|
||||
|
||||
Let's start by specifying the packet's source IP and then its destination IP. This type of information goes in the **IP header**, which is a *layer 3 protocol* in the [0SI model](http://https://singularity-sh.vercel.app/wiresharking-for-fun-or-profit.html):
|
||||
Let's start by specifying the packet's source IP and then its destination IP. This type of information goes in the **IP header**, which is a *layer 3 protocol* in the 0SI model.
|
||||
|
||||
```python
|
||||
>>> ip = IP(src="192.168.1.114")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue