Config dumped independently. Responder-Session.log is now a clean file.

This commit is contained in:
lgandx 2016-09-11 23:03:50 -03:00
parent 35d933d596
commit 92c9191bda
2 changed files with 7 additions and 8 deletions

View file

@ -130,6 +130,10 @@ def WriteData(outfile, data, user):
with open(outfile,"a") as outf2:
outf2.write(data + '\n')
# Function used to write debug config and network info.
def DumpConfig(outfile, data):
with open(outfile,"a") as dump:
dump.write(data + '\n')
def SaveToDb(result):
# Creating the DB if it doesn't exist