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

Skip to content

Commit 2a01de3

Browse files
committed
Minor bug fix to correctly dump table entries when the column is provided
1 parent be599d5 commit 2a01de3

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

doc/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
sqlmap (0.6.3-1) stable; urgency=low
2+
3+
* Minor bug fix to correctly dump table entries when the column is
4+
provided;
5+
6+
-- Bernardo Damele A. G. <[email protected]> Day, X YYY 2008 10:00:00 +0000
7+
8+
19
sqlmap (0.6.2-1) stable; urgency=low
210

311
* Major bug fix to correctly dump tables entries when --stop is not

doc/THANKS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Stefano Di Paola <[email protected]>
1515
Adam Faheem <[email protected]>
1616
for reporting a few bugs
1717

18+
JimForster <[email protected]>
19+
for reporting a bug
20+
1821
Rong-En Fan <[email protected]>
1922
for commiting the sqlmap 0.5 port to the official FreeBSD project
2023
repository

plugins/generic/enumeration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -824,6 +824,7 @@ def dumpTable(self):
824824
rootQuery = queries[kb.dbms].dumpTable
825825

826826
if conf.col:
827+
colList = conf.col.split(",")
827828
self.cachedColumns[conf.db] = {}
828829
self.cachedColumns[conf.db][conf.tbl] = {}
829830
for column in colList:
@@ -842,8 +843,6 @@ def dumpTable(self):
842843

843844
logMsg = "fetching"
844845
if conf.col:
845-
colList = conf.col.split(",")
846-
colString = ", ".join(column for column in colList)
847846
logMsg += " columns '%s'" % colString
848847
logMsg += " entries for table '%s'" % conf.tbl
849848
logMsg += " on database '%s'" % conf.db

0 commit comments

Comments
 (0)