File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -507,26 +507,26 @@ def getFields(self, query):
507507 if fieldsSubstr :
508508 fieldsToCastStr = query
509509 elif fieldsMinMaxstr :
510- fieldsToCastStr = fieldsMinMaxstr .groups ()[ 0 ]
510+ fieldsToCastStr = fieldsMinMaxstr .group ( 1 )
511511 elif fieldsExists :
512512 if fieldsSelect :
513- fieldsToCastStr = fieldsSelect .groups ()[ 0 ]
513+ fieldsToCastStr = fieldsSelect .group ( 1 )
514514 elif fieldsSelectTop :
515- fieldsToCastStr = fieldsSelectTop .groups ()[ 0 ]
515+ fieldsToCastStr = fieldsSelectTop .group ( 1 )
516516 elif fieldsSelectRownum :
517- fieldsToCastStr = fieldsSelectRownum .groups ()[ 0 ]
517+ fieldsToCastStr = fieldsSelectRownum .group ( 1 )
518518 elif fieldsSelectDistinct :
519519 if Backend .getDbms () in (DBMS .HSQLDB ,):
520520 fieldsToCastStr = fieldsNoSelect
521521 else :
522- fieldsToCastStr = fieldsSelectDistinct .groups ()[ 0 ]
522+ fieldsToCastStr = fieldsSelectDistinct .group ( 1 )
523523 elif fieldsSelectCase :
524- fieldsToCastStr = fieldsSelectCase .groups ()[ 0 ]
524+ fieldsToCastStr = fieldsSelectCase .group ( 1 )
525525 elif fieldsSelectFrom :
526526 fieldsToCastStr = query [:unArrayizeValue (_ )] if _ else query
527527 fieldsToCastStr = re .sub (r"\ASELECT%s\s+" % prefixRegex , "" , fieldsToCastStr )
528528 elif fieldsSelect :
529- fieldsToCastStr = fieldsSelect .groups ()[ 0 ]
529+ fieldsToCastStr = fieldsSelect .group ( 1 )
530530
531531 # Function
532532 if re .search ("\A\w+\(.*\)" , fieldsToCastStr , re .I ) or (fieldsSelectCase and "WHEN use" not in query ) or fieldsSubstr :
Original file line number Diff line number Diff line change 1919from lib .core .revision import getRevisionNumber
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.9.25 "
22+ VERSION = "1.0.9.26 "
2323REVISION = getRevisionNumber ()
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ cc9c82cfffd8ee9b25ba3af6284f057e extra/sqlharvest/__init__.py
24247c5ba631796f12d6de9b667e4cc7812b lib/controller/controller.py
25250a64305c3b3a01a2fc3a5e6204f442f1 lib/controller/handler.py
2626cc9c82cfffd8ee9b25ba3af6284f057e lib/controller/__init__.py
27- ac60b40a705f806562e6e4f761fb0ecc lib/core/agent.py
27+ ed9303846f0bc63a9c518a7164301f80 lib/core/agent.py
2828eb0bd28b0bd9fbf67dcc3119116df377 lib/core/bigarray.py
2929d11993cd69f919216a9e4d54c77bb020 lib/core/common.py
30305680d0c446a3bed5c0f2a0402d031557 lib/core/convert.py
@@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45455ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- 30b65f0e46bb9b05e02863d1bb386925 lib/core/settings.py
48+ 31410f210c5fb551a3dbfa7d8e64c013 lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
51510bc2fae1dec18cdd11954b22358293f2 lib/core/target.py
You can’t perform that action at this time.
0 commit comments