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

Skip to content

Commit c8a0c52

Browse files
committed
Fixes #2489
1 parent 46c7c28 commit c8a0c52

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

lib/controller/controller.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,13 @@ def start():
334334
continue
335335

336336
message += "\ndo you want to test this form? [Y/n/q] "
337+
choice = readInput(message, default='Y').strip().upper()
337338

338-
if readInput(message, default='Y', boolean=True):
339+
if choice == 'N':
340+
continue
341+
elif choice == 'Q':
342+
break
343+
else:
339344
if conf.method != HTTPMETHOD.GET:
340345
message = "Edit %s data [default: %s]%s: " % (conf.method, urlencode(conf.data) if conf.data else "None", " (Warning: blank fields detected)" if conf.data and extractRegexResult(EMPTY_FORM_FIELDS_REGEX, conf.data) else "")
341346
conf.data = readInput(message, default=conf.data)
@@ -353,11 +358,6 @@ def start():
353358

354359
parseTargetUrl()
355360

356-
elif test[0] in ("n", "N"):
357-
continue
358-
elif test[0] in ("q", "Q"):
359-
break
360-
361361
else:
362362
message += "\ndo you want to test this URL? [Y/n/q]"
363363
choice = readInput(message, default='Y').strip().upper()

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.4.36"
22+
VERSION = "1.1.4.37"
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
@@ -22,7 +22,7 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32.
2222
7713aa366c983cdf1f3dbaa7383ea9e1 extra/sqlharvest/sqlharvest.py
2323
7afe836fd97271ccba67b4c0da2482ff lib/controller/action.py
2424
21c79cf1a79b61c6d90f9bd249f71584 lib/controller/checks.py
25-
fc89abe14a48b8232feba692bde992be lib/controller/controller.py
25+
adf62498f7f8c8f9af48350d3591e404 lib/controller/controller.py
2626
52a3969f57170e935e3fc0156335bf2c lib/controller/handler.py
2727
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
2828
d3b4e1139bf117fe4cf6451d43d8253c lib/core/agent.py
@@ -46,7 +46,7 @@ ede9841e7cbbe841f41588f149e85789 lib/core/option.py
4646
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4848
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49-
6db254c2297d4b1d77e2a6d8f690f7d0 lib/core/settings.py
49+
73759e4a4c8395f11e8323a1c6f8dd11 lib/core/settings.py
5050
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5151
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252
92e35ddfdf0e9676dd51565bcf4fa5cf lib/core/target.py

0 commit comments

Comments
 (0)