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

Skip to content

Commit 4f2669a

Browse files
committed
Fixes #3030
1 parent 641838e commit 4f2669a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

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.2.4.4"
22+
VERSION = "1.2.4.5"
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)

lib/request/connect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ class _(dict):
495495
responseHeaders = {}
496496

497497
page = decodePage(page, responseHeaders.get(HTTP_HEADER.CONTENT_ENCODING), responseHeaders.get(HTTP_HEADER.CONTENT_TYPE))
498-
status = getUnicode(conn.msg) if conn else None
498+
status = getUnicode(conn.msg) if conn and getattr(conn, "msg", None) else None
499499

500500
kb.connErrorCounter = 0
501501

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ b950c8c2f2ae87ad2ec99e1d19b2c03a lib/core/option.py
4646
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49-
e761fd544a135ac76c2ca15ec9bb874c lib/core/settings.py
49+
3cb22d21169fd140938c5ecdeb209b83 lib/core/settings.py
5050
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5151
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5252
a35efa7bec9f1e6cedf17c9830a79241 lib/core/target.py
@@ -68,7 +68,7 @@ ec4e56bbb1349176b2a22e0b99ba6a55 lib/parse/payloads.py
6868
30eed3a92a04ed2c29770e1b10d39dc0 lib/request/basicauthhandler.py
6969
7e8e0a3fdebbe443832c1bab2f8d3869 lib/request/basic.py
7070
c0cabedead14b8a23353b606672cff42 lib/request/comparison.py
71-
86e8a444425006b9adba1d4e2cf66eca lib/request/connect.py
71+
18052b8924b77eb2e772350b262aae88 lib/request/connect.py
7272
dd4598675027fae99f2e2475b05986da lib/request/direct.py
7373
2044fce3f4ffa268fcfaaf63241b1e64 lib/request/dns.py
7474
eee965d781546d05f36cfd14af050913 lib/request/httpshandler.py

0 commit comments

Comments
 (0)