# Networking Custom Packet

## Using nmap to send custom packets

`sudo nmap anir0y.com --data-string "dead beef"`

\`sudo nmap {host} --data-string "{string}"

| args   | details             |
| ------ | ------------------- |
| host   | hostname/IP to scan |
| string | custom strings      |

## IP spoofing using HPING3

Command: `hping3 anir0y.in -a 1.2.3.4`

`hping3 {host} -a {src_IP}`

| args        | details           |
| ----------- | ----------------- |
| `anir0y.in` | is the host       |
| `-a`        | args for spoofing |
| 1.2.3.4     | spoofed source IP |
