Skip to content

Commit 9ad3286

Browse files
committed
1 parent 190e8ae commit 9ad3286

3 files changed

Lines changed: 7 additions & 3 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.3.10"
22+
VERSION = "1.2.3.11"
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)

thirdparty/colorama/winterm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ def erase_screen(self, mode=0, on_stderr=False):
128128
elif mode == 2:
129129
from_coord = win32.COORD(0, 0)
130130
cells_to_erase = cells_in_screen
131+
else:
132+
return
131133
# fill the entire screen with blanks
132134
win32.FillConsoleOutputCharacter(handle, ' ', cells_to_erase, from_coord)
133135
# now set the buffer's attributes accordingly
@@ -153,6 +155,8 @@ def erase_line(self, mode=0, on_stderr=False):
153155
elif mode == 2:
154156
from_coord = win32.COORD(0, csbi.dwCursorPosition.Y)
155157
cells_to_erase = csbi.dwSize.X
158+
else:
159+
return
156160
# fill the entire screen with blanks
157161
win32.FillConsoleOutputCharacter(handle, ' ', cells_to_erase, from_coord)
158162
# now set the buffer's attributes accordingly

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ffa5f01f39b17c8d73423acca6cfe86a lib/core/readlineng.py
4646
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49-
3e4a8bea5a0f5b2f4e1fa0c0c5baf9ee lib/core/settings.py
49+
8cf22f36f6449f4cc5fea234a9a02cbe lib/core/settings.py
5050
d0adc28a38e43a787df4471f7f027413 lib/core/shell.py
5151
63491be462c515a1a3880c27c2acc4a2 lib/core/subprocessng.py
5252
3cc852f927833895361973fbcfd156d2 lib/core/target.py
@@ -333,7 +333,7 @@ bcae4c645a737d3f0e7c96a66528ca4a thirdparty/chardet/universaldetector.py
333333
ed4d76c08741d34ac79f6488663345f7 thirdparty/colorama/initialise.py
334334
c0707ca77ccb4a2c0f12b4085057193c thirdparty/colorama/__init__.py
335335
ad3d022d4591aee80f7391248d722413 thirdparty/colorama/win32.py
336-
c690e140157d0caac5824c73688231b3 thirdparty/colorama/winterm.py
336+
cdd682cbf77137ef4253b77a95ed9bd8 thirdparty/colorama/winterm.py
337337
be7eac2e6cfb45c5e297ec5eee66e747 thirdparty/fcrypt/fcrypt.py
338338
e00542d22ffa8d8ac894c210f38454be thirdparty/fcrypt/__init__.py
339339
2f94ddd6ada38e4091e819568e7c4b7c thirdparty/gprof2dot/gprof2dot.py

0 commit comments

Comments
 (0)