From 9695042ac39892c260696f8cd7f3319e0519abbb Mon Sep 17 00:00:00 2001 From: wez3 Date: Thu, 12 Jul 2018 13:44:45 +0200 Subject: [PATCH] Fix msfenum.log path --- msfenum.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 msfenum.py diff --git a/msfenum.py b/msfenum.py old mode 100644 new mode 100755 index 5ff01b0..bc93cd3 --- a/msfenum.py +++ b/msfenum.py @@ -179,7 +179,7 @@ def ascii(): if __name__ == '__main__': # Define logger settings currentPath = path.dirname(path.abspath(__file__)) - logfile= "msfenum.log" + logfile= "{}/msfenum.log".format(currentPath) logging.basicConfig(filename=logfile, level=logging.DEBUG) log = logging.getLogger() handler = logging.StreamHandler()