diff --git a/datasploit_config.py b/datasploit_config.py index 84c7d521..4602dbb4 100755 --- a/datasploit_config.py +++ b/datasploit_config.py @@ -5,6 +5,9 @@ def edit(): config_path = os.path.dirname(__file__) config_file = "%s/config.py" % config_path + if not os.path.exists(config_file): + print "[+] Looks like a new setup, setting up the config file." + os.rename("%s/config_sample.py" % config_path, config_file) fh = open(config_file) config = fh.read() fh.close()