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

Skip to content

Commit c1010c2

Browse files
committed
Minor adjustments
1 parent a4d62af commit c1010c2

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

doc/ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ sqlmap (0.6.4-1) stable; urgency=low
1616
* Added internal support to forge CASE statements, used only by --is-dba
1717
query at the moment;
1818
* Minor layout adjustment to the --update output;
19+
* Increased default timeout to 30 seconds;
1920
* Major bug fix to avoid tracebacks when multiple targets are specified
2021
and one of them is not reachable;
2122
* Minor bug fix to make the Partial UNION query SQL injection technique
2223
work properly also on Oracle and Microsoft SQL Server;
2324
* Minor bug fix to make the --postfix work even if --prefix is not
2425
provided;
26+
* Updated documentation.
2527

2628
-- Bernardo Damele A. G. <[email protected]> Day, DD MMM 2009 10:00:00 +0000
2729

lib/core/session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def setDbms(dbms):
129129

130130
kb.dbms = dbms
131131

132+
logger.info("the back-end DBMS is %s" % kb.dbms)
133+
132134

133135
def setUnion(comment=None, count=None, position=None):
134136
"""

plugins/dbms/mysql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def checkDbms(self):
257257
logMsg = "confirming MySQL"
258258
logger.info(logMsg)
259259

260-
payload = agent.fullPayload(" AND CONCAT('%s', '%s')='%s%s'" % (randInt, randInt, randInt, randInt))
260+
payload = agent.fullPayload(" AND ISNULL(1/0)")
261261
result = Request.queryPage(payload)
262262

263263
if result != True:

0 commit comments

Comments
 (0)