Skip to content
Snippets Groups Projects
Commit 90a3793e authored by iliya's avatar iliya
Browse files

fix: imgs not being loaded

parent 4e759c9b
No related branches found
No related tags found
No related merge requests found
......@@ -319,11 +319,42 @@ fois-ci avec succès.
S1(config-if)#exit
```
![H1 est atteignable depuis `kali-linux-1`](../figs/h1_from_kali_reachable.png){width=80%}
![H1 est atteignable depuis `kali-linux-1`](../figs/h1_from_kali_reachable.png)
### Double tagging `Scapy`
Ci-dessous se trouve le script grâce auquel nous pourrons effectuer une par
_double-tagging_.
```python
from scapy.all import *
sendp(Ether(dst='ff:ff:ff:ff:ff:ff', src='00:01:02:03:04:05')/ \
Dot1Q(vlan=1)/Dot1Q(vlan=100)/ \
IP(dst='10.0.0.1', src='10.0.0.3')/ICMP(),iface="eth0")
```
Premièrement il faut enlever l'interface `GigabitEthernet 0/3` de S1 du VLAN 100 :
```
=============== Gi0/3 ================
S1(config)#interface GigabitEthernet 0/3
S1(config-if)#no switchport access vlan 100
S1(config-if)#no shut
S1(config-if)#exit
```
Puis il est nécessaire de retirer l'adresse IP attribué à `kali-linux-1` sur
l'interface `eth0` :
```bash
sudo ip addr del 10.0.0.3/24 dev eth0
```
### Double tagging `iproute2`
### Sécurisation des switches
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment