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

Skip to content

Commit ccda26a

Browse files
committed
Minor commit regarding #739
1 parent 099110b commit ccda26a

6 files changed

Lines changed: 20 additions & 10 deletions

File tree

lib/core/optiondict.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
"uFrom": "string",
111111
"dnsDomain": "string",
112112
"secondUrl": "string",
113+
"secondReq": "string",
113114
},
114115

115116
"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.24"
22+
VERSION = "1.2.6.25"
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,9 @@ def cmdLineParser(argv=None):
336336
techniques.add_option("--second-url", dest="secondUrl",
337337
help="Resulting page URL searched for second-order response")
338338

339+
techniques.add_option("--second-req", dest="secondReq",
340+
help="Load second-order HTTP request from file")
341+
339342
# Fingerprint options
340343
fingerprint = OptionGroup(parser, "Fingerprint")
341344

lib/request/connect.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,6 +1237,8 @@ def _randomizeParameter(paramString, randomParameter):
12371237

12381238
if conf.secondUrl:
12391239
page, headers, code = Connect.getPage(url=conf.secondUrl, cookie=cookie, ua=ua, silent=silent, auxHeaders=auxHeaders, response=response, raise404=False, ignoreTimeout=timeBasedCompare, refreshing=True)
1240+
elif conf.secondReq:
1241+
pass
12401242

12411243
threadData.lastQueryDuration = calculateDeltaSeconds(start)
12421244
threadData.lastPage = page

sqlmap.conf

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,29 +367,33 @@ tech = BEUSTQ
367367
# Default: 5
368368
timeSec = 5
369369

370-
# Range of columns to test for
370+
# Range of columns to test for.
371371
# Valid: range of integers
372372
# Example: 1-10
373373
uCols =
374374

375-
# Character to use for bruteforcing number of columns
375+
# Character to use for bruteforcing number of columns.
376376
# Valid: string
377377
# Example: NULL
378378
uChar =
379379

380-
# Table to use in FROM part of UNION query SQL injection
380+
# Table to use in FROM part of UNION query SQL injection.
381381
# Valid: string
382382
# Example: INFORMATION_SCHEMA.COLLATIONS
383383
uFrom =
384384

385-
# Domain name used for DNS exfiltration attack
385+
# Domain name used for DNS exfiltration attack.
386386
# Valid: string
387387
dnsDomain =
388388

389-
# Resulting page URL searched for second-order response
389+
# Resulting page URL searched for second-order response.
390390
# Valid: string
391391
secondUrl =
392392

393+
# Load second-order HTTP request from file.
394+
# Valid: string
395+
secondReq =
396+
393397

394398
[Fingerprint]
395399

txt/checksum.md5

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ bfffdc74a93ff647c49b79c215d96d8a lib/core/enums.py
4040
cada93357a7321655927fc9625b3bfec lib/core/exception.py
4141
1e5532ede194ac9c083891c2f02bca93 lib/core/__init__.py
4242
458a194764805cd8312c14ecd4be4d1e lib/core/log.py
43-
262b62d685a2403586e6ca0aac2e41d8 lib/core/optiondict.py
43+
e9e32e5afe49ecd644b3a0ca9c9a36fc 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-
b78d172e50095c1d6612ed52b4c79a6b lib/core/settings.py
51+
dc0d040df74bdf0d6a08f41d412b76e7 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-
d6ac9df0bafd0ee171380a7b0581f6d2 lib/parse/cmdline.py
62+
2b3b021a8e7e119d0553c02b110d07d9 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-
60c9d366d0f2173d8dc9f504a7e9d374 lib/request/connect.py
73+
607419fd07bcabc274782dbc7b238e8b 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)