From 68e98704e211df47df44e310c953cb8f566c245a Mon Sep 17 00:00:00 2001 From: byt3bl33d3r Date: Tue, 28 Jul 2015 05:11:15 +0200 Subject: [PATCH] indent and highlighting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ff6741..4f0fc07 100644 --- a/README.md +++ b/README.md @@ -47,11 +47,11 @@ You can now modify any packet/protocol that gets intercepted by MITMf using Scap For example, here's a stupid little filter that just changes the destination IP address of ICMP packets: -``` +```python if packet.haslayer(ICMP): packet.dst = '192.168.1.0' - ``` + - Use the ```packet``` variable to access the packet in a Scapy compatible format - Use the ```data``` variable to access the raw packet data