File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,8 +38,11 @@ def searchDb(self):
3838
3939 def getColumns (self , onlyColNames = False ):
4040 if not conf .tbl :
41- errMsg = "missing table parameter"
42- raise sqlmapMissingMandatoryOptionException , errMsg
41+ warnMsg = "missing table parameter, sqlmap will enumerate "
42+ warnMsg += "the whole database management system schema"
43+ logger .warn (warnMsg )
44+
45+ return self .getSchema ()
4346
4447 if "." in conf .tbl :
4548 conf .db , conf .tbl = conf .tbl .split ("." )
Original file line number Diff line number Diff line change @@ -48,8 +48,11 @@ def getUsers(self):
4848
4949 def getColumns (self , onlyColNames = False ):
5050 if not conf .tbl :
51- errMsg = "missing table parameter"
52- raise sqlmapMissingMandatoryOptionException , errMsg
51+ warnMsg = "missing table parameter, sqlmap will enumerate "
52+ warnMsg += "the whole database management system schema"
53+ logger .warn (warnMsg )
54+
55+ return self .getSchema ()
5356
5457 if "." in conf .tbl :
5558 conf .db , conf .tbl = conf .tbl .split ("." )
You can’t perform that action at this time.
0 commit comments