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

Skip to content

Commit a6c04a5

Browse files
committed
Minor update
1 parent 53eb443 commit a6c04a5

3 files changed

Lines changed: 7 additions & 5 deletions

File tree

lib/core/common.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,8 @@ def checkFile(filename, raiseOnError=True):
11391139

11401140
valid = True
11411141

1142-
filename = filename.strip('"\'')
1142+
if filename:
1143+
filename = filename.strip('"\'')
11431144

11441145
try:
11451146
if filename is None or not os.path.isfile(filename):
@@ -2123,7 +2124,8 @@ def getFileItems(filename, commentPrefix='#', unicode_=True, lowercase=False, un
21232124

21242125
retVal = list() if not unique else OrderedDict()
21252126

2126-
filename = filename.strip('"\'')
2127+
if filename:
2128+
filename = filename.strip('"\'')
21272129

21282130
checkFile(filename)
21292131

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

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

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ a66093c734c7f94ecdf94d882c2d8b89 lib/controller/controller.py
2727
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
2828
ca0a4eba91d73c9d7adedabf528ca4f1 lib/core/agent.py
2929
6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
30-
23aace48c5c8c4f0d7432ddce0b15abf lib/core/common.py
30+
d7efe9cd474162b9ef0875ed83a8fd0f lib/core/common.py
3131
5065a4242a8cccf72f91e22e1007ae63 lib/core/convert.py
3232
a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
3333
7936d78b1a7f1f008ff92bf2f88574ba lib/core/datatype.py
@@ -46,7 +46,7 @@ a44d7a4cc6c9a67a72d6af2f25f4ddac lib/core/exception.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
3ee3f63b52ad369f400cc4a0a9aade53 lib/core/settings.py
49+
b1572cb13eca4ff0900904cabdc432e7 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
4a6ecdd8a6e44bb4737bd9bc7f9b5743 lib/core/target.py

0 commit comments

Comments
 (0)