diff --git a/scapy/config.py b/scapy/config.py index 59a37ac6f31dd82cb641bc8fb461a325fa469492..c7c425012ec033c10cf62886b2ac9d3a2d4a7e15 100644 --- a/scapy/config.py +++ b/scapy/config.py @@ -13,7 +13,7 @@ class ConfClass: def __repr__(self): return str(self) def __str__(self): - s="Version = %s\n" % VERSION + s="" keys = self.__class__.__dict__.copy() keys.update(self.__dict__) keys = keys.keys() @@ -120,6 +120,7 @@ noenum : holds list of enum fields for which conversion to string should NOT AS_resolver: choose the AS resolver class to use extensions_paths: path or list of paths where extensions are to be looked for """ + version = "2.0.0.1 alpha" session = "" stealth = "not implemented" iface = get_working_if() diff --git a/scapy/main.py b/scapy/main.py index 71ab1dc22f24b10db1f4d7cfb2981a3cae22ee70..fbcc32f5d1ca7e27a429ab9450206ba5b5f854d0 100644 --- a/scapy/main.py +++ b/scapy/main.py @@ -2,8 +2,6 @@ from __future__ import generators import os,sys -VERSION = "1.2.0.2" - DEFAULT_CONFIG_FILE = os.path.join(os.environ["HOME"], ".scapy_startup.py") try: @@ -237,7 +235,7 @@ def interact(mydict=None,argv=None,mybanner=None,loglevel=1): atexit.register(scapy_write_history_file,readline) sys.ps1 = ColorPrompt() - code.interact(banner = the_banner % (VERSION), local=session) + code.interact(banner = the_banner % (conf.version), local=session) if conf.session: save_session(conf.session, session)