-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf_steg.py
More file actions
36 lines (25 loc) · 766 Bytes
/
conf_steg.py
File metadata and controls
36 lines (25 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /usr/bin/python
# CANONICAL SCENARIO
DESCRIPTION = "Filters : level 4 ICMP, level 3 destination 8.8.8.8.\nCraft : IP."
# LEVEL 2 FILTERS
#F_NIV2 = "Ethernet" # not implemented yet
# LEVEL 3 FILTERS
NIV3_DICT = {"":"0000","IP":"0800","ARP":"0806"}
F_NIV3 = ""
PROTO3 = NIV3_DICT[F_NIV3] # a supprimer et remplacer par NIV3_DICT[F_NIV3] directement ?
F_NIV3_SRC = "" # "" is an equivalent to 0.0.0.0 that will automatically bypass
F_NIV3_DST = "8.8.8.8"
# F_NIV3_STATE
# LEVEL 4 FILTERS
NIV4_DICT = {"":"00","ICMP":"01","TCP":"06","UDP":"11"}
F_NIV4 = "ICMP"
PROTO4 = NIV4_DICT[F_NIV4]
F_NIV4_SRC = ""
F_NIV4_DST = ""
# F_NIV4_STATE
# LEVEL 5 FILTERS
# F_NIV5_STATE, F_NIV5
# STEGOSYSTEME
STEG_ENGINE_IS_ON = True
F_NIV3_STEG = True
F_NIV4_STEG = False