We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3d52d0 commit b3ca91bCopy full SHA for b3ca91b
datasploit_config.py
@@ -5,6 +5,9 @@
5
def edit():
6
config_path = os.path.dirname(__file__)
7
config_file = "%s/config.py" % config_path
8
+ if not os.path.exists(config_file):
9
+ print "[+] Looks like a new setup, setting up the config file."
10
+ os.rename("%s/config_sample.py" % config_path, config_file)
11
fh = open(config_file)
12
config = fh.read()
13
fh.close()
0 commit comments