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

Skip to content

Commit 0265b3f

Browse files
committed
Second commit regarding #739
1 parent 961d2b2 commit 0265b3f

7 files changed

Lines changed: 12 additions & 11 deletions

File tree

lib/core/dicts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@
279279
"--binary": "use '--binary-fields' instead",
280280
"--auth-private": "use '--auth-file' instead",
281281
"--ignore-401": "use '--ignore-code' instead",
282+
"--second-order": "use '--second-url' instead",
282283
"--check-payload": None,
283284
"--check-waf": None,
284285
"--pickled-options": "use '--api -c ...' instead",

lib/core/optiondict.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"uChar": "string",
110110
"uFrom": "string",
111111
"dnsDomain": "string",
112-
"secondOrder": "string",
112+
"secondUrl": "string",
113113
},
114114

115115
"Fingerprint": {

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.6.22"
22+
VERSION = "1.2.6.23"
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/parse/cmdline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def cmdLineParser(argv=None):
333333
techniques.add_option("--dns-domain", dest="dnsDomain",
334334
help="Domain name used for DNS exfiltration attack")
335335

336-
techniques.add_option("--second-order", dest="secondOrder",
336+
techniques.add_option("--second-url", dest="secondUrl",
337337
help="Resulting page URL searched for second-order response")
338338

339339
# Fingerprint options

lib/request/connect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,8 +1235,8 @@ def _randomizeParameter(paramString, randomParameter):
12351235
warnMsg += "behavior in custom WAF/IPS/IDS solutions"
12361236
singleTimeWarnMessage(warnMsg)
12371237

1238-
if conf.secondOrder:
1239-
page, headers, code = Connect.getPage(url=conf.secondOrder, cookie=cookie, ua=ua, silent=silent, auxHeaders=auxHeaders, response=response, raise404=False, ignoreTimeout=timeBasedCompare, refreshing=True)
1238+
if conf.secondUrl:
1239+
page, headers, code = Connect.getPage(url=conf.secondUrl, cookie=cookie, ua=ua, silent=silent, auxHeaders=auxHeaders, response=response, raise404=False, ignoreTimeout=timeBasedCompare, refreshing=True)
12401240

12411241
threadData.lastQueryDuration = calculateDeltaSeconds(start)
12421242
threadData.lastPage = page

sqlmap.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ dnsDomain =
388388

389389
# Resulting page URL searched for second-order response
390390
# Valid: string
391-
secondOrder =
391+
secondUrl =
392392

393393

394394
[Fingerprint]

txt/checksum.md5

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@ e57bda5d5e3011b4e2d8e0a21f546e77 lib/core/common.py
3434
72016ea5c994a711a262fd64572a0fcd lib/core/datatype.py
3535
4086fb55f42e27de5330505605baad0f lib/core/decorators.py
3636
fbb55cc6100318ff922957b6577dc58f lib/core/defaults.py
37-
da98f5288aad57855c6d287ba3b397a1 lib/core/dicts.py
37+
f92abf47b2a41b75cd4b89ff0c93194c lib/core/dicts.py
3838
9ea8a043030796e6faef7f7e957729d5 lib/core/dump.py
3939
bfffdc74a93ff647c49b79c215d96d8a lib/core/enums.py
4040
cada93357a7321655927fc9625b3bfec lib/core/exception.py
4141
1e5532ede194ac9c083891c2f02bca93 lib/core/__init__.py
4242
458a194764805cd8312c14ecd4be4d1e lib/core/log.py
43-
c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
43+
262b62d685a2403586e6ca0aac2e41d8 lib/core/optiondict.py
4444
90a061be1a0658c2bdb197511b61d6fa lib/core/option.py
4545
c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4646
7cfd04e583cca782b843f6f6d973981a lib/core/profiling.py
4747
6f654e1715571eff68a0f8af3d62dcf8 lib/core/readlineng.py
4848
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51-
dd2c8c71982173660be8b77f2af0fc3e lib/core/settings.py
51+
9c986c5efbfe712c434b9372e8572a8d lib/core/settings.py
5252
0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5353
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5454
36bd2dc292c0e10e39bd9c43b77fe1bc lib/core/target.py
@@ -59,7 +59,7 @@ c40758411bb0bd68764d78e0bb72bd0f lib/core/unescaper.py
5959
e772deb63270375e685fa5a7b775c382 lib/core/wordlist.py
6060
1e5532ede194ac9c083891c2f02bca93 lib/__init__.py
6161
7620f1f4b8791e13c7184c06b5421754 lib/parse/banner.py
62-
dc7b8fef4125abb26869689b8921b195 lib/parse/cmdline.py
62+
d6ac9df0bafd0ee171380a7b0581f6d2 lib/parse/cmdline.py
6363
fb2e2f05dde98caeac6ccf3e67192177 lib/parse/configfile.py
6464
3794ff139869f5ae8e81cfdbe5714f56 lib/parse/handler.py
6565
6bab53ea9d75bc9bb8169d3e8f3f149f lib/parse/headers.py
@@ -70,7 +70,7 @@ ec4e56bbb1349176b2a22e0b99ba6a55 lib/parse/payloads.py
7070
30eed3a92a04ed2c29770e1b10d39dc0 lib/request/basicauthhandler.py
7171
2b81435f5a7519298c15c724e3194a0d lib/request/basic.py
7272
c0cabedead14b8a23353b606672cff42 lib/request/comparison.py
73-
8500dfaccd8ac4a6eecbca266f6327c9 lib/request/connect.py
73+
60c9d366d0f2173d8dc9f504a7e9d374 lib/request/connect.py
7474
dd4598675027fae99f2e2475b05986da lib/request/direct.py
7575
2044fce3f4ffa268fcfaaf63241b1e64 lib/request/dns.py
7676
98535d0efca5551e712fcc4b34a3f772 lib/request/httpshandler.py

0 commit comments

Comments
 (0)