Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cfe9fb4

Browse files
committed
Fixes #4301
1 parent 7a55c9c commit cfe9fb4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.8.4"
21+
VERSION = "1.4.8.5"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/takeover/registry.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
import os
99

10+
from lib.core.common import openFile
1011
from lib.core.common import randomStr
1112
from lib.core.data import conf
1213
from lib.core.data import logger
@@ -48,7 +49,7 @@ def _initVars(self, regKey, regValue, regType=None, regData=None, parse=False):
4849
)
4950

5051
def _createLocalBatchFile(self):
51-
self._batPathFp = open(self._batPathLocal, "w")
52+
self._batPathFp = openFile(self._batPathLocal, "w")
5253

5354
if self._operation == REGISTRY_OPERATION.READ:
5455
lines = self._batRead

0 commit comments

Comments
 (0)