mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-29 19:28:29 -07:00
updated filter explanation
This commit is contained in:
parent
68e98704e2
commit
39aa7473ad
1 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,7 @@ For example, here's a stupid little filter that just changes the destination IP
|
||||||
|
|
||||||
```python
|
```python
|
||||||
if packet.haslayer(ICMP):
|
if packet.haslayer(ICMP):
|
||||||
|
log.info('Got an ICMP packet!')
|
||||||
packet.dst = '192.168.1.0'
|
packet.dst = '192.168.1.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -59,6 +60,8 @@ Now to use the filter all we need to do is: ```python mitmf.py -F ~/filter.py```
|
||||||
|
|
||||||
You will probably want to combine that with the **Spoof** plugin to actually intercept packets from someone else ;)
|
You will probably want to combine that with the **Spoof** plugin to actually intercept packets from someone else ;)
|
||||||
|
|
||||||
|
**Note**: you can modify filters on-the-fly without restarting MITMf!
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
========
|
========
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue