Skip to content
Snippets Groups Projects
Commit dfb4b1c4 authored by Phil's avatar Phil
Browse files

Moved conf initailisation for modules inside their respective modules

parent 37024097
No related branches found
No related tags found
No related merge requests found
......@@ -149,12 +149,6 @@ extensions_paths: path or list of paths where extensions are to be looked for
L2listen = None
histfile = os.path.join(os.environ["HOME"], ".scapy_history")
padding = 1
p0f_base ="/etc/p0f/p0f.fp"
queso_base ="/etc/queso.conf"
nmap_base ="/usr/share/nmap/nmap-os-fingerprints"
IPCountry_base = "GeoIPCountry4Scapy.gz"
countryLoc_base = "countryLoc.csv"
gnuplot_world = "world.dat"
except_filter = ""
debug_match = 0
wepkey = ""
......
from scapy.data import KnowledgeBase
from scapy.config import conf
conf.IPCountry_base = "GeoIPCountry4Scapy.gz"
conf.countryLoc_base = "countryLoc.csv"
conf.gnuplot_world = "world.dat"
##########################
## IP location database ##
##########################
......
from scapy.data import KnowledgeBase
from scapy.config import conf
conf.nmap_base ="/usr/share/nmap/nmap-os-fingerprints"
######################
## nmap OS fp stuff ##
######################
......
from scapy.data import KnowledgeBase
from scapy.config import conf
conf.p0f_base ="/etc/p0f/p0f.fp"
###############
## p0f stuff ##
###############
......
from scapy.data import KnowledgeBase
from scapy.config import conf
conf.queso_base ="/etc/queso.conf"
#################
## Queso stuff ##
#################
......
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